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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f921e
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 0x5f8de2
lea eax, [0x685980]
mov dword [esp], eax
call fcn.0040b400
mov edi, dword [esp + 4]
mov dword [esp + 0x24], edi
mov eax, dword [0x894e10]
test eax, eax
jne 0x5f8c4a
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x5f8c53
mov eax, dword [esp + 0x74]
call fcn.0045f830
lea eax, [0x65f3c0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x60]
test edx, edx
jne 0x5f8c75
mov edx, 0x1000000
mov dword [esp + 0x3c], eax
mov dword [eax], edx
lea ecx, [0x65dec0]
mov dword [esp], ecx
call fcn.0040b400
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [0x665e80]
mov dword [esp], ecx
call fcn.0040b400
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 0x5f8cce
mov ebx, 0x1000000
mov dword [esp + 0x28], edx
nop
mov dword [edx + 0x30], ebx
lea eax, [0x67cf20]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
lea ecx, [0x5f9280]
mov dword [eax], ecx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5f8d26
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 0x5f8d82
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.0045f830
lea edi, [ecx + 8]
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.0045f830
lea edi, [ecx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x38]
call fcn.0045f830
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x28]
call fcn.0045f830
lea edi, [ecx + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x3c]
call fcn.0045f830
lea edi, [ecx + 0x18]
mov eax, dword [esp + 0x24]
call fcn.0045f830
mov eax, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x24]
mov esi, dword [0x894e10]
test esi, esi
jne 0x5f8d91
mov dword [ebx + 0x28], eax
jmp 0x5f8d99
lea edi, [ebx + 0x28]
call fcn.0045f830
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [0x5f9230]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
lea eax, [0x6ac83c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], eax
mov byte [esp + 0x1f], 1
lea eax, [0x703d2c]
mov esi, dword [esp + 0x74]
jmp 0x5f8e28
lea eax, [0x667e60]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x6a416b]
mov dword [eax], ecx
mov dword [esp + 0x78], 0
lea ecx, [0x703160]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
lea eax, [0x703ccc]
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.005e7ab0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f91c8
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 0x5f8ec0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005f5080
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 0x5f8e9c
lea eax, [0x703cb4]
cmp ebx, eax
je 0x5f8e20
jmp 0x5f91f8
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 [0x894e10]
test ebp, ebp
jne 0x5f8ee7
mov dword [ebx + 0x14], 0
jmp 0x5f8ef1
lea edi, [ebx + 0x14]
xor eax, eax
call fcn.0045f830
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 0x5f8f1f
nop
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x4c], 0
mov byte [ebx + 0x50], 0
lea eax, [0x70391c]
jmp 0x5f8f25
mov byte [ebx + 0x54], 1
xor eax, eax
test eax, eax
jne 0x5f9198
mov edx, dword [esp + 0x40]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test ebx, ebx
je 0x5f9043
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x10], ebx
mov ebx, dword [0x894e10]
test ebx, ebx
jne 0x5f8f54
mov dword [ebp + 0x14], eax
jmp 0x5f8f5c
lea edi, [ebp + 0x14]
call fcn.0045f830
movzx eax, byte [0x894aab]
test al, al
je 0x5f8fc1
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [edx]
mov ebx, dword [edx + 4]
test eax, eax
je 0x5f8f83
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
lea eax, [0x69977e]
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.004de110
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, [0x67f2a0]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00408b70
mov eax, dword [esp + 8]
mov dword [esp + 0x78], 0
lea ecx, [0x703700]
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.005f88b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test eax, eax
je 0x5f916c
mov ebp, dword [esp + 0x70]
mov dword [ebp + 0x10], edx
mov esi, dword [0x894e10]
test esi, esi
jne 0x5f9079
mov dword [ebp + 0x14], ebx
jmp 0x5f9083
lea edi, [ebp + 0x14]
mov eax, ebx
call fcn.0045f830
movzx eax, byte [0x894aab]
test al, al
je 0x5f90eb
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x5f90a9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
lea eax, [0x69d7d9]
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.004de110
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
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], ebx
lea eax, [0x67f2a0]
mov dword [esp], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00408b70
mov eax, dword [esp + 8]
mov dword [esp + 0x78], 0
lea ecx, [0x703700]
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, [0x7036d8]
mov dword [esp + 0x7c], eax
lea eax, [0x7027ac]
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, [0x7036d8]
mov dword [esp + 0x7c], eax
lea eax, [0x7027ac]
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
lea eax, [0x680740]
mov dword [esp + 4], eax
lea eax, [0x6694c0]
mov dword [esp + 8], eax
call fcn.00408ab0
nop
call fcn.00433730
add esp, 0x6c
ret
call fcn.0045e420
jmp fcn.005f8bd0