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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x86d04a
sub esp, 0xb8
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.004572aa
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
call fcn.0086d060
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
lea edi, [esp + 0x58]
mov esi, dword [esp + 0x80]
call fcn.00457784
test eax, eax
jne 0x86d01f
movzx ecx, byte [esp + 0x59]
test cl, cl
je 0x86d011
lea edi, [esp + 0x40]
lea esi, [esp + 0x58]
call fcn.00457784
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x86d007
mov edx, dword [esp + 0x44]
cmp edx, 1
je 0x86d000
cmp edx, 2
je 0x86d000
mov eax, 1
test al, al
jne 0x86cf0f
movzx edx, byte [esp + 0x5a]
test dl, dl
jne 0x86cf0f
movzx edx, byte [esp + 0x5b]
test dl, dl
jne 0x86cf0f
movzx eax, byte [ecx + 0x10]
test al, al
je 0x86ceb4
mov eax, dword [esp + 0x5c]
cmp eax, 2
jbe 0x86ce87
lea edx, [eax - 8]
cmp edx, 2
ja 0x86cdc2
mov dword [esp], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov edi, dword [esp + 0x80]
lea esi, [esp + 0x58]
call fcn.00457784
call fcn.0086d8a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x86cb29
mov dword [esp + 0x2c], eax
mov dword [esp + 0x74], ecx
cmp dword [esp + 0x5c], 8
je 0x86cd5b
xor edx, edx
test dl, dl
jne 0x86cd30
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004085d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x86cc76
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [0x8f88c0]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x9c], eax
lea eax, [0x99c2c4]
mov dword [esp], eax
mov dword [esp + 4], 0x25
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c6610
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0xc8]
lea esi, [0xa52320]
call fcn.00457784
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xb8
ret
lea edi, [esp + 0xc8]
lea esi, [0xa52300]
call fcn.00457784
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xe4], eax
add esp, 0xb8
ret
lea eax, [0x9478c0]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [0x928fa0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00461d80
movzx eax, byte [esp + 0x10]
test al, al
je 0x86cdbb
mov eax, dword [esp + 0x84]
mov eax, dword [eax]
cmp eax, 0xffffffff
setne dl
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x74]
jmp 0x86cc53
mov eax, 0xffffffff
jmp 0x86cda8
mov dword [esp], eax
call fcn.004085d0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x8f88c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x993fe2]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c6610
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov dword [esp + 4], 0x3ea
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.008712a0
lea edi, [esp + 0xc8]
lea esi, [0xa52340]
call fcn.00457784
mov eax, dword [esp + 0x30]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xe4], eax
add esp, 0xb8
ret
lea edi, [esp + 0xc8]
lea esi, [esp + 0x58]
call fcn.00457784
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xb8
ret
movzx eax, byte [esp + 0x68]
test al, al
jne 0x86cbe7
lea eax, [0x909320]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0x99afc0]
mov dword [eax], ecx
lea edi, [esp + 0xc8]
lea esi, [0xa522e0]
call fcn.00457784
lea ecx, [0xa4d860]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
add esp, 0xb8
ret
movzx ecx, byte [esp + 0x59]
mov dword [esp + 0x38], ecx
movzx edx, byte [esp + 0x5a]
movzx ebx, byte [esp + 0x5b]
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.004572aa
lea ecx, [0x8e6280]
mov dword [esp + 0xa0], ecx
mov ebp, dword [esp + 0x38]
lea esi, [0xd895e0]
add ebp, esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
add edx, esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
lea ecx, [esi + ebx]
mov dword [esp + 0xb4], ecx
lea ecx, [0x9a59b9]
mov dword [esp], ecx
mov dword [esp + 4], 0x36
lea ecx, [esp + 0xa0]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004c6610
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0xbc]
mov dword [esp], ebx
mov dword [esp + 4], 0x3ea
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.008712a0
lea edi, [esp + 0xc8]
lea esi, [0xa522c0]
call fcn.00457784
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xe4], ecx
add esp, 0xb8
ret
xor eax, eax
jmp 0x86cbb9
mov eax, 1
jmp 0x86cbb9
mov ecx, dword [esp + 0xbc]
xor eax, eax
jmp 0x86cbb9
lea edi, [esp + 0xc8]
lea esi, [0xa522a0]
call fcn.00457784
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xe4], eax
add esp, 0xb8
ret
call fcn.004557a0
jmp fcn.0086caf0