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

Disassembly:
push 0xffffffffffffffff
push 0x567260
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov esi, dword [esp + 0xa0]
call fcn.0049c670
mov esi, dword [esp + 0xa4]
call fcn.0049c670
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], 0
call fcn.00452440
test eax, eax
jle 0x51e710
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
call fcn.00487850
call fcn.00407eb0
push 0
or edi, 0xffffffff
lea esi, [esp + 0x1c]
mov ebp, eax
call fcn.00494ae0
mov dword [esp + 0x94], 0
mov eax, esi
push eax
call fcn.0051ea60
or edi, edi
add esp, 4
mov bl, al
mov dword [esp + 0x94], edi
mov ecx, esi
call fcn.00494b70
push 0
mov eax, ebp
test bl, bl
je 0x51e6bc
lea esi, [esp + 0x20]
call fcn.00494ae0
mov dword [esp + 0x94], 1
mov ecx, esi
push ecx
call fcn.0051e730
or edi, 0xffffffff
mov bl, al
mov dword [esp + 0x94], edi
mov ecx, esi
call fcn.00494b70
test bl, bl
je 0x51e684
lea edx, [esp + 0x3c]
push edx
call fcn.0049a1f0
mov dword [esp + 0x94], 2
push 0
mov eax, ebp
lea esi, [esp + 0x24]
call fcn.00494ae0
mov byte [esp + 0x94], 3
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
push ebx
mov edx, esi
call fcn.0051e220
mov byte [esp + 0x94], 2
mov ecx, esi
call fcn.00494b70
lea eax, [esp + 0x3c]
xor edi, edi
call fcn.00452440
test eax, eax
jle 0x51e4e3
jmp 0x51e490
mov eax, edi
lea ecx, [esp + 0x3c]
call fcn.00487850
call fcn.00407eb0
push eax
lea ecx, [esp + 0x38]
push ebp
push ecx
call fcn.004a35a0
add esp, 0xc
mov byte [esp + 0x94], 4
mov esi, dword [esp + 0xa0]
push eax
call fcn.00403590
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x34]
call fcn.00494b70
lea eax, [esp + 0x3c]
inc edi
call fcn.00452440
cmp edi, eax
jl 0x51e490
lea esi, [esp + 0x3c]
call fcn.0049c670
lea edx, [esp + 0x78]
push edx
call fcn.0049a1f0
mov byte [esp + 0x94], 5
lea eax, [esp + 0x64]
push eax
call fcn.0049a1f0
mov byte [esp + 0x94], 6
lea ecx, [esp + 0x50]
push ecx
call fcn.0049a1f0
mov byte [esp + 0x94], 7
push 0
or edi, 0xffffffff
mov eax, ebp
lea esi, [esp + 0x28]
call fcn.00494ae0
mov byte [esp + 0x94], 8
lea edx, [esp + 0x3c]
push edx
push ebx
mov edx, esi
call fcn.0051e2b0
mov byte [esp + 0x94], 7
mov ecx, esi
call fcn.00494b70
lea eax, [esp + 0x3c]
xor edi, edi
call fcn.00452440
test eax, eax
jle 0x51e5b5
mov eax, edi
lea ecx, [esp + 0x3c]
call fcn.00487850
call fcn.00407eb0
push eax
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.004a35a0
add esp, 0xc
mov byte [esp + 0x94], 9
push eax
lea esi, [esp + 0x7c]
call fcn.00403590
mov byte [esp + 0x94], 7
lea ecx, [esp + 0x38]
call fcn.00494b70
lea eax, [esp + 0x3c]
inc edi
call fcn.00452440
cmp edi, eax
jl 0x51e565
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x80]
push eax
mov ecx, ebx
call fcn.0051e340
lea eax, [esp + 0x64]
xor edi, edi
call fcn.00452440
test eax, eax
jle 0x51e606
lea ecx, [ecx]
mov eax, edi
lea ecx, [esp + 0x64]
call fcn.00487850
mov esi, dword [esp + 0xa0]
push eax
call fcn.00403590
lea eax, [esp + 0x64]
inc edi
call fcn.00452440
cmp edi, eax
jl 0x51e5e0
lea eax, [esp + 0x50]
xor edi, edi
call fcn.00452440
test eax, eax
jle 0x51e63b
mov eax, edi
lea ecx, [esp + 0x50]
call fcn.00487850
mov esi, dword [esp + 0xa4]
push eax
call fcn.00403590
lea eax, [esp + 0x50]
inc edi
call fcn.00452440
cmp edi, eax
jl 0x51e615
mov byte [esp + 0x94], 6
lea eax, [esp + 0x50]
call fcn.00403560
mov byte [esp + 0x94], 5
lea eax, [esp + 0x64]
call fcn.00403560
mov byte [esp + 0x94], 2
lea eax, [esp + 0x78]
call fcn.00403560
mov dword [esp + 0x94], 0xffffffff
lea eax, [esp + 0x3c]
call fcn.00403560
jmp 0x51e6f3
push 0
mov eax, ebp
lea esi, [esp + 0x2c]
call fcn.00494ae0
mov dword [esp + 0x94], 0xe
mov ecx, esi
mov esi, dword [esp + 0xa0]
push ecx
call fcn.00403590
mov dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x28]
jmp 0x51e6ee
lea esi, [esp + 0x30]
call fcn.00494ae0
mov dword [esp + 0x94], 0xf
mov edx, esi
mov esi, dword [esp + 0xa4]
push edx
call fcn.00403590
mov dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00494b70
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x9c]
inc esi
mov dword [esp + 0x14], esi
call fcn.00452440
cmp esi, eax
jl 0x51e3a2
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