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

Disassembly:
push 0xffffffffffffffff
push 0x100ce19b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2cc
cmp dword [esp + 0x2e4], 1
push edi
mov edi, ecx
mov dword [esp + 0x2c], edi
jne 0x10086dc8
cmp dword [esp + 0x2f4], 4
jne 0x10086dc8
push esi
lea esi, [edi + 0x10]
push 1
mov ecx, esi
mov dword [esp + 0x3c], esi
call fcn.100862d0
test eax, eax
jne 0x10086daf
mov eax, dword [esp + 0x2e8]
xor ecx, ecx
mov dword [esp + 0xc], ecx
test eax, eax
je 0x10086844
mov eax, dword [eax]
test eax, eax
je 0x10086844
cmp dword [eax + 4], 0
mov ecx, dword [eax]
ja 0x10086844
jb 0x10086840
cmp ecx, 0x80000000
ja 0x10086844
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x2ec]
lea edx, [esp + 0x20]
push edx
push 0x100d61bc
mov dword [esp + 0x2ec], 0
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [edi + 0x20]
xorps xmm0, xmm0
mov ecx, dword [esi]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x24]
add eax, ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x28]
add eax, ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x2c]
add eax, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0x30]
add eax, ecx
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x34], 0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x58], xmm0
call fcn.100a5000
mov eax, dword [edi + 0x4c]
xorps xmm0, xmm0
mov esi, dword [esp + 0x14]
xor cl, cl
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
movlpd qword [esp + 0x44], xmm0
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
movlpd qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
mov al, cl
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], esi
mov dword [esp + 0x98], 0
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], cl
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
jmp 0x10086990
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, edi
test cl, cl
je 0x10086ab6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10086ab2
mov dword [esp + 0xbc], esi
xorps xmm0, xmm0
lea esi, [esp + 0x2c]
mov dword [esp + 0xb8], 0
push esi
push edi
mov dword [esp + 0xa0], 0
movlpd qword [esp + 0x34], xmm0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
xor al, al
mov byte [esp + 0x13], al
test esi, esi
jne 0x10086a8b
jmp 0x100869f0
mov esi, dword [esp + 0x2c]
mov eax, esi
add eax, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov ecx, edi
adc ecx, dword [esp + 0x58]
cmp ecx, ebp
jb 0x10086a23
ja 0x10086a1f
cmp eax, ebx
jb 0x10086a23
cmp ecx, ebp
ja 0x10086a1f
jb 0x10086a18
cmp eax, ebx
ja 0x10086a1f
cmp byte [esp + 0x12], 0
jne 0x10086a23
xor dl, dl
jmp 0x10086a25
mov dl, 1
cmp ecx, dword [esp + 0x28]
ja 0x10086ba1
jb 0x10086a3b
cmp eax, dword [esp + 0x24]
ja 0x10086ba1
test dl, dl
je 0x10086ba1
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x2c]
mov edi, dword [esp + 0x18]
add edx, 1
mov dword [esp + 0x44], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x20]
adc edi, 0
push esi
push edi
mov dword [esp + 0x60], ecx
movlpd qword [esp + 0x34], xmm0
mov ecx, dword [eax]
push edx
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edi
call dword [ecx + 0xc]
mov esi, eax
xor cl, cl
mov byte [esp + 0x13], cl
test esi, esi
je 0x100869f0
cmp esi, 1
je 0x10086ab2
cmp esi, 0x80004001
jne 0x10086d92
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10086ab2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x20], 0
mov al, byte [esp + 0x12]
test al, al
je 0x10086aee
mov ecx, dword [esp + 0xc8]
mov eax, ebx
sub ecx, dword [esp + 0x8c]
mov edx, ebp
add ecx, dword [esp + 0x90]
sub eax, dword [esp + 0x24]
sbb edx, dword [esp + 0x28]
cmp eax, ecx
jne 0x10086aee
test edx, edx
jne 0x10086aee
mov dword [esp + 0x98], 2
lea ecx, [esp + 0x6c]
call fcn.100a4cc0
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x8c]
mov esi, dword [edi + 0x20]
sub ecx, esi
mov eax, ecx
cdq
sub eax, dword [esp + 0xc8]
sbb edx, 0
sub eax, dword [esp + 0x34]
sbb edx, 0
add eax, ebx
mov dword [esp + 0x24], eax
adc edx, ebp
cmp dword [esp + 0xd4], 5
mov dword [esp + 0x28], edx
je 0x10086d55
mov eax, dword [esp + 0x94]
cmp eax, 4
jae 0x10086c14
mov edx, dword [edi + eax*4 + 0x10]
mov edi, dword [esp + eax*4 + 0x6c]
mov ecx, dword [esp + 0x2f8]
sub edi, edx
push edi
mov ecx, dword [ecx + eax*4]
call fcn.1000a156
mov esi, eax
test esi, esi
jne 0x10086d92
mov ecx, dword [esp + 0x94]
cmp ecx, 3
jne 0x10086b7d
add dword [esp + 0x3c], edi
adc dword [esp + 0x54], eax
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ecx*4 + 0x10]
mov dword [esp + ecx*4 + 0x6c], eax
mov ecx, dword [esp + 0x94]
mov eax, dword [edx + ecx*4 + 0x24]
add eax, dword [edx + ecx*4 + 0x10]
mov dword [esp + ecx*4 + 0x7c], eax
jmp 0x10086cbf
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x20]
add ecx, dword [esp + 0x34]
mov dword [esp + 0x90], ecx
test dl, dl
je 0x10086bdc
sub ecx, dword [esp + 0x8c]
mov edx, ebx
sub edx, eax
cmp ecx, edx
jb 0x10086d4e
sub dword [esp + 0x90], edx
mov dword [esp + 0x98], 1
test edi, edi
ja 0x10086ab2
jb 0x10086bf2
cmp esi, 0x80000000
ja 0x10086ab2
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], esi
jmp 0x10086ab2
jne 0x10086d4e
mov eax, dword [esp + 0x34]
cmp eax, ecx
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x13], 1
mov cl, byte [esp + 0x13]
je 0x10086c41
add eax, esi
mov dword [esp + 0x90], eax
mov al, byte [esp + 0x12]
jmp 0x10086986
mov al, byte [esp + 0x12]
test al, al
jne 0x10086986
mov ecx, dword [esp + 0x2ec]
mov eax, dword [edi + 0x34]
lea edi, [esp + 0x2c]
push edi
push eax
mov ecx, dword [ecx]
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x34], eax
mov edx, dword [ecx]
push esi
push ecx
mov dword [esp + 0x44], 0
call dword [edx + 0xc]
mov edi, dword [esp + 0x38]
mov esi, eax
test esi, esi
jne 0x10086d92
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x10086caa
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x12], 1
mov al, byte [esp + 0x12]
mov cl, al
jmp 0x10086986
mov eax, dword [edi + 0x20]
add ebx, ecx
mov dword [esp + 0x34], ecx
adc ebp, 0
add eax, ecx
mov dword [esp + 0x90], eax
mov esi, dword [esp + 0x304]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
test esi, esi
je 0x1008698a
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
sbb eax, dword [esp + 0x68]
mov dword [esp + 0x30], eax
jne 0x10086d08
mov al, byte [esp + 0x12]
cmp ecx, 0x100000
mov cl, byte [esp + 0x13]
jb 0x1008698a
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x4c], ecx
cdq
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x28]
mov eax, dword [esi]
push ecx
push esi
mov dword [esp + 0x70], edx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x10086d92
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
jmp 0x10086986
mov esi, 0x80004005
jmp 0x10086d92
mov ebp, dword [esp + 0x2f8]
lea ebx, [esp + 0x6c]
mov eax, dword [esp + 0x40]
xor edi, edi
sub ebx, ebp
mov edx, dword [eax]
mov eax, dword [ebx + ebp]
mov ecx, dword [ebp]
sub eax, edx
push eax
call fcn.1000a156
mov esi, eax
test esi, esi
jne 0x10086d92
mov eax, dword [esp + 0x40]
inc edi
add eax, 4
add ebp, 4
mov dword [esp + 0x40], eax
cmp edi, 4
jl 0x10086d68
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2e4], 0xffffffff
pop ebp
pop ebx
test ecx, ecx
je 0x10086dad
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
pop esi
pop edi
mov ecx, dword [esp + 0x2cc]
mov dword fs:[0], ecx
add esp, 0x2d8
ret 0x1c
mov ecx, dword [esp + 0x2d0]
mov eax, 0x80070057
pop edi
mov dword fs:[0], ecx
add esp, 0x2d8
ret 0x1c