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

Disassembly:
push 0xffffffffffffffff
push 0x604051
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x7c], 0x4ca328
mov dword [esp + 0xc0], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
test eax, eax
je 0x507374
push eax
lea ecx, [esp + 0x80]
call fcn.005429a0
mov eax, edi
shr eax, 0x1f
test al, 1
jne 0x50757e
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.005e0f30
add esp, 0xc
mov dword [esp + 0x38], 0x4caaa4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x44], 0x4ca328
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov dword [esp + 0x60], 0x4ca328
mov dword [esp + 0x40], 0
mov eax, dword [ebx + 0x38]
mov edx, eax
mov byte [esp + 0xc0], 1
mov dword [esp + 0x3c], edi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x50740a
cmp dword [ecx + 0x14], edi
jae 0x507400
mov ecx, dword [ecx + 8]
jmp 0x507404
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x5073f6
cmp edx, eax
je 0x50741d
cmp edi, dword [edx + 0x14]
jb 0x50741d
mov dword [esp + 0x18], edx
lea esi, [esp + 0x18]
jmp 0x507425
mov dword [esp + 0x14], eax
lea esi, [esp + 0x14]
mov esi, dword [esi]
cmp esi, eax
je 0x5075d9
mov edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x14]
je 0x5075d9
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x88]
mov dword [esp + 0xb8], 0xf
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0xb8], 0
mov byte [esp + 0xa8], 0
call fcn.004ed0d0
mov dword [esp + 0x98], 0x4ca328
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
push 1
cmovae eax, dword [esp + 0x84]
lea ecx, [esp + 0x24]
mov dword [esp + 0x94], 0
push 0x4caab0
mov byte [esp + 0xc8], 2
mov byte [eax], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.004ed2b0
mov dword [esp + 0x1c], 0x4ca328
lea eax, [esi + 0x1c]
mov byte [esp + 0xc0], 3
test eax, eax
je 0x5074ea
add eax, 4
jmp 0x5074ec
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x8c]
call fcn.004ecec0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x8c]
call fcn.004ecec0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x8c]
call fcn.004ecec0
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x1c], 0x4ca328
jb 0x507545
push dword [esp + 0x20]
call fcn.005df995
add esp, 4
cmp dword [esp + 0xb0], 0x10
mov dword [esp + 0x98], 0x4ca328
jb 0x507569
push dword [esp + 0x9c]
call fcn.005df995
add esp, 4
mov eax, edi
mov byte [esp + 0xc0], 0
shr eax, 0x1f
test al, 1
je 0x507381
test edi, edi
jns 0x5075e2
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.005e0f30
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.00505b70
lea eax, [esp + 0x7c]
mov byte [esp + 0xc0], 4
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edi
call fcn.00542680
test ebp, ebp
je 0x5075cc
push ebp
lea ecx, [esp + 0x64]
call fcn.005429a0
lea eax, [esp + 0x38]
push eax
lea ecx, [ebx + 0x28]
call fcn.00508370
lea ecx, [esp + 0x38]
call fcn.00505c30
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x7c], 0x4ca328
jb 0x507603
push dword [esp + 0x80]
call fcn.005df995
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005e0482
add esp, 0xb0
ret 0xc