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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f40a8
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5f3ff9
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx]
mov byte [esp + 0x2e], dl
mov byte [esp], 7
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
call fcn.005f37a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
test edx, edx
jne 0x5f3fcb
mov dword [esp + 0x38], ebp
mov eax, ebx
mov ebx, dword [esp + 0x60]
mov ecx, ebx
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x5f3c7a
mov edx, ebx
sar ebx, 0x1f
cmp esi, ebx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp edi, edx
mov edx, edi
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5f3c2e
mov ebp, dword [esp + 0x38]
mov edi, edx
jmp 0x5f3c7a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [0xbbe144]
mov ecx, dword [0xbbe140]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
cmp edi, ebp
seta bl
mov edi, ebp
sar ebp, 0x1f
cmp esi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edx, edi
xchg edi, ebx
seta bl
xchg edi, ebx
and ebx, ebp
or ebx, edi
test bl, bl
jne 0x5f3f83
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
movzx ebx, byte [esp + 0x2e]
test bl, 0x80
je 0x5f3edf
movzx ebx, byte [esp + 0x70]
test bl, bl
jne 0x5f3cc8
xor ecx, ecx
jmp 0x5f3e14
lea eax, [0xbb8d90]
mov dword [esp], eax
call fcn.0046a200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x680340]
cmp ecx, edx
jne 0x5f4088
nop
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ebx, [0x5f40c0]
mov dword [esp + 0x48], ebx
lea ebx, [0xbb8d90]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
lea ebx, [esp + 0x48]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x2f], 1
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x5f407b
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
ja 0x5f4076
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x60]
mov ebx, dword [ebx + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005f4150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5f3e7b
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
mov ebp, dword [edx + 8]
mov eax, dword [edx + 0xc]
cmp eax, ecx
ja 0x5f4071
mov dword [esp], 0
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
lea edx, [ebx + ebp]
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
call fcn.0044f3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
nop
mov eax, dword [esp + 0x40]
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ecx, 1
test esi, esi
jne 0x5f406a
cmp eax, edx
ja 0x5f4063
mov ebx, dword [esp + 0x3c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [esp + 0x44]
add ebx, esi
mov dword [esp + 0x7c], ebx
sub edx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
test cl, 1
je 0x5f3e77
and ecx, 0xfffffffe
mov byte [esp + 0x2f], cl
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
nop
mov eax, dword [esp + 0x40]
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
movzx ebx, byte [esp + 0x70]
test bl, bl
je 0x5f3f30
test esi, esi
jne 0x5f4058
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
ja 0x5f404f
mov dword [esp], 0
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044f3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x5f4048
cmp eax, edx
ja 0x5f4041
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebp, dword [esp + 0x44]
add ecx, ebp
mov dword [esp + 0x7c], ecx
sub edx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [0xbbe14c]
mov ecx, dword [0xbbe148]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], eax
mov eax, dword [0xbbe14c]
mov ecx, dword [0xbbe148]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x5c
ret
mov ecx, edx
call fcn.00462dd0
mov ecx, edx
call fcn.00462ef0
mov ecx, eax
mov edx, ebx
call fcn.00462db0
mov ecx, eax
mov edx, dword [esp + 0x3c]
call fcn.00462eb0
mov ecx, edx
call fcn.00462dd0
mov ecx, edx
call fcn.00462ef0
call fcn.00462dc0
call fcn.00462db0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
call fcn.00462eb0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x653ac0]
mov dword [esp + 8], eax
call fcn.00408e60
nop
call fcn.004364e0
add esp, 0x5c
ret
call fcn.004618d0
jmp fcn.005f3b10