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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bf8c0
sub esp, 0x64
mov eax, 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004c15a0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], ecx
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 4]
test eax, eax
jne 0x5bf4d6
mov eax, 1
jmp 0x5bf5e7
lea eax, [0x60d580]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404500
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
lea ecx, [0x60d3c0]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00404500
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [0x5bfa70]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x74]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x5c], edx
mov byte [esp + 0x17], 3
lea edx, [0x6248c0]
mov dword [esp], edx
call fcn.0040b460
mov eax, dword [esp + 4]
lea ecx, [0x5bf950]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov edx, dword [0x7e0970]
test edx, edx
jne 0x5bf5a6
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x68]
mov dword [eax + 0xc], ebx
mov ebp, dword [esp + 0x18]
mov dword [eax + 0x10], ebp
mov ebp, dword [esp + 0x20]
mov dword [eax + 0x14], ebp
jmp 0x5bf5da
lea edi, [eax + 8]
mov edx, eax
mov eax, dword [esp + 0x1c]
call fcn.0045e4b0
lea edi, [edx + 0xc]
mov eax, dword [esp + 0x68]
call fcn.0045e4b0
lea edi, [edx + 0x10]
mov eax, dword [esp + 0x18]
call fcn.0045e4b0
lea edi, [edx + 0x14]
mov eax, dword [esp + 0x20]
call fcn.0045e4b0
mov eax, edx
mov dword [esp], eax
call fcn.0043e770
mov eax, 3
mov byte [esp + 0x16], al
mov ecx, dword [esp + 0x68]
test byte [ecx], al
lea edx, [ecx + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp], edx
call fcn.00472bc0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [0x5bf910]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x58], eax
movzx eax, byte [esp + 0x16]
or eax, 4
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
test ebx, ebx
je 0x5bf69e
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
test al, 4
je 0x5bf669
and eax, 0xfffffffb
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x16]
test al, 2
je 0x5bf686
and eax, 0xfffffffd
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x16]
test al, 1
je 0x5bf69a
and eax, 0xfffffffe
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
mov byte [esp + 0x15], al
lea eax, [edx + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp], eax
call fcn.00462870
cmp dword [esp + 4], 1
jne 0x5bf71f
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
movzx eax, byte [esp + 0x15]
test al, 4
je 0x5bf6ea
and eax, 0xfffffffb
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x16]
test al, 2
je 0x5bf707
and eax, 0xfffffffd
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x16]
test al, 1
je 0x5bf71b
and eax, 0xfffffffe
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
lea ecx, [eax + 0xbc]
mov dword [esp + 0x2c], ecx
mov dword [esp], ecx
call fcn.00472bc0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [0x5bf8d0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x54], eax
movzx eax, byte [esp + 0x16]
or eax, 0xc
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x30]
mov dword [esp], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 4], ebp
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x1c], ecx
mov ecx, dword [0x7e0970]
lea edi, [edx + 0x20]
test ecx, ecx
jne 0x5bf7aa
mov dword [edx + 0x20], eax
jmp 0x5bf7af
call fcn.0045e4b0
mov dword [esp + 0x24], edi
mov eax, dword [edx + 0x1c]
test eax, eax
jne 0x5bf7bf
inc dword [edx + 0x2c]
jmp 0x5bf7cf
mov dword [esp], edx
call fcn.005bcab0
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x24]
mov eax, dword [edx + 0x1c]
test eax, eax
jne 0x5bf835
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00462870
cmp dword [esp + 4], 1
jne 0x5bf7ef
mov edx, dword [esp + 0x68]
jmp 0x5bf835
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x37
lea ecx, [0x647293]
mov dword [eax], ecx
lea ecx, [0x690a60]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x1c], ecx
mov ecx, dword [0x7e0970]
test ecx, ecx
jne 0x5bf82c
mov dword [edx + 0x20], eax
jmp 0x5bf835
mov edi, dword [esp + 0x24]
call fcn.0045e4b0
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
movzx eax, byte [esp + 0x16]
test al, 8
je 0x5bf865
and eax, 0xfffffff7
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x54]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x16]
test al, 4
je 0x5bf882
and eax, 0xfffffffb
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x16]
test al, 2
je 0x5bf89f
and eax, 0xfffffffd
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x16]
test al, 1
je 0x5bf8b3
and eax, 0xfffffffe
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
call eax
add esp, 0x64
ret
call fcn.0045d0a0
jmp fcn.005bf440