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

Disassembly:
sub esp, 0x13c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14c]
push edi
lea eax, [esp + 0xc4]
push eax
push esi
lea ecx, [esp + 0xa8]
lea ebp, [esi + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x1e], 0
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1d], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea ebx, [esi + 0xc]
call fcn.1000d9d0
push eax
lea edx, [esp + 0x8c]
push edx
push esi
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.1000d9d0
mov ecx, eax
call fcn.10019320
mov ecx, eax
call fcn.1005d940
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 8]
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.10019300
fchs
mov edi, dword [esp + 0x154]
fstp dword [esp + 0x24]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
xor eax, eax
inc eax
mov dword [esp + 0x90], eax
cdq
mov ecx, 3
idiv ecx
mov eax, dword [esp + 0x154]
mov ecx, edi
lea edx, [edx + edx*2]
fld dword [eax + edx*4]
lea eax, [eax + edx*4]
fsub dword [edi]
mov edx, dword [ecx]
mov dword [esp + 0xac], edx
fstp dword [esp + 0x94]
fld dword [eax + 4]
mov edx, dword [esp + 0x94]
fsub dword [edi + 4]
mov dword [esp + 0xb8], edx
lea edx, [esp + 0xac]
push edx
fstp dword [esp + 0x9c]
fld dword [eax + 8]
mov eax, dword [ecx + 4]
fsub dword [edi + 8]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x9c]
fstp dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], eax
call fcn.10019300
fadd dword [esp + 0x24]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x1c]
fstp dword [esp + 0x18]
call fcn.10019300
fdivr dword [esp + 0x14]
fchs
fst dword [esp + 0x14]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
jne 0x10082048
fld dword [esp + 0x14]
fcomp dword [0x101054a8]
fnstsw ax
test ah, 0x41
je 0x10082048
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0xc0]
call fcn.100192d0
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xb4]
call fcn.10010d60
mov al, byte [esp + 0x12]
test al, al
jne 0x10081e7d
fld dword [esp + 0x18]
lea ecx, [esp + 0x48]
fadd dword [esi]
fstp dword [esp + 0x78]
fld dword [esp + 0x1c]
fadd dword [esi + 4]
fstp dword [esp + 0x7c]
fld dword [esp + 0x20]
fadd dword [esi + 8]
fstp dword [esp + 0x80]
call fcn.1000c460
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.1000d9d0
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0xec]
push eax
mov ecx, ebx
call fcn.1000d9d0
mov ecx, eax
call fcn.10019320
mov ecx, eax
call fcn.1005d940
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x78]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 8]
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], eax
call fcn.10019300
fchs
mov edx, dword [esp + 0x48]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov byte [esp + 0x12], 1
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x6c]
call fcn.10019300
fadd dword [esp + 0x74]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
jne 0x10082048
mov al, byte [esp + 0x13]
test al, al
jne 0x10081f81
fld dword [esp + 0x20]
push ecx
fadd dword [ebx + 8]
fstp dword [esp]
push ecx
fld dword [esp + 0x24]
fadd dword [ebx + 4]
fstp dword [esp]
push ecx
fld dword [esp + 0x24]
lea ecx, [esp + 0xac]
fadd dword [ebx]
fstp dword [esp]
call fcn.1000d3e0
lea ecx, [esp + 0x58]
call fcn.1000c460
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x114]
push eax
mov ecx, ebx
call fcn.1000d9d0
push eax
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0xf8]
push eax
mov ecx, ebp
call fcn.1000d9d0
mov ecx, eax
call fcn.10019320
mov ecx, eax
call fcn.1005d940
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 8]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], eax
call fcn.10019300
fchs
mov edx, dword [esp + 0x58]
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov byte [esp + 0x13], 1
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x3c]
call fcn.10019300
fadd dword [esp + 0x44]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
jne 0x10082048
mov al, byte [esp + 0x11]
test al, al
jne 0x10082012
fld dword [esp + 0x20]
push ecx
fadd dword [ebp + 8]
fstp dword [esp]
push ecx
fld dword [esp + 0x24]
fadd dword [ebp + 4]
fstp dword [esp]
push ecx
fld dword [esp + 0x24]
lea ecx, [esp + 0xd0]
fadd dword [ebp]
fstp dword [esp]
call fcn.1000d3e0
push ebp
push esi
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x148]
call fcn.1007f7e0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov byte [esp + 0x11], 1
fld dword [esp + 0x30]
fmul dword [esp + 0x8c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x88]
faddp st(1)
fld dword [esp + 0x84]
fmul dword [esp + 0x28]
faddp st(1)
fadd dword [esp + 0x34]
fcomp dword [0x10105488]
fnstsw ax
test ah, 1
je 0x1008206a
mov eax, dword [esp + 0x90]
add edi, 0xc
cmp eax, 3
jl 0x10081c9a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x13c
ret 8
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x13c
ret 8