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

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0xa8
mov eax, dword [esp + 0xc8]
fldz
fldz
fldz
fld dword [eax]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
fstp dword [esp + 0x54]
fld dword [eax + 4]
mov eax, dword [esp + 0xc8]
fstp dword [esp + 0x58]
fld dword [eax + 8]
mov eax, dword [esp + 0xc8]
fstp dword [esp + 0x5c]
fld dword [eax + 0xc]
fstp dword [esp + 0x30]
fld dword [ecx + 0x14]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fmul dword [esp + 0x58]
fld dword [ecx + 0x10]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [ecx + 0x18]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fmul dword [esp + 0x5c]
faddp st(1)
fsub dword [esp + 0x30]
fld dword [ecx + 4]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x58]
fld dword [ecx]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [ecx + 8]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fmul dword [esp + 0x5c]
faddp st(1)
fsub dword [esp + 0x30]
fmulp st(1)
fcomp dword [0x686d34]
fnstsw ax
test ah, 4
jne 0x412e43
and ah, 0x45
test ah, 0x41
je 0x412e43
fld dword [esp + 0x38]
fsub dword [esp + 0x60]
lea edi, [esp + 0x78]
fstp dword [esp + 0x74]
fld dword [esp + 0x44]
fsub dword [esp + 0x64]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x90], eax
lea esi, [esp + 0x90]
fstp dword [esp + 0x70]
fld dword [esp + 0x4c]
fsub dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x94], eax
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x98], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [esp + 0x58]
mov eax, dword [esp + 0x7c]
lea edi, [esp + 0x84]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x80]
fmul dword [esp + 0x48]
fld dword [esp + 0x54]
fmul dword [esp + 0x78]
mov dword [esp + 0x3c], eax
faddp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x3c]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [esp + 0x64]
fld dword [esp + 0x54]
fmul dword [esp + 0x60]
fsubr dword [esp + 0x30]
fsubrp st(1)
fld dword [esp + 0x5c]
fmul dword [esp + 0x68]
fsubp st(1)
fdivrp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fmul dword [esp + 0x78]
fadd dword [esp + 0x60]
fstp dword [esp + 0x9c]
fld dword [esp + 0x50]
fmul dword [esp + 0x48]
lea esi, [esp + 0x9c]
fadd dword [esp + 0x64]
fstp dword [esp + 0xa0]
fld dword [esp + 0x50]
fmul dword [esp + 0x3c]
fadd dword [esp + 0x68]
fstp dword [esp + 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc8]
movzx eax, byte [eax + 0x10]
cmp eax, 5
ja case.default.0x412981
jmp dword [eax*4 + 0x686d68]
movzx eax, word [ebx]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 4]
fstp st(3)
fld st(2)
fstp st(3)
fld dword [ebp + eax + 8]
movzx eax, word [ebx + 2]
fstp st(2)
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 4]
fst st(1)
fstp dword [esp + 0x10]
fld dword [ebp + eax + 8]
fstp dword [esp + 0x14]
movzx eax, word [ebx + 4]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp st(1)
fld dword [ebp + eax + 8]
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
fstp dword [esp + 4]
mov dword [esp + 0xc], eax
jmp case.default.0x412981
movzx eax, word [ebx]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 4]
fstp st(3)
fld st(2)
fstp st(3)
fld dword [ebp + eax + 8]
movzx eax, word [ebx + 2]
fstp st(2)
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 4]
fstp st(1)
fld dword [ebp + eax + 8]
fstp dword [esp + 4]
movzx eax, word [ebx + 4]
lea esi, [eax*4]
lea esi, [esi + esi*2]
fld dword [ebp + esi + 4]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
fld dword [ebp + esi + 8]
fstp dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
jmp 0x412c52
movzx eax, word [ebx]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 8]
fstp st(3)
fld st(2)
fstp st(3)
fld dword [ebp + eax]
movzx eax, word [ebx + 2]
fstp st(2)
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 8]
fst st(1)
fstp dword [esp + 0x10]
fld dword [ebp + eax]
fstp dword [esp + 0x14]
movzx eax, word [ebx + 4]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 8]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp st(1)
fld dword [ebp + eax]
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
fstp dword [esp + 4]
mov dword [esp + 0xc], eax
jmp case.default.0x412981
movzx eax, word [ebx]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 8]
fstp st(3)
fld st(2)
fstp st(3)
fld dword [ebp + eax]
movzx eax, word [ebx + 2]
fstp st(2)
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax + 8]
fstp st(1)
fld dword [ebp + eax]
fstp dword [esp + 4]
movzx eax, word [ebx + 4]
lea edi, [eax*4]
lea edi, [edi + edi*2]
fld dword [ebp + edi + 8]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
fld dword [ebp + edi]
fstp dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
jmp 0x412c52
movzx eax, word [ebx]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax]
fstp st(3)
fld st(2)
fstp st(3)
fld dword [ebp + eax + 4]
movzx eax, word [ebx + 2]
fstp st(2)
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax]
fst st(1)
fstp dword [esp + 0x10]
fld dword [ebp + eax + 4]
fstp dword [esp + 0x14]
movzx eax, word [ebx + 4]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp st(1)
fld dword [ebp + eax + 4]
mov eax, dword [esp + 0x84]
fstp dword [esp + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
jmp 0x412c52
movzx eax, word [ebx]
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax]
fstp st(3)
fld st(2)
fstp st(3)
fld dword [ebp + eax + 4]
movzx eax, word [ebx + 2]
fstp st(2)
lea eax, [eax*4]
lea eax, [eax + eax*2]
fld dword [ebp + eax]
fstp st(1)
fld dword [ebp + eax + 4]
fstp dword [esp + 4]
movzx eax, word [ebx + 4]
lea ecx, [eax*4]
lea ecx, [ecx + ecx*2]
fld dword [ebp + ecx]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
fld dword [ebp + ecx + 4]
fstp dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
fld dword [esp + 8]
fsub st(3)
fstp dword [esp + 0x34]
fld dword [esp + 4]
fsub st(2)
fmul dword [esp + 0x34]
fld dword [esp + 0xc]
fsub st(3)
fstp dword [esp + 0x40]
fld st(1)
fsub st(4)
fmul dword [esp + 0x40]
fsubrp st(1)
fcomp dword [0x686d34]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x412ca0
fcompp
xor al, al
add esp, 0xa8
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret
fld dword [esp + 0x14]
fsub st(2)
fmul dword [esp + 0x34]
fld dword [esp + 0x10]
fsub st(4)
fmul dword [esp + 0x40]
fsubrp st(1)
fcomp dword [0x686d34]
fnstsw ax
test ah, 0x45
jne 0x412cd4
fcompp
xor al, al
add esp, 0xa8
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret
fld dword [esp + 8]
fsub st(1)
fld dword [esp + 0x14]
fsub dword [esp + 4]
fmulp st(1)
fld dword [esp + 0xc]
fsub dword [esp + 4]
fld dword [esp + 0x10]
fsub st(3)
fmulp st(1)
fsubrp st(1)
fcomp dword [0x686d34]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x412d17
fcompp
xor al, al
add esp, 0xa8
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0xd0]
fld dword [esp + 0x50]
fcomp dword [eax]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x412e43
fld dword [esp + 0x50]
fmul dword [esp + 0x74]
mov eax, dword [esp + 0xcc]
test edx, edx
fadd dword [esp + 0x60]
fstp dword [eax]
fld dword [esp + 0x50]
fmul dword [esp + 0x70]
mov eax, dword [esp + 0xcc]
fadd dword [esp + 0x64]
fstp dword [eax + 4]
fld dword [esp + 0x50]
fmul dword [esp + 0x6c]
mov eax, dword [esp + 0xcc]
fadd dword [esp + 0x68]
fstp dword [eax + 8]
mov eax, dword [esp + 0xcc]
fld dword [esp + 0x54]
fstp dword [eax + 0x10]
mov eax, dword [esp + 0xcc]
fld dword [esp + 0x58]
fstp dword [eax + 0x14]
mov eax, dword [esp + 0xcc]
fld dword [esp + 0x5c]
fstp dword [eax + 0x18]
mov al, byte [ebx + 6]
mov byte [esp], al
mov cl, byte [esp]
mov eax, dword [esp + 0xcc]
mov byte [eax + 0x22], cl
mov byte [eax + 0x23], 0
mov byte [eax + 0x20], 0
mov byte [eax + 0x21], 0
je 0x412e25
movzx eax, word [ebx]
lea eax, [eax*4]
lea eax, [eax + eax*2]
add eax, ebp
fld dword [eax]
fstp dword [edx]
fld dword [eax + 4]
fstp dword [edx + 4]
fld dword [eax + 8]
fstp dword [edx + 8]
movzx eax, word [ebx + 2]
lea eax, [eax*4]
lea eax, [eax + eax*2]
add eax, ebp
fld dword [eax]
fstp dword [edx + 0xc]
fld dword [eax + 4]
fstp dword [edx + 0x10]
fld dword [eax + 8]
fstp dword [edx + 0x14]
movzx eax, word [ebx + 4]
lea eax, [eax*4]
lea eax, [eax + eax*2]
add eax, ebp
fld dword [eax]
fstp dword [edx + 0x18]
fld dword [eax + 4]
fstp dword [edx + 0x1c]
fld dword [eax + 8]
fstp dword [edx + 0x20]
mov byte [edx + 0x24], 1
mov eax, dword [esp + 0xd0]
fld dword [esp + 0x50]
fstp dword [eax]
fcompp
add esp, 0xa8
mov al, 1
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret
fcompp
xor al, al
fstp st(0)
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret