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

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x5f3c27
sub esp, 0x9c
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
call fcn.005f33d0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5f3c0d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x20]
mov dword [esp + 0x3c], esi
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.005bff60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x90], eax
mov byte [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.005bff60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x80], eax
mov byte [esp + 0x7c], 0
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ebx, dword [ecx + 0x1c]
mov dword [esp], edx
call ebx
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x5f3868
xor eax, eax
jmp 0x5f3880
movzx eax, byte [esp + 0x8c]
test al, al
je 0x5f387b
mov eax, 0xffffffff
jmp 0x5f3880
mov eax, 1
test eax, eax
jle 0x5f38ac
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x5f3893
xor eax, eax
jmp 0x5f38a8
movzx eax, byte [esp + 0x7c]
test al, al
je 0x5f38a3
mov eax, 0xffffffff
jmp 0x5f38a8
mov eax, 1
test eax, eax
jg 0x5f38bb
mov byte [esp + 0xbc], 0
add esp, 0x9c
ret
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005b62f0
mov eax, dword [esp + 8]
test eax, eax
jge 0x5f38fd
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.005b62f0
mov eax, dword [esp + 8]
test eax, eax
jl 0x5f390c
mov byte [esp + 0xbc], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
call fcn.005f3590
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.005b7ee0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005b5d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.005b60e0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
lea ecx, [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005b5d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.005b60e0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
shl ecx, 2
mov dword [esp + 0x30], ecx
nop
lea edx, [0x74afe0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00448800
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x68], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.005bfe80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
ja 0x5f3c21
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
sub ecx, eax
mov esi, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x68]
add eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
call ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
shl ecx, 2
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
nop
lea ebp, [0x74afe0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00448800
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x68], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.005bfe80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
ja 0x5f3c1c
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x24]
mov ebp, dword [esp + 0xa0]
mov esi, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
mov edi, dword [esp + 0x44]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
sub ecx, eax
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x68]
add eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5f3b7b
xor ecx, ecx
jmp 0x5f3b8e
movzx ecx, byte [eax]
test cl, cl
je 0x5f3b89
mov ecx, 0xffffffff
jmp 0x5f3b8e
mov ecx, 1
test ecx, ecx
jne 0x5f3bc7
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5f3ba1
xor ecx, ecx
jmp 0x5f3bb4
movzx ecx, byte [ecx]
test cl, cl
je 0x5f3baf
mov ecx, 0xffffffff
jmp 0x5f3bb4
mov ecx, 1
test ecx, ecx
jne 0x5f3bc7
mov byte [esp + 0xbc], 0
add esp, 0x9c
ret
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.005b60e0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.005b62f0
mov eax, dword [esp + 8]
test eax, eax
sete al
mov byte [esp + 0xbc], al
add esp, 0x9c
ret
mov byte [esp + 0xbc], 0
add esp, 0x9c
ret
call fcn.0045f1b0
call fcn.0045f1b0
nop
call fcn.0045dcb0
jmp fcn.005f36d0