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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f926e
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax + 0x59]
test cl, cl
jne 0x5f8e52
lea eax, [0x6a9ce0]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov dword [esp + 0x24], edi
mov eax, dword [0xa43e50]
test eax, eax
jne 0x5f8cba
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f8cc3
mov eax, dword [esp + 0x74]
call fcn.0045f670
lea eax, [0x67e8a0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x60]
test edx, edx
jne 0x5f8ce5
mov edx, 0x1000000
mov dword [esp + 0x3c], eax
mov dword [eax], edx
lea ecx, [0x67d220]
mov dword [esp], ecx
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [0x685e40]
mov dword [esp], ecx
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x5c]
nop
mov byte [edx + 0x2c], 1
nop
nop
mov ebx, dword [ecx + 0x60]
test ebx, ebx
jne 0x5f8d3e
mov ebx, 0x1000000
mov dword [esp + 0x28], edx
nop
mov dword [edx + 0x30], ebx
lea eax, [0x69fe80]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
lea ecx, [0x5f92d0]
mov dword [eax], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5f8d96
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + 0x10], ebx
mov ebp, dword [esp + 0x3c]
mov dword [eax + 0x14], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + 0x18], ebp
jmp 0x5f8df2
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.0045f670
lea edi, [ecx + 8]
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.0045f670
lea edi, [ecx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x38]
call fcn.0045f670
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x28]
call fcn.0045f670
lea edi, [ecx + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x3c]
call fcn.0045f670
lea edi, [ecx + 0x18]
mov eax, dword [esp + 0x24]
call fcn.0045f670
mov eax, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x24]
mov esi, dword [0xa43e50]
test esi, esi
jne 0x5f8e01
mov dword [ebx + 0x28], eax
jmp 0x5f8e09
lea edi, [ebx + 0x28]
call fcn.0045f670
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x5f9280]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
lea eax, [0x841cc8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], eax
mov byte [esp + 0x1f], 1
lea eax, [0x896090]
mov esi, dword [esp + 0x74]
jmp 0x5f8e98
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x6ca58d]
mov dword [eax], ecx
mov dword [esp + 0x78], 0
lea ecx, [0x8953a4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
lea eax, [0x896030]
mov esi, ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 0x10]
mov dword [esp], esi
call ecx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.005e7f90
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f921e
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x5f8f36
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005f52d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x5f8f12
mov eax, dword [0x89601c]
lea ecx, [0x896018]
cmp ebx, ecx
je 0x5f8e90
jmp 0x5f924e
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov ebp, dword [0xa43e50]
test ebp, ebp
jne 0x5f8f5d
mov dword [ebx + 0x14], 0
jmp 0x5f8f67
lea edi, [ebx + 0x14]
xor eax, eax
call fcn.0045f670
mov ebx, dword [ecx]
mov byte [ebx], 0
mov ebx, dword [esp + 0x28]
mov ebp, dword [ebx + 0x44]
sub ebp, dword [ebx + 0x4c]
test ebp, ebp
jle 0x5f8f95
nop
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x4c], 0
mov byte [ebx + 0x50], 0
lea eax, [0x895c00]
jmp 0x5f8f9b
mov byte [ebx + 0x54], 1
xor eax, eax
test eax, eax
jne 0x5f91ee
mov edx, dword [esp + 0x40]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test ebx, ebx
je 0x5f90b9
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x10], ebx
mov ebx, dword [0xa43e50]
test ebx, ebx
jne 0x5f8fca
mov dword [ebp + 0x14], eax
jmp 0x5f8fd2
lea edi, [ebp + 0x14]
call fcn.0045f670
movzx eax, byte [0xa43989]
test al, al
je 0x5f9037
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [edx]
mov ebx, dword [edx + 4]
test eax, eax
je 0x5f8ff9
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
lea eax, [0x6bfe2e]
mov dword [esp], eax
mov dword [esp + 4], 0x19
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005ce070
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 1
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea eax, [0x6a4940]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00408750
mov eax, dword [esp + 8]
mov dword [esp + 0x78], 0
lea ecx, [0x8959bc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], ecx
call fcn.005f8960
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 4]
test eax, eax
je 0x5f91c2
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x10], edx
mov esi, dword [0xa43e50]
test esi, esi
jne 0x5f90ef
mov dword [ebp + 0x14], ecx
jmp 0x5f90f9
lea edi, [ebp + 0x14]
mov eax, ecx
call fcn.0045f670
movzx eax, byte [0xa43989]
test al, al
je 0x5f9161
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test ebx, ebx
je 0x5f911f
mov ebx, dword [ebx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
lea eax, [0x6c3d1c]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005ce070
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
lea eax, [0x6a4940]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00408750
mov eax, dword [esp + 8]
mov dword [esp + 0x78], 0
lea ecx, [0x8959bc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp + 0x78], 0
lea eax, [0x895994]
mov dword [esp + 0x7c], eax
lea eax, [0x8935a8]
mov dword [esp + 0x80], eax
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp + 0x78], 0
lea eax, [0x895994]
mov dword [esp + 0x7c], eax
lea eax, [0x8935a8]
mov dword [esp + 0x80], eax
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [0x689660]
mov dword [esp + 8], eax
call fcn.00408690
nop
call fcn.00432c40
add esp, 0x6c
ret
call fcn.0045e260
jmp fcn.005f8c40