Function at 0x47f598
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a5e16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
mov dword [esp + 0x120], ebx
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x120], 1
call fcn.004b3b78
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 2
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x108]
mov byte [esp + 0x120], 3
call fcn.004b3b78
lea ecx, [esp + 0x4c]
mov byte [esp + 0x11c], 4
call fcn.004af1d8
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.0050d46e
push ebx
lea ecx, [esp + 0x128]
mov byte [esp + 0x120], 6
call fcn.0050d492
mov esi, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x18], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call dword [fcn.004b4614]
test al, al
je 0x47f691
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x28]
push 1
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x128], 7
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x11c], 6
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x47f6e2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47f6d9
cmp al, 0xff
je 0x47f6d9
dec al
mov byte [ecx], al
jmp 0x47f6e2
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x128]
call fcn.0050d48c
cmp esi, ebx
je 0x47fbe6
lea ecx, [esp + 0x28]
call fcn.004b4318
cmp eax, 6
jne 0x47fbe6
mov esi, dword [esp + 0x128]
mov eax, dword [esi]
cmp eax, ebx
je 0x47f739
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x46ce60
push ecx
push 0x10
push eax
call fcn.0050db32
push edi
call fcn.0050d474
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.004b4e58
test eax, eax
jbe 0x47f7ae
push ebp
lea ecx, [esp + 0x2c]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x3c]
call fcn.004b4218
push 0x4d0d34
lea ecx, [esp + 0x3c]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
push 0x4d0b08
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esi + 4]
add esp, 4
cmp edi, ecx
jbe 0x47f7a0
cmp edi, 0x64
jae 0x47f7a0
cmp eax, 3
jne 0x47f7a0
mov dword [esi + 4], edi
lea ecx, [esp + 0x28]
inc ebp
call fcn.004b4e58
cmp ebp, eax
jb 0x47f748
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x47fb02
lea edi, [eax + 1]
mov edx, edi
mov dword [esi + 4], edi
shl edx, 4
add edx, 4
push edx
call fcn.0050d486
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebx
mov byte [esp + 0x11c], 0xb
je 0x47f7fa
push 0x46ce60
push 0x46ce50
lea ebp, [eax + 4]
push edi
push 0x10
push ebp
mov dword [eax], edi
call fcn.0050dc26
jmp 0x47f7fc
xor ebp, ebp
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + 0x11c], 6
mov dword [esi], ebp
jle 0x47f82d
xor eax, eax
mov edx, dword [esi]
inc ecx
mov dword [edx + eax], ebx
mov edx, dword [esi]
mov dword [edx + eax + 8], ebx
mov edx, dword [esi]
mov dword [edx + eax + 0xc], ebx
mov edx, dword [esi + 4]
add eax, 0x10
cmp ecx, edx
jl 0x47f811
lea ecx, [esp + 0x28]
xor ebp, ebp
call fcn.004b4e58
test eax, eax
jbe 0x47f90d
mov bl, 0xf
push ebp
lea ecx, [esp + 0x2c]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x3c]
call fcn.004b4218
push 0x4d0d34
lea ecx, [esp + 0x3c]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
push 0x4d0b08
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
cmp edi, 0x64
jae 0x47f8f9
cmp eax, 3
jne 0x47f8f9
mov eax, dword [esi]
push 0x4d0d2c
shl edi, 4
lea ecx, [esp + 0x3c]
mov dword [edi + eax], 1
call fcn.004b5078
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00477a28
add esp, 8
mov edx, dword [esi]
push eax
mov byte [esp + 0x120], bl
lea ecx, [edi + edx + 4]
call fcn.0050d5e8
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], 6
call fcn.0050d468
push 0x4d0d24
lea ecx, [esp + 0x3c]
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esi]
add esp, 4
mov dword [edi + ecx + 8], eax
lea ecx, [esp + 0x28]
inc ebp
call fcn.004b4e58
cmp ebp, eax
jb 0x47f842
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.0050d468
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0x12
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0x11
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 0x10
cmp eax, ebx
je 0x47f9ad
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.004953a8
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x47f99b
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x47f9a4
lea ecx, [esp + 0x7c]
call fcn.004951f8
cmp dword [esp + 0xa8], ebx
jne 0x47f95f
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x47fa97
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x47f9e5
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x47fa8d
mov ecx, dword [esp + 0x5c]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x5c], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, ebx
jne 0x47fa4d
lea ecx, [esp + 0x18]
call fcn.004952b8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
push ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
call fcn.0050d474
add esp, 4
jmp 0x47fa8d
mov eax, dword [esp + 0x5c]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xec]
call fcn.004952c8
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x78], ebx
jne 0x47f9c1
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 3
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 2
call fcn.004b4098
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 1
call fcn.004b4098
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.004b4098
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0050d468
mov eax, 1
jmp 0x47fd28
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.0050d468
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0xe
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0xd
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 0xc
cmp eax, ebx
je 0x47fba2
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.004953a8
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x47fb90
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jne 0x47fb99
lea ecx, [esp + 0x7c]
call fcn.004951f8
cmp dword [esp + 0xa8], ebx
jne 0x47fb54
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x47fcc5
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x47fbd2
cmp ecx, dword [esp + 0x54]
jne 0x47fbdb
lea ecx, [esp + 0x4c]
call fcn.004951f8
cmp dword [esp + 0x78], ebx
jne 0x47fbb6
jmp 0x47fcc5
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], 5
call fcn.0050d468
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x120], 0xa
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 9
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x11c], 8
cmp eax, ebx
je 0x47fc86
mov eax, dword [esp + 0x88]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x8c], eax
call fcn.004953a8
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x47fc74
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp edx, eax
jne 0x47fc7d
lea ecx, [esp + 0x7c]
call fcn.004951f8
cmp dword [esp + 0xa8], ebx
jne 0x47fc38
mov eax, dword [esp + 0x78]
mov byte [esp + 0x11c], 4
cmp eax, ebx
je 0x47fcc5
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, 4
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x47fcb6
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x47fcbf
lea ecx, [esp + 0x4c]
call fcn.004951f8
cmp dword [esp + 0x78], ebx
jne 0x47fc96
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 3
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 2
call fcn.004b4098
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 1
call fcn.004b4098
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 0
call fcn.004b4098
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0050d468
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret 8