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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f0bf6
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
call fcn.00600400
movzx eax, byte [esp]
test al, al
jne 0x5f0bcc
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jg 0x5f0b95
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x5f0b74
mov edx, dword [edx + 4]
test edx, edx
je 0x5f0b74
mov edx, dword [ecx + 0x10]
mov edx, dword [edx + 0xcc]
test edx, edx
je 0x5f0b74
mov dword [esp], ecx
call fcn.005f0c00
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0b64
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x3c]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.0052eb20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x40], eax
mov ebx, dword [0x8c88d8]
test ebx, ebx
je 0x5f03c8
call fcn.004772f0
mov dword [edi], ecx
mov ebx, dword [edx + 0x44]
mov dword [edi + 4], ebx
mov dword [edx + 0x44], ecx
test eax, eax
je 0x5f03f4
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 4]
lea ecx, [0x8a1d60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040b550
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 0x10]
lea ebp, [0x735000]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005fe420
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5f0b54
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x5f04c8
mov ecx, dword [eax + 0x3c]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.0052eb20
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [ecx + 0x18], edx
mov edx, dword [0x8c88d8]
test edx, edx
je 0x5f0463
call fcn.004772f0
mov dword [edi], ebx
mov edx, dword [ecx + 0x1c]
mov dword [edi + 4], edx
mov dword [ecx + 0x1c], ebx
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
test edx, edx
je 0x5f0498
mov dword [esp + 0x54], ecx
mov eax, dword [edx + 4]
lea ecx, [0x8a1d70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040b550
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov ebx, dword [eax + 0x60]
mov ebx, dword [ebx + 0x14]
lea ebp, [0x735000]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.005fe420
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5f0b44
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x8a1bb0]
mov edx, dword [0x8a1bb4]
mov ebx, dword [0x8a1bb8]
mov ebp, dword [eax + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x18]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004d62e0
movzx eax, byte [esp + 0x18]
test al, al
je 0x5f053b
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f0f20
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0b34
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f0fa0
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0b24
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x5f0559
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
xor ebp, ebp
xor ebx, ebx
xor edx, edx
jmp 0x5f08a2
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov ebx, dword [eax + 0x3c]
mov ebx, dword [ebx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005fe510
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebp]
mov ebp, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], 0x1e
mov dword [esp + 0xc], ebp
call edx
lea eax, [0x6c0100]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.004726e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 8
mov dword [esp + 0xc], 8
call ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 0xc]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
add esi, 0xffffffda
add ebp, 0xffffffda
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x26
add esi, dword [ebx]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
call ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x60]
mov edx, dword [edx + 0x14]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.005ffa00
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x3c]
mov ebx, dword [ebx + 0x18]
mov ebp, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
lea ecx, [0x70a5d9]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x17
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 8
call fcn.005ff5c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
sub edi, esi
add edi, 8
mov dword [esp + 0x44], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
add esi, 0xfffffff8
and edi, esi
add edi, dword [ebp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.0052ee20
cmp dword [esp + 0x18], 1
jne 0x5f087c
mov eax, dword [0x8c88d8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x60]
mov edx, dword [edx + 0x14]
test eax, eax
je 0x5f078d
call fcn.004772f0
mov dword [edi], edx
mov eax, dword [ecx + 0x10]
mov dword [edi + 4], eax
mov dword [ecx + 0x10], edx
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x2c]
mov ebx, dword [edx + 0x44]
mov edx, dword [edx + 0x40]
mov dword [eax + 0x7c], ebx
mov ebx, dword [0x8c88d8]
test ebx, ebx
je 0x5f07b7
call fcn.004772f0
mov dword [edi], edx
mov ebx, dword [eax + 0x78]
mov dword [edi + 4], ebx
mov dword [eax + 0x78], edx
mov edx, dword [ecx + 0x60]
mov ebx, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
mov dword [ecx + 0x40], ebx
mov ebx, dword [0x8c88d8]
test ebx, ebx
je 0x5f07dd
call fcn.004772f0
mov dword [edi], edx
mov ebx, dword [ecx + 0x44]
mov dword [edi + 4], ebx
mov dword [ecx + 0x44], edx
mov byte [eax + 0x94], 1
mov edx, dword [ecx + 0xc]
mov ebx, dword [edx + 0x78]
test ebx, ebx
jne 0x5f0845
mov ebx, dword [ecx + 0x10]
mov ebx, dword [ebx + 0x44]
test ebx, ebx
jne 0x5f083d
movzx edx, byte [edx + 0x84]
test dl, dl
je 0x5f083d
mov dword [esp], eax
mov byte [esp + 4], 0x6e
call fcn.005e4aa0
lea eax, [0x717355]
mov dword [esp], eax
mov dword [esp + 4], 0x35
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
xor ebx, ebx
xor edx, edx
xor ebp, ebp
jmp 0x5f08a2
mov dword [esp], eax
mov byte [esp + 4], 0x6e
call fcn.005e4aa0
lea eax, [0x71a6c4]
mov dword [esp], eax
mov dword [esp + 4], 0x5b
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x60]
mov byte [ecx + 0x24], 1
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x80]
mov eax, dword [esp + 0x50]
mov ebp, edx
mov edx, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edx
mov esi, dword [ecx + 0x40]
mov edi, dword [ecx + 0x44]
test esi, esi
je 0x5f08dd
mov dword [esp + 0x54], edi
mov eax, dword [esi + 4]
lea ecx, [0x8a1d80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040b550
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
mov eax, dword [ecx + 0xc]
lea edx, [0x735014]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.005fe420
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5f0b14
mov eax, dword [esp + 0x50]
mov byte [eax + 0x1cc], 1
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call fcn.005f2130
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0b04
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f0f20
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0af4
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f25b0
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0ae4
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f2da0
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0ad4
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f3190
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0ac4
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f3900
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0ab4
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f3d80
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0aa4
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005f43c0
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0a94
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.005e4f10
mov eax, dword [esp + 8]
test eax, eax
jne 0x5f0a84
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x5f0a5c
movzx eax, byte [eax + 0x24]
test al, al
je 0x5f0a5c
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov byte [esp + 4], 0x79
call fcn.005e4aa0
lea eax, [0x6cc4c0]
mov dword [esp], eax
call fcn.0040dea0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x5f0a3d
mov ecx, dword [esp + 0x48]
jmp 0x5f0a48
call fcn.004772e0
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x734820]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
add esp, 0x58
ret
mov eax, dword [esp + 0x50]
add eax, 0x14
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.0047b730
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
add esp, 0x58
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e4aa0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
mov dword [esp], eax
mov byte [esp + 4], 0x46
call fcn.005e4aa0
lea eax, [0x715bce]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
lea eax, [0x716503]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.00480a00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
add esp, 0x58
ret
call fcn.00475ee0
jmp fcn.005f0310