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

Disassembly:
push 0xffffffffffffffff
push 0x948c99
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ecx, dword [eax]
mov esi, dword [esp + 0x6c]
push edi
push ecx
mov ecx, esi
call fcn.0085f250
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x862ce0
mov eax, dword [ebx + 0x30]
mov ebp, dword [esp + 0x70]
test eax, eax
je 0x862758
push edi
push eax
call fcn.0085f250
cmp dword [eax], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
je 0x862758
mov edx, dword [eax]
push edi
push edx
mov ecx, esi
call fcn.0085f250
cmp byte [esp + 0x90], 0
mov ebx, eax
je 0x862715
cmp word [ebx], 0
movzx eax, word [ebx + 2]
setne cl
movzx edx, cl
push edx
push 1
movzx eax, ax
push eax
lea ecx, [ebx + 4]
push ecx
mov ecx, dword [esp + 0x84]
push ebp
push esi
call fcn.0087d320
cmp word [ebx], 0
movzx eax, word [ebx + 2]
setne dl
mov byte [esp + 0x28], dl
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x78]
movzx edx, ax
push edx
add ebx, 4
push ebx
push 0
push ebp
push esi
call fcn.008785e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc eax
cmp dword [ecx + eax*4], 0
mov dword [esp + 0x14], eax
lea eax, [ecx + eax*4]
jne 0x8626d7
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x862802
push edi
push eax
mov ecx, esi
call fcn.0085f250
cmp dword [eax], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
je 0x862802
mov edx, dword [eax]
push edi
push edx
mov ecx, esi
call fcn.0085f250
cmp byte [esp + 0x90], 0
mov ebx, eax
je 0x8627bf
cmp word [ebx], 0
movzx eax, word [ebx + 2]
setne cl
movzx edx, cl
push edx
push 1
movzx eax, ax
push eax
lea ecx, [ebx + 4]
push ecx
mov ecx, dword [esp + 0x84]
push ebp
push esi
call fcn.0087a580
cmp word [ebx], 0
movzx eax, word [ebx + 2]
setne dl
mov byte [esp + 0x28], dl
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x78]
movzx edx, ax
push edx
add ebx, 4
push ebx
push 1
push ebp
push esi
call fcn.008785e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc eax
cmp dword [ecx + eax*4], 0
mov dword [esp + 0x14], eax
lea eax, [ecx + eax*4]
jne 0x862781
mov ebx, dword [esp + 0x20]
push 4
call fcn.0084dc90
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x64], ecx
cmp eax, ecx
je 0x862826
lea edx, [esp + 0x44]
mov dword [eax], edx
jmp 0x862828
xor eax, eax
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], 2
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], 3
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x20]
push edi
push eax
mov ecx, esi
call fcn.0085f250
cmp dword [esp + 0x18], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
jle 0x862aa4
lea ebx, [ebx]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
push edi
push eax
mov ecx, esi
call fcn.0085f250
mov ebx, eax
mov ecx, dword [ebx + 8]
push edi
push ecx
mov ecx, esi
call fcn.0085f250
mov edx, dword [esp + 0x78]
mov edi, eax
mov eax, dword [ebx + 0xc]
push edx
push eax
call fcn.0085f250
cmp word [edi], 0
mov dword [esp + 0x24], eax
movzx eax, word [edi + 2]
setne dl
mov byte [esp + 0x2c], dl
mov edx, dword [esp + 0x2c]
push edx
movzx eax, ax
push eax
lea ecx, [edi + 4]
push ecx
push 0
push ebp
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x88]
push esi
call fcn.008783d0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
push ebp
push edx
mov ecx, esi
call fcn.0085f250
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x18]
add eax, ecx
mov cl, byte [esp + 0x90]
mov dword [esp + 0x3c], 0
mov byte [esp + 0x41], cl
mov ebx, dword [ebx]
and ebx, 7
mov dword [esp + 0x34], eax
test cl, cl
je 0x8629c1
cmp word [edi], 0
movzx eax, word [edi + 2]
push 0
setne dl
mov byte [esp + 0x34], dl
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, dword [esp + 0x84]
push 1
movzx edx, ax
mov eax, dword [esp + 0x30]
push edx
push eax
push ebp
push esi
call fcn.00879320
test al, al
jne 0x8629a1
mov ecx, dword [esp + 0x34]
cmp word [edi], 0
movzx eax, word [edi + 2]
push ecx
mov ecx, dword [esp + 0x28]
push 0
push 0
lea edx, [esp + 0x48]
push edx
push ecx
setne dl
movzx ecx, dl
push ecx
mov ecx, dword [esp + 0x8c]
push 1
movzx edx, ax
mov eax, dword [esp + 0x38]
push edx
push eax
push ebp
push esi
call fcn.00878ea0
mov byte [esp + 0x41], 0
jmp 0x8629f8
mov ecx, dword [esp + 0x3c]
push ebp
push ecx
mov ecx, esi
call fcn.0085f250
mov eax, dword [eax]
and eax, 7
push ebx
push eax
call fcn.0085fdf0
add esp, 8
mov ebx, eax
jmp 0x8629f8
cmp word [edi], 0
movzx ecx, word [edi + 2]
push eax
mov eax, dword [esp + 0x28]
push 0
push 0
lea edx, [esp + 0x48]
push edx
push eax
setne dl
movzx eax, dl
mov edx, dword [esp + 0x30]
push eax
push 1
movzx ecx, cx
push ecx
mov ecx, dword [esp + 0x94]
push edx
push ebp
push esi
call fcn.00878ea0
mov eax, dword [esp + 0x3c]
push ebp
push eax
mov ecx, esi
call fcn.0085f250
mov ecx, dword [eax]
mov edx, ecx
xor edx, ebx
and edx, 7
xor edx, ecx
lea ecx, [esi + 0x1c]
push ecx
push 4
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x84]
push eax
push edx
call fcn.008f6b70
add esp, 0x14
cmp byte [esp + 0x80], 0
jne 0x862a41
mov byte [esp + 0x40], 0
jmp 0x862a7f
cmp dword [esp + 0x88], 0
jne 0x862a74
movzx eax, word [edi + 2]
cmp ax, 2
jne 0x862a3a
mov eax, dword [esp + 0x1c]
push 4
push 0x95e814
push eax
call fcn.0091c50b
add esp, 0xc
test eax, eax
jne 0x862a3a
mov byte [esp + 0x40], 1
jmp 0x862a7f
mov cl, byte [esp + 0x84]
mov byte [esp + 0x40], cl
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
call fcn.008ba220
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x862880
mov ecx, dword [esp + 0x74]
push ebp
push esi
call fcn.00878bb0
xor ebx, ebx
cmp dword [esp + 0x18], ebx
jle 0x862b70
mov eax, dword [esp + 0x88]
inc eax
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], edx
mov edx, ecx
sub edx, eax
sar edx, 3
cmp ebx, edx
jb 0x862af2
call fcn.0091bc53
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
lea edx, [eax + ebx*8]
mov dword [esp + 0x34], edx
mov edx, ecx
sub edx, eax
sar edx, 3
cmp ebx, edx
jb 0x862b11
call fcn.0091bc53
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
sub ecx, eax
sar ecx, 3
lea edx, [eax + ebx*8]
mov dword [esp + 0x2c], edx
cmp ebx, ecx
jb 0x862b2a
call fcn.0091bc53
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
movzx edx, byte [ecx + 5]
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
movzx edx, byte [ecx + 4]
mov ecx, dword [esp + 0x8c]
push edx
push ecx
lea edx, [esp + 0x38]
push edx
push edi
lea eax, [eax + ebx*8]
push eax
push ebp
push esi
call fcn.00862660
inc ebx
add esp, 0x28
cmp ebx, dword [esp + 0x18]
jl 0x862ac7
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.0085f250
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ecx
jle 0x862ca4
cmp byte [esp + 0x90], cl
sete byte [esp + 0x30]
jmp 0x862bb4
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
push edi
push eax
mov ecx, esi
call fcn.0085f250
mov ebx, dword [esp + 0x78]
mov edi, eax
mov ecx, dword [edi]
push ebx
push ecx
mov ecx, esi
call fcn.0085f250
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x10]
push ebx
push eax
call fcn.0085f250
cmp byte [esp + 0x80], 0
mov dword [esp + 0x28], eax
mov ebx, eax
je 0x862c39
cmp byte [esp + 0x84], 0
je 0x862c39
mov eax, dword [edi + 8]
cmp eax, 0x24
jb 0x862c39
mov ecx, dword [esp + 0x20]
movzx edx, word [ecx + 2]
test dx, dx
jne 0x862c3d
push eax
call fcn.0084dcb0
mov edx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [edi + 8]
push eax
push edx
push ebx
call fcn.0091b5e0
mov al, byte [esp + 0x9c]
add esp, 0x10
mov byte [ebx], al
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov edi, dword [edi + 4]
and al, 1
cmp word [ecx], 0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x30]
push edi
push 0
movzx eax, al
push eax
push edx
mov edx, dword [esp + 0x3c]
push ebx
push edx
setne al
movzx edx, al
movzx eax, word [ecx + 2]
push edx
push eax
add ecx, 4
push ecx
mov ecx, dword [esp + 0x98]
push ebp
push esi
call fcn.0087d450
cmp ebx, dword [esp + 0x28]
je 0x862c8f
push ebx
call fcn.0084dd00
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jl 0x862bb0
xor ecx, ecx
mov dword [esp + 0x64], 4
mov eax, dword [esp + 0x50]
cmp eax, ecx
je 0x862cbf
push eax
call fcn.0084dd20
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], 0xffffffff
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0084dd20
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret