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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58769f
sub esp, 0x80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x587203
mov edx, dword [ecx + 8]
cmp edx, 0x2232d5b7
jne 0x5871ed
lea ebx, [0x7e0d00]
cmp ebx, ecx
jne 0x5871ed
mov eax, dword [eax + 0x10]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
nop
lea eax, [0x82e623]
mov dword [esp], eax
mov dword [esp + 4], 0x3d
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bd7c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
nop
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5871e2
mov eax, dword [esp + 0x40]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x80
ret
mov eax, dword [esp + 0x40]
call fcn.0044f0d0
jmp 0x5871c7
cmp edx, 0x96213b41
jne 0x587203
lea edx, [0x7f8be0]
cmp edx, ecx
je 0x58712b
mov edx, dword [eax + 0x10]
lea ebx, [0x7c5640]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00407e30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test dl, dl
je 0x5875eb
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x5875e4
mov edx, dword [eax + 8]
cmp edx, 0x2fd00e80
jne 0x5875dd
lea ebx, [0x7ef540]
cmp ebx, eax
jne 0x5875d1
mov ebx, ecx
je 0x5873e3
cmp edx, 0xcc456746
jne 0x58733c
lea ecx, [0x7b6ce0]
cmp ecx, eax
jne 0x58733c
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
nop
lea eax, [0x8280b6]
mov dword [esp], eax
mov dword [esp + 4], 0x29
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd7c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x587331
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x80
ret
mov eax, dword [esp + 0x3c]
call fcn.0044f0d0
jmp 0x587316
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
nop
lea eax, [0x82613d]
mov dword [esp], eax
mov dword [esp + 4], 0x25
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd7c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5873d8
mov eax, dword [esp + 0x38]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x80
ret
mov eax, dword [esp + 0x38]
call fcn.0044f0d0
jmp 0x5873bd
mov dword [esp + 0x48], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x4c], eax
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
nop
lea ebx, [0xb90fe0]
mov dword [esp], ebx
lea ebp, [0x8355c8]
mov dword [esp + 4], ebp
call fcn.00463c00
mov eax, dword [0xb7c72c]
lea ecx, [0x8ba480]
mov edx, dword [esp + 0x30]
cmp ecx, edx
je 0x5875ab
nop
lea eax, [0xb90fe0]
mov dword [esp], eax
lea ecx, [0x8355c8]
mov dword [esp + 4], ecx
call fcn.00463c00
mov eax, dword [0xb7c738]
lea ecx, [0x8ba240]
mov edx, dword [esp + 0x30]
cmp ecx, edx
je 0x587585
nop
lea eax, [0xb90fe0]
mov dword [esp], eax
lea eax, [0x8355c8]
mov dword [esp + 4], eax
call fcn.00463c00
mov eax, dword [0xb7c73c]
lea ecx, [0x8ba240]
mov edx, dword [esp + 0x30]
cmp ecx, edx
je 0x58755f
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407990
mov eax, dword [esp + 8]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x7abe80]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
nop
lea eax, [0x826fb8]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd7c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x587554
mov eax, dword [esp + 0x34]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x80
ret
mov eax, dword [esp + 0x34]
call fcn.0044f0d0
jmp 0x587539
mov dword [esp], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x587288
jmp 0x587487
mov dword [esp], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x587288
jmp 0x587456
mov dword [esp], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x587288
jmp 0x587425
mov ebx, ecx
mov ecx, 0
jmp 0x587268
mov ebx, ecx
jmp 0x58726e
mov ebx, ecx
jmp 0x58733c
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
nop
lea eax, [0x82f33d]
mov dword [esp], eax
mov dword [esp + 4], 0x42
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bd7c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
nop
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x587694
mov eax, dword [esp + 0x44]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x80
ret
mov eax, dword [esp + 0x44]
call fcn.0044f0d0
jmp 0x587679
call fcn.0044d880
jmp fcn.005870e0