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

Disassembly:
push 0xffffffffffffffff
push 0x56d7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0xa0]
call fcn.00412ae0
mov esi, dword [esp + 0xa4]
call fcn.00412ae0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], 0
call fcn.0049cb10
test eax, eax
jle 0x523dc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
call fcn.0040afa0
call fcn.00408130
push 0
or edi, 0xffffffff
lea esi, [esp + 0x1c]
mov ebp, eax
call fcn.004993c0
mov dword [esp + 0x94], 0
mov eax, esi
push eax
call fcn.00524110
or edi, edi
add esp, 4
mov bl, al
mov dword [esp + 0x94], edi
mov ecx, esi
call fcn.00499450
push 0
mov eax, ebp
test bl, bl
je 0x523d6c
lea esi, [esp + 0x20]
call fcn.004993c0
mov dword [esp + 0x94], 1
mov ecx, esi
push ecx
call fcn.00523de0
or edi, 0xffffffff
mov bl, al
mov dword [esp + 0x94], edi
mov ecx, esi
call fcn.00499450
test bl, bl
je 0x523d34
lea edx, [esp + 0x3c]
push edx
call fcn.0049ec60
mov dword [esp + 0x94], 2
push 0
mov eax, ebp
lea esi, [esp + 0x24]
call fcn.004993c0
mov byte [esp + 0x94], 3
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
push ecx
call fcn.005238d0
mov byte [esp + 0x94], 2
mov ecx, esi
call fcn.00499450
lea eax, [esp + 0x3c]
xor edi, edi
call fcn.0049cb10
test eax, eax
jle 0x523b93
jmp 0x523b40
mov eax, edi
lea ecx, [esp + 0x3c]
call fcn.0040afa0
call fcn.00408130
push eax
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.004a8290
add esp, 0xc
mov byte [esp + 0x94], 4
mov esi, dword [esp + 0xa0]
push eax
call fcn.00403540
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x30]
call fcn.00499450
lea eax, [esp + 0x3c]
inc edi
call fcn.0049cb10
cmp edi, eax
jl 0x523b40
lea esi, [esp + 0x3c]
call fcn.00412ae0
lea eax, [esp + 0x78]
push eax
call fcn.0049ec60
mov byte [esp + 0x94], 5
lea ecx, [esp + 0x64]
push ecx
call fcn.0049ec60
mov byte [esp + 0x94], 6
lea edx, [esp + 0x50]
push edx
call fcn.0049ec60
mov byte [esp + 0x94], 7
push 0
or edi, 0xffffffff
mov eax, ebp
lea esi, [esp + 0x28]
call fcn.004993c0
mov byte [esp + 0x94], 8
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
push ecx
call fcn.00523960
mov byte [esp + 0x94], 7
mov ecx, esi
call fcn.00499450
lea eax, [esp + 0x3c]
xor edi, edi
call fcn.0049cb10
test eax, eax
jle 0x523c65
mov eax, edi
lea ecx, [esp + 0x3c]
call fcn.0040afa0
call fcn.00408130
push eax
lea edx, [esp + 0x38]
push ebp
push edx
call fcn.004a8290
add esp, 0xc
mov byte [esp + 0x94], 9
push eax
lea esi, [esp + 0x7c]
call fcn.00403540
mov byte [esp + 0x94], 7
lea ecx, [esp + 0x34]
call fcn.00499450
lea eax, [esp + 0x3c]
inc edi
call fcn.0049cb10
cmp edi, eax
jl 0x523c15
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x80]
push edx
call fcn.005239f0
lea eax, [esp + 0x64]
xor edi, edi
call fcn.0049cb10
test eax, eax
jle 0x523cb6
nop
mov eax, edi
lea ecx, [esp + 0x64]
call fcn.0040afa0
mov esi, dword [esp + 0xa0]
push eax
call fcn.00403540
lea eax, [esp + 0x64]
inc edi
call fcn.0049cb10
cmp edi, eax
jl 0x523c90
lea eax, [esp + 0x50]
xor edi, edi
call fcn.0049cb10
test eax, eax
jle 0x523ceb
mov eax, edi
lea ecx, [esp + 0x50]
call fcn.0040afa0
mov esi, dword [esp + 0xa4]
push eax
call fcn.00403540
lea eax, [esp + 0x50]
inc edi
call fcn.0049cb10
cmp edi, eax
jl 0x523cc5
mov byte [esp + 0x94], 6
lea eax, [esp + 0x50]
call fcn.00403510
mov byte [esp + 0x94], 5
lea eax, [esp + 0x64]
call fcn.00403510
mov byte [esp + 0x94], 2
lea eax, [esp + 0x78]
call fcn.00403510
mov dword [esp + 0x94], 0xffffffff
lea eax, [esp + 0x3c]
call fcn.00403510
jmp 0x523da3
push 0
mov eax, ebp
lea esi, [esp + 0x2c]
call fcn.004993c0
mov dword [esp + 0x94], 0xe
mov eax, esi
mov esi, dword [esp + 0xa0]
push eax
call fcn.00403540
mov dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x28]
jmp 0x523d9e
lea esi, [esp + 0x30]
call fcn.004993c0
mov dword [esp + 0x94], 0xf
mov ecx, esi
mov esi, dword [esp + 0xa4]
push ecx
call fcn.00403540
mov dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00499450
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x9c]
inc esi
mov dword [esp + 0x14], esi
call fcn.0049cb10
cmp esi, eax
jl 0x523a52
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0xc