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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
fld dword [edi + 0x8c]
mov eax, dword [edi + 0xc]
fild dword [edi + 0xc]
test eax, eax
jns 0x4180f4
fadd dword [0x464930]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0xc], eax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x1c]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], ebx
fldcw word [ebp - 2]
fild dword [edi + 0x10]
test eax, eax
jns 0x41812a
fadd dword [0x464930]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0xc], eax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
fldcw word [ebp - 2]
fild dword [edi + 0x14]
test eax, eax
jns 0x418160
fadd dword [0x464930]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0xc], eax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x18]
fldcw word [ebp - 2]
fild dword [edi + 0x18]
test eax, eax
jns 0x418199
fadd dword [0x464930]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x1c]
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov dword [edi + 0x18], esi
fldcw word [ebp - 2]
fild dword [edi + 0x1c]
test eax, eax
jns 0x4181cf
fadd dword [0x464930]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fdiv st(1)
shr esi, 1
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0xc], eax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x1c], eax
mov eax, dword [0x46b870]
fldcw word [ebp - 2]
cdq
sub eax, edx
sar eax, 1
fild dword [edi + 0x24]
mov ecx, eax
mov dword [ebp - 0xc], eax
sub ecx, esi
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 0x24]
test ecx, ecx
jns 0x41821b
fadd dword [0x464930]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x28]
fldcw word [ebp - 2]
fild dword [edi + 0x28]
test eax, eax
jns 0x418251
fadd dword [0x464930]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x2c]
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x28], ecx
fldcw word [ebp - 2]
fild dword [edi + 0x2c]
test eax, eax
jns 0x418287
fadd dword [0x464930]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdiv st(1)
mov edx, dword [ebp - 8]
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
mov dword [edx + 0x2c], edi
fldcw word [ebp - 2]
fild dword [edx + 0x30]
test eax, eax
jns 0x4182c0
fadd dword [0x464930]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x34]
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov dword [edx + 0x30], esi
fldcw word [ebp - 2]
fild dword [edx + 0x34]
test eax, eax
jns 0x4182f6
fadd dword [0x464930]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdiv st(1)
shr ecx, 1
shr esi, 1
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0xc]
fldcw word [ebp - 2]
sub eax, ecx
shr edx, 1
mov ecx, dword [ebp - 8]
fild dword [0x46b874]
mov dword [ecx + 0x38], eax
fnstcw word [ebp - 2]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
movzx eax, word [ebp - 2]
fld qword [str.333333]
or eax, 0xc00
mov dword [ebp - 0x10], eax
mov eax, dword [0x46b874]
fmul st(1)
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
sub ecx, edx
cdq
sub eax, edx
fldcw word [ebp - 2]
sar eax, 1
fmul qword [0x4648f0]
lea edx, [ecx + eax]
mov eax, dword [ebp - 8]
mov ecx, edx
fnstcw word [ebp - 2]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0xc]
sub eax, esi
mov esi, dword [ebp - 8]
mov dword [esi + 0x40], eax
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
sub ecx, eax
mov dword [esi + 0x44], ecx
fldcw word [ebp - 2]
fld qword [0x464918]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x10], eax
lea eax, [edx + edi]
mov edi, dword [ebp - 0x18]
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov esi, dword [0x46b874]
fldcw word [ebp - 2]
sub esi, ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x50], esi
fild dword [ebx + 0x54]
test eax, eax
jns 0x4183f6
fadd dword [0x464930]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x18], eax
fldcw word [ebp - 0x18]
fistp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x58]
fldcw word [ebp - 2]
fild dword [ebx + 0x58]
test eax, eax
jns 0x41842c
fadd dword [0x464930]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
mov edx, esi
fdiv st(1)
sub edx, ecx
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x60], edx
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x18], eax
fldcw word [ebp - 0x18]
fistp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x64]
fldcw word [ebp - 2]
fild dword [ebx + 0x64]
test eax, eax
jns 0x41846c
fadd dword [0x464930]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fdiv st(1)
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x18], eax
fldcw word [ebp - 0x18]
fistp qword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x64], ecx
fldcw word [ebp - 2]
fild dword [ebx + 0x68]
test eax, eax
jns 0x4184a2
fadd dword [0x464930]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fdiv st(1)
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x84], esi
mov dword [ebx + 0x78], edx
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x18], eax
fldcw word [ebp - 0x18]
fistp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x68], eax
mov eax, dword [0x46b870]
fldcw word [ebp - 2]
sub eax, ecx
mov ecx, esi
sub eax, edi
mov dword [ebx + 0x6c], eax
pop edi
fdivr qword [0x464928]
pop esi
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
or eax, 0xc00
mov dword [ebp - 0x18], eax
fldcw word [ebp - 0x18]
fistp qword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x74], ecx
fldcw word [ebp - 2]
mov dword [ebx + 0x80], eax
pop ebx
mov esp, ebp
pop ebp