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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
fld qword [ebp + 0xc]
push ebx
fld qword [0x30293678]
push esi
fld st(1)
push edi
fucompp
fnstsw ax
test ah, 0x44
jnp 0x30086d1d
fcom qword [0x30293678]
fnstsw ax
test ah, 5
jp 0x30086d12
fchs
fld qword [0x30294f50]
fdiv st(1)
fstp qword [ebp + 0xc]
fstp st(0)
fld qword [ebp + 0x14]
fld qword [0x30293678]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x30086d4d
fcom qword [0x30293678]
fnstsw ax
test ah, 5
jp 0x30086d42
fchs
fld qword [0x30294f50]
fdiv st(1)
fstp qword [ebp + 0x14]
mov esi, dword [ecx + 0x34]
fstp st(0)
test esi, esi
je 0x30087502
mov eax, dword [esi + 0x10]
test eax, eax
je 0x30087502
push 0x808
call fcn.3007a1f0
mov edi, eax
push 0x8080
mov dword [esp + 0x98], edi
call fcn.3007a1f0
mov ebx, dword [esi]
push eax
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x20]
cmp ebx, 8
push edi
sete byte [esp + 0x1f]
call fcn.30082110
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov edi, dword [eax + 8]
sub ecx, ebx
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0xc]
sub ecx, edi
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x34]
push ecx
push eax
push esi
call fcn.300802a0
mov edi, dword [esp + 0x40]
mov esi, eax
mov al, byte [ebp + 0x30]
xor ebx, ebx
add esp, 0x1c
sar edi, 2
test al, al
mov al, byte [ebp + 0x2c]
mov dword [esp + 0x38], 0xff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
je 0x30086df6
mov ebx, 1
jmp 0x30086e09
test al, 1
je 0x30086dff
mov ebx, 1
test al, 2
je 0x30086e04
inc ebx
test al, 4
je 0x30086e09
inc ebx
mov cl, byte [esp + 0xf]
test cl, cl
je 0x30086e16
test al, 8
je 0x30086e16
inc ebx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov al, byte [ebp + 0x24]
test al, al
mov dword [esp + 0x94], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x88], ecx
je 0x30086f97
cmp dword [esp + 0x30], ecx
je 0x30086f97
cmp dword [esp + 0x34], ecx
je 0x30086f97
fld qword [0x30293678]
fld qword [ebp + 0xc]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x30086ed1
fild dword [esp + 0x30]
sub esp, 8
fst qword [esp + 0x20]
fmul qword [ebp + 0xc]
fst qword [esp + 0x58]
fstp qword [esp]
call fcn.3002e0b0
fdiv qword [esp + 0x20]
fstp qword [esp + 0x68]
fld qword [esp + 0x58]
fstp qword [esp]
call fcn.3002e080
fdiv qword [esp + 0x20]
add esp, 8
fld qword [ebp + 0xc]
fdiv qword [esp + 0x60]
fld st(1)
fdiv qword [ebp + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x30086ece
fstp st(0)
fld qword [esp + 0x60]
fstp qword [ebp + 0xc]
fld qword [0x30293678]
fld qword [ebp + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x30086f36
fild dword [esp + 0x34]
sub esp, 8
fst qword [esp + 0x20]
fmul qword [ebp + 0x14]
fst qword [esp + 0x58]
fstp qword [esp]
call fcn.3002e0b0
fdiv qword [esp + 0x20]
fstp qword [esp + 0x68]
fld qword [esp + 0x58]
fstp qword [esp]
call fcn.3002e080
fdiv qword [esp + 0x20]
add esp, 8
fld qword [ebp + 0x14]
fdiv qword [esp + 0x60]
fld st(1)
fdiv qword [ebp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x30086f33
fstp st(0)
fld qword [esp + 0x60]
fstp qword [ebp + 0x14]
fild dword [esp + 0x30]
lea edx, [esp + 0x3c]
mov dword [esp + 0x88], edx
fmul qword [ebp + 0xc]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fistp dword [esp + 0x24]
fild dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x94], eax
add eax, 0x1000
fmul qword [ebp + 0x14]
mov dword [esp + 0x9c], eax
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fistp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x98], eax
add eax, 0x1000
mov dword [esp + 0xa0], eax
xor ecx, ecx
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
jle 0x300874da
lea eax, [edi*4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], esi
jmp 0x30086fc0
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x5c], 0
jle 0x300874b7
mov al, byte [ebp + 0x24]
test al, al
je 0x30087007
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
fld qword [0x30293678]
mov eax, dword [ebp + 0x1c]
test eax, eax
fstp qword [esp + 0x68]
fld qword [0x30293678]
fstp qword [esp + 0x70]
fld qword [0x30293678]
fstp qword [esp + 0x78]
fld qword [0x30293678]
fstp qword [esp + 0x80]
fld qword [0x302967c8]
fstp qword [esp + 0x18]
fld qword [ebp + 0xc]
fstp qword [esp + 0xc0]
fld qword [ebp + 0x14]
fstp qword [esp + 0xc8]
jle 0x30087221
fild dword [esp + 0x5c]
mov edi, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp + 0x1c]
fstp qword [esp + 0xe0]
sub eax, edi
fild dword [esp + 0x4c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x24], edx
fstp qword [esp + 0x10]
jmp 0x30087090
mov eax, dword [esp + 0xbc]
fld qword [esp + 0xe0]
fadd qword [eax + edi]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
push ebx
fmul qword [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x98]
fstp qword [esp + 0x110]
lea edx, [esp + 0xf0]
fld qword [esp + 0x18]
push edx
fadd qword [edi]
lea edx, [esp + 0x114]
fmul qword [esp + 0xd4]
fstp qword [esp + 0x11c]
call fcn.30082320
mov al, byte [ebp + 0x28]
add esp, 0xc
test al, al
je 0x3008717a
xor eax, eax
cmp ebx, 4
jl 0x30087159
lea ecx, [ebx - 3]
fld qword [esp + 0x18]
add eax, 4
cmp eax, ecx
fmul qword [esp + eax*8 + 0xc8]
fadd qword [esp + eax*8 + 0x48]
fstp qword [esp + eax*8 + 0x48]
fld qword [esp + 0x18]
fmul qword [esp + eax*8 + 0xd0]
fadd qword [esp + eax*8 + 0x50]
fstp qword [esp + eax*8 + 0x50]
fld qword [esp + 0x18]
fmul qword [esp + eax*8 + 0xd8]
fadd qword [esp + eax*8 + 0x58]
fstp qword [esp + eax*8 + 0x58]
fld qword [esp + 0x18]
fmul qword [esp + eax*8 + 0xe0]
fadd qword [esp + eax*8 + 0x60]
fstp qword [esp + eax*8 + 0x60]
jl 0x30087106
cmp eax, ebx
jge 0x300871a6
lea ecx, [ecx]
fld qword [esp + 0x18]
inc eax
cmp eax, ebx
fmul qword [esp + eax*8 + 0xe0]
fadd qword [esp + eax*8 + 0x60]
fstp qword [esp + eax*8 + 0x60]
jl 0x30087160
jmp 0x300871a6
xor esi, esi
test ebx, ebx
jle 0x300871a6
fld qword [esp + esi*8 + 0xe8]
sub esp, 8
fstp qword [esp]
call fcn.3002dff0
fmul qword [esp + 0x20]
add esp, 8
inc esi
cmp esi, ebx
fadd qword [esp + esi*8 + 0x60]
fstp qword [esp + esi*8 + 0x60]
jl 0x30087180
fld qword [esp + 0xc0]
mov al, byte [ebp + 0x24]
test al, al
fadd st(0), st(0)
fstp qword [esp + 0xc0]
fld qword [esp + 0xc8]
fadd st(0), st(0)
fstp qword [esp + 0xc8]
fld qword [esp + 0x18]
fmul qword [0x302964a8]
fstp qword [esp + 0x18]
je 0x3008720f
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax]
lea eax, [edx + edx - 0x1000]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
lea edx, [ecx + ecx]
lea ecx, [eax + eax - 0x1000]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x24]
add edi, 8
dec eax
mov dword [esp + 0x24], eax
jne 0x30087090
mov cl, byte [ebp + 0x28]
xor eax, eax
test cl, cl
mov cl, byte [ebp + 0x30]
jne 0x3008732a
test cl, cl
je 0x3008726e
fld qword [esp + 0x68]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xb4]
mov eax, dword [esp + 0xb4]
mov dl, byte [ebp + 0x2c]
mov esi, eax
mov edi, eax
mov ecx, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov eax, 1
jmp 0x300872f3
mov dl, byte [ebp + 0x2c]
test dl, 1
je 0x3008729b
fld qword [esp + 0x68]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xd8]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x2c], ecx
mov eax, 1
jmp 0x3008729f
mov ecx, dword [esp + 0x2c]
test dl, 2
je 0x300872c5
fld qword [esp + eax*8 + 0x68]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xa4]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x28], edi
inc eax
jmp 0x300872c9
mov edi, dword [esp + 0x28]
test dl, 4
je 0x300872ef
fld qword [esp + eax*8 + 0x68]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xa8]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x20], esi
inc eax
jmp 0x300872f3
mov esi, dword [esp + 0x20]
cmp byte [esp + 0xf], 0
je 0x30087438
test dl, 8
je 0x30087438
fld qword [esp + eax*8 + 0x68]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x38], eax
jmp 0x3008743c
test cl, cl
je 0x3008736d
fld qword [esp + 0x68]
fadd qword [0x302967c8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xb8]
mov esi, dword [esp + 0xb8]
mov dl, byte [ebp + 0x2c]
sar esi, 1
mov edi, esi
mov ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov eax, 1
jmp 0x3008740a
mov dl, byte [ebp + 0x2c]
test dl, 1
je 0x300873a2
fld qword [esp + 0x68]
fadd qword [0x302967c8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xdc]
mov ecx, dword [esp + 0xdc]
sar ecx, 1
mov dword [esp + 0x2c], ecx
mov eax, 1
jmp 0x300873a6
mov ecx, dword [esp + 0x2c]
test dl, 2
je 0x300873d4
fld qword [esp + eax*8 + 0x68]
fadd qword [0x302967c8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xac]
mov edi, dword [esp + 0xac]
sar edi, 1
mov dword [esp + 0x28], edi
inc eax
jmp 0x300873d8
mov edi, dword [esp + 0x28]
test dl, 4
je 0x30087406
fld qword [esp + eax*8 + 0x68]
fadd qword [0x302967c8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xd4]
mov esi, dword [esp + 0xd4]
sar esi, 1
mov dword [esp + 0x20], esi
inc eax
jmp 0x3008740a
mov esi, dword [esp + 0x20]
cmp byte [esp + 0xf], 0
je 0x30087438
test dl, 8
je 0x30087438
fld qword [esp + eax*8 + 0x68]
fadd qword [0x302967c8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
sar eax, 1
mov dword [esp + 0x38], eax
jmp 0x3008743c
mov eax, dword [esp + 0x38]
test eax, eax
jge 0x30087444
xor eax, eax
jmp 0x30087450
cmp eax, 0xff
jle 0x30087454
mov eax, 0xff
mov dword [esp + 0x38], eax
test ecx, ecx
jge 0x3008745c
xor ecx, ecx
jmp 0x30087462
cmp ecx, eax
jle 0x30087466
mov ecx, eax
mov dword [esp + 0x2c], ecx
test edi, edi
jge 0x3008746e
xor edi, edi
jmp 0x30087474
cmp edi, eax
jle 0x30087478
mov edi, eax
mov dword [esp + 0x28], edi
test esi, esi
jge 0x30087480
xor esi, esi
jmp 0x30087486
cmp esi, eax
jle 0x3008748a
mov esi, eax
mov dword [esp + 0x20], esi
mov edx, eax
mov eax, dword [esp + 0x5c]
shl edx, 8
add edx, ecx
mov ecx, dword [esp + 0x58]
shl edx, 8
add edx, edi
shl edx, 8
add edx, esi
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x5c], eax
jl 0x30086fd4
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
add esi, edx
cmp eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], esi
jl 0x30086fc0
mov eax, dword [esp + 0x90]
push eax
call fcn.30208320
mov ecx, dword [esp + 0x90]
push ecx
call fcn.30208320
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x34