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

Disassembly:
push 0xffffffffffffffff
push 0x10102db6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [esp + 0x88]
push ebx
push ebp
push esi
mov esi, dword [0x10139338]
lea ebp, [eax + eax*2]
push edi
shl ebp, 4
push 0x2c
mov dword [esp + 0x40], ecx
add ebp, esi
call fcn.1009e195
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x90], ebx
je 0x10087710
lea ecx, [esi + 4]
call fcn.10081420
mov al, byte [esp + 0x13]
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 0x18], esi
jmp 0x10087716
mov dword [esp + 0x18], ebx
mov esi, ebx
mov ecx, dword [ebp]
mov dword [esi], ecx
fild dword [ebp + 0x10]
fild dword [ebp + 0xc]
mov dword [esp + 0x90], 0xffffffff
fild dword [ebp + 8]
fstp dword [esp + 0x30]
fild dword [ebp + 0x1c]
fstp dword [esp + 0x28]
fild dword [ebp + 0x18]
fstp dword [esp + 0x2c]
fild dword [ebp + 0x14]
fstp dword [esp + 0x24]
fchs
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], eax
fstp dword [esp + 0x68]
fld dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x6c]
fld dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
fchs
mov dword [esp + 0x78], edx
fld dword [esp + 0x28]
mov dword [esp + 0x84], edx
lea edx, [esi + 4]
fstp dword [esp + 0x68]
fld dword [esp + 0x24]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x80], ecx
fstp dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
mov ecx, 6
lea esi, [esp + 0x70]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
fcom dword [edx]
fnstsw ax
test ah, 1
je 0x100877b5
fst dword [edx]
fld dword [esp + 0x68]
fcomp dword [edx + 4]
fnstsw ax
test ah, 1
je 0x100877ca
mov eax, dword [esp + 0x68]
mov dword [edx + 4], eax
fld dword [esp + 0x6c]
fcomp dword [edx + 8]
fnstsw ax
test ah, 1
je 0x100877df
mov ecx, dword [esp + 0x6c]
mov dword [edx + 8], ecx
fcom dword [edx + 0xc]
fnstsw ax
test ah, 0x41
jne 0x100877ee
fstp dword [edx + 0xc]
jmp 0x100877f0
fstp st(0)
fld dword [esp + 0x68]
fcomp dword [edx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x10087805
mov eax, dword [esp + 0x68]
mov dword [edx + 0x10], eax
fld dword [esp + 0x6c]
fcomp dword [edx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x1008781a
mov ecx, dword [esp + 0x6c]
mov dword [edx + 0x14], ecx
cmp dword [ebp + 0x24], ebx
mov edx, dword [ebp + 0x20]
mov eax, dword [0x10139340]
lea eax, [eax + edx*4]
mov dword [esp + 0x2c], ebx
jle 0x10087ab1
mov esi, eax
mov dword [esp + 0x30], esi
mov ecx, dword [esi]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, 0x101394c0
call fcn.1008a450
mov eax, dword [esp + 0x34]
cmp eax, dword [0x101394c4]
je 0x10087884
mov ecx, dword [eax + 0x10]
add eax, 0x10
cmp ecx, ebx
je 0x10087a96
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x24]
push eax
add ecx, 0x1c
push 1
push edx
call fcn.1008a4c0
jmp 0x10087a96
mov eax, dword [esi]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [0x10139380]
lea edi, [eax + edx*8]
mov eax, dword [edi + 8]
cmp eax, 1
je 0x100878ab
cmp eax, 3
je 0x100878ab
cmp eax, 2
je 0x100878c6
jmp 0x10087a96
mov eax, dword [edi + 0x18]
cmp eax, ebx
je 0x10087a96
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x10087a96
mov eax, dword [edi]
cmp eax, ebx
mov cl, 1
mov byte [esp + 0x24], cl
jl 0x100878f2
lea edx, [eax + eax*8]
mov eax, dword [0x10139320]
lea eax, [eax + edx*8]
test byte [eax + 0x44], cl
je 0x10087a96
test byte [eax + 0x40], 0x84
je 0x100878f2
xor cl, cl
mov byte [esp + 0x24], cl
xor eax, eax
cmp cl, bl
mov dword [esp + 0x14], eax
je 0x10087a72
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x101392f0
mov dword [esp + 0x24], edi
call fcn.10089e10
mov eax, dword [esp + 0x38]
cmp eax, dword [0x101392f4]
je 0x1008792c
mov esi, dword [eax + 0x10]
jmp 0x100879c8
push 0x2c
call fcn.1009e195
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov dword [esp + 0x90], 1
je 0x10087952
mov ecx, eax
call fcn.10087ad0
jmp 0x10087954
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [edx + 8], ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x98], 0xffffffff
call fcn.1008b8b0
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x58]
call fcn.1008b7c0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x101392f0
call fcn.10089a50
mov eax, dword [0x10139250]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, 0x10139248
call fcn.10064cc0
mov esi, dword [esp + 0x20]
push 0x14
call fcn.1009e195
mov dword [esp + 0x18], eax
mov dword [eax], esi
mov ecx, dword [esi + 0x10]
add esp, 4
cmp ecx, ebx
jne 0x100879e3
xor eax, eax
jmp 0x100879eb
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x100879fd
xor esi, esi
jmp 0x10087a05
mov esi, dword [esi + 0x24]
sub esi, eax
sar esi, 2
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], esi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 8], ebx
lea ecx, [edx + 0x1c]
mov edx, dword [ecx + 8]
lea eax, [esp + 0x14]
push eax
push edx
call fcn.10064cc0
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x14]
lea ecx, [eax + 0x10]
mov eax, dword [ecx + 8]
push edx
push 1
push eax
call fcn.1008a4c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x101394c0
mov dword [esp + 0x50], edx
call fcn.1008a210
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
cmp dword [edi + 8], 2
push 1
jne 0x10087a8a
mov edx, dword [esp + 0x28]
push 1
push edx
push edi
push eax
call fcn.10087b00
jmp 0x10087a96
mov ecx, dword [esp + 0x28]
push ecx
push edi
push eax
call fcn.100884b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x24]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
jl 0x10087838
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 4