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

Disassembly:
push 0xffffffffffffffff
push 0x10102dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov al, byte [esp + 0x1b]
push ebx
push ebp
xor edx, edx
push esi
push edi
mov byte [esp + 0x30], al
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov al, byte [esp + 0xb4]
test al, al
mov dword [esp + 0xa4], edx
je 0x10087f14
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb0]
mov ebp, dword [eax + 0x60]
mov esi, dword [eax + 0x64]
mov ebx, 1
shl ebx, cl
dec ebp
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
imul ebp, ebx
inc ebp
dec esi
imul esi, ebx
inc esi
mov edi, esi
imul edi, ebp
cmp edi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x20], edi
jbe 0x10087bb4
lea ecx, [esp + 0x70]
push ecx
push edi
push edx
lea ecx, [esp + 0x3c]
call fcn.10089ed0
jmp 0x10087bdd
lea ecx, [esp + 0x30]
call fcn.10089b80
cmp edi, eax
jae 0x10087bdd
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
lea eax, [edi + edi*4]
lea ecx, [edi + eax*2]
lea eax, [edx + ecx*4]
push eax
lea ecx, [esp + 0x38]
call fcn.1008a1d0
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0xc]
mov ecx, dword [0x10139368]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*4]
mov dword [esp + 0x1c], edx
xor edx, edx
cmp esi, edx
mov dword [esp + 0x14], edx
jle 0x10087c7a
mov eax, ebp
imul eax, ebx
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
shl eax, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
cmp ebp, edx
jle 0x10087c62
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*2]
shl eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
lea edi, [ecx + eax]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, 0x2c
add edx, ebx
add eax, esi
cmp edx, ebp
mov dword [esp + 0x1c], ecx
jl 0x10087c2f
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
xor edx, edx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
add ecx, ebx
add edi, eax
cmp ecx, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
jl 0x10087c1a
cmp esi, edx
mov dword [esp + 0x14], edx
jle 0x10087cea
mov eax, ebp
imul eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
lea ecx, [ebp - 1]
cmp ecx, edx
mov dword [esp + 0x1c], edx
jle 0x10087cd2
mov esi, dword [esp + 0x10]
lea edi, [ebx + ebx]
mov edx, dword [esp + 0xbc]
push ebx
push esi
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.100881f0
mov eax, dword [esp + 0x1c]
add eax, edi
lea ecx, [ebp - 1]
add esi, edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x10087ca1
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
xor edx, edx
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
add ecx, ebx
add edi, eax
cmp ecx, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
jl 0x10087c8f
xor edi, edi
cmp ebp, edx
mov dword [esp + 0x1c], edi
jle 0x10087d46
lea eax, [esi - 1]
cmp eax, edx
mov dword [esp + 0x14], edx
jle 0x10087d3d
mov esi, ebp
imul esi, ebx
mov ecx, dword [esp + 0xbc]
push esi
push edi
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.100881f0
mov eax, dword [esp + 0x14]
lea ecx, [ebx + ebx]
add eax, ecx
lea ecx, [esi + esi]
add edi, ecx
mov ecx, dword [esp + 0x24]
dec ecx
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x10087d04
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
xor edx, edx
inc edi
cmp edi, ebp
mov dword [esp + 0x1c], edi
jl 0x10087cf4
mov ecx, dword [esp + 0xac]
mov edi, dword [ecx]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x24], edi
add edi, 0xc
test edx, edx
jne 0x10087d61
xor eax, eax
jmp 0x10087d69
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
sub eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x10087df0
xor ebx, ebx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [0x10139488]
lea eax, [ebx + edx]
push eax
push 1
push ecx
mov ecx, 0x10139480
call fcn.10089ed0
mov eax, dword [0x10139484]
test eax, eax
jne 0x10087da6
xor edx, edx
jmp 0x10087dbf
mov ecx, dword [0x10139488]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [edi + 8]
lea ecx, [esp + 0x18]
push ecx
push 1
neg edx
push eax
mov ecx, edi
mov dword [esp + 0x24], edx
call fcn.1008a4c0
mov eax, dword [esp + 0x10]
add ebx, 0x2c
dec eax
mov dword [esp + 0x10], eax
jne 0x10087d7e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 8]
add edx, eax
dec esi
test esi, esi
mov dword [ecx + 8], edx
mov dword [esp + 0x1c], esi
jle 0x10087eff
mov edx, dword [esp + 0x2c]
lea edi, [ebp - 1]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], esi
test edi, edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jle 0x10087ee6
mov ecx, dword [esp + 0x24]
lea esi, [ecx + 0x1c]
mov ebx, edi
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.1008a4c0
mov eax, dword [esp + 0x14]
add eax, ebp
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.1008a4c0
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
push 1
inc edx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.1008a4c0
mov edx, dword [esp + 0x14]
lea eax, [edx + ebp + 1]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.1008a4c0
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
push 1
inc edx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.1008a4c0
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
push 1
add edx, ebp
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.1008a4c0
mov ecx, dword [esp + 0x14]
inc ecx
dec ebx
mov dword [esp + 0x14], ecx
jne 0x10087e2d
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add edx, ebp
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jne 0x10087e14
lea edx, [ebp + ebp*2]
lea eax, [edx + edx - 6]
mov edx, dword [ecx + 0x10]
imul eax, esi
add edx, eax
mov dword [ecx + 0x10], edx
xor edx, edx
mov al, byte [esp + 0xb8]
test al, al
je 0x100881b9
mov cl, byte [esp + 0x2b]
mov byte [esp + 0x40], cl
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov esi, dword [esp + 0xb0]
mov ebx, dword [esi + 0x64]
mov ebp, dword [esi + 0x60]
mov dword [esp + 0x24], ebx
imul ebx, ebp
cmp ebx, edx
mov byte [esp + 0xa4], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x10], ebx
jbe 0x10087faa
lea eax, [esp + 0x70]
push eax
push ebx
push edx
lea ecx, [esp + 0x4c]
call fcn.10089ed0
jmp 0x10087fd3
lea ecx, [esp + 0x40]
call fcn.10089b80
cmp ebx, eax
jae 0x10087fd3
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [ebx + ebx*4]
lea eax, [ebx + edx*2]
lea edx, [ecx + eax*4]
push edx
lea ecx, [esp + 0x48]
call fcn.1008a1d0
test ebx, ebx
mov eax, dword [esi + 0xc]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [0x10139368]
lea eax, [eax + edx*4]
jle 0x1008800f
xor edx, edx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x44]
lea edi, [edx + ecx]
mov esi, eax
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
add eax, 0x2c
add edx, 0x2c
dec ecx
mov dword [esp + 0x20], ecx
jne 0x10087fee
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x10088053
mov edx, eax
xor edi, edi
mov dword [esp + 0x20], edx
lea eax, [ebp - 1]
test eax, eax
jle 0x10088046
lea ebx, [eax + 1]
mov esi, edi
shr ebx, 1
push 1
push esi
push 0
lea eax, [esp + 0x4c]
push eax
call fcn.100881f0
add esi, 2
dec ebx
jne 0x1008802d
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add edi, ebp
dec eax
mov dword [esp + 0x20], eax
jne 0x1008801f
xor eax, eax
test ebp, ebp
mov dword [esp + 0x1c], eax
jle 0x10088095
mov ecx, dword [esp + 0x24]
lea esi, [ecx - 1]
test esi, esi
jle 0x1008808c
inc esi
lea edi, [ebp + ebp]
mov ebx, eax
shr esi, 1
push ebp
push ebx
push 0
lea edx, [esp + 0x4c]
push edx
call fcn.100881f0
add ebx, edi
dec esi
jne 0x10088071
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, ebp
mov dword [esp + 0x1c], eax
jl 0x1008805d
mov eax, dword [0x101393a4]
test eax, eax
jne 0x100880a2
xor ecx, ecx
jmp 0x100880bc
mov ecx, dword [0x101393a8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ecx, edx
mov eax, 0xba2e8ba3
mul dword [0x1013936c]
mov edi, edx
shr edi, 5
add edi, ecx
test ebx, ebx
jle 0x1008810f
xor esi, esi
mov eax, dword [esp + 0x44]
fld dword [esi + eax]
mov edx, dword [0x101393a8]
fld dword [esi + eax + 8]
lea ecx, [esp + 0x64]
fld dword [esi + eax + 4]
push ecx
fchs
push 1
fstp dword [esp + 0x6c]
push edx
fstp dword [esp + 0x74]
mov ecx, 0x101393a0
fstp dword [esp + 0x78]
call fcn.10085020
add esi, 0x2c
dec ebx
jne 0x100880d4
mov ecx, dword [esp + 0x24]
xor eax, eax
dec ecx
cmp ecx, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
jle 0x100881ac
mov eax, edi
dec ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
xor ebx, ebx
test ebp, ebp
jle 0x10088197
lea esi, [eax + 1]
add eax, ebx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x58], eax
mov eax, dword [0x101394b0]
push 1
lea edi, [esi + ebp]
push eax
mov ecx, 0x101394a8
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
call fcn.1006f000
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
lea edx, [esi + ecx]
mov ecx, dword [0x101394b0]
push eax
push 1
push ecx
mov ecx, 0x101394a8
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edi
call fcn.1006f000
mov eax, dword [esp + 0x10]
inc esi
inc ebx
cmp ebx, ebp
jl 0x1008813a
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add eax, edx
dec ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jne 0x10088131
mov edx, dword [esp + 0x44]
push edx
call fcn.10090902
add esp, 4
mov eax, dword [esp + 0x34]
push eax
call fcn.10090902
mov ecx, dword [esp + 0xa0]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 0x14