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

Disassembly:
fld dword [ecx + 0x12c]
sub esp, 0x64
fcomp dword [edi]
fnstsw ax
test ah, 5
jnp 0x5110c2
fld dword [ecx + 0x134]
fcomp dword [edi + 8]
fnstsw ax
test ah, 5
jnp 0x5110c2
fld dword [ecx + 0x13c]
fcomp dword [edi + 0x10]
fnstsw ax
test ah, 5
jnp 0x5110c2
fld dword [ecx + 0x128]
fcomp dword [edi + 4]
fnstsw ax
test ah, 0x41
je 0x5110c2
fld dword [ecx + 0x130]
fcomp dword [edi + 0xc]
fnstsw ax
test ah, 0x41
je 0x5110c2
fld dword [ecx + 0x138]
fcomp dword [edi + 0x14]
fnstsw ax
test ah, 0x41
jne 0x5110c9
xor ax, ax
add esp, 0x64
ret
fld dword [edi]
push ebx
fst dword [esp + 0x50]
push ebp
fst dword [esp + 0x3c]
mov ebp, 0x3f
fst dword [esp + 0x24]
xor ebx, ebx
fstp dword [esp + 0xc]
lea edx, [esp + 0x10]
fld dword [edi + 4]
mov dword [esp + 8], 8
fst dword [esp + 0x60]
push esi
fst dword [esp + 0x4c]
fst dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [edi + 8]
fst dword [esp + 0x50]
fst dword [esp + 0x44]
fst dword [esp + 0x20]
fstp dword [esp + 0x14]
fld dword [edi + 0xc]
fst dword [esp + 0x68]
fst dword [esp + 0x5c]
fst dword [esp + 0x38]
fstp dword [esp + 0x2c]
fld dword [edi + 0x10]
fst dword [esp + 0x3c]
fst dword [esp + 0x30]
fst dword [esp + 0x24]
fstp dword [esp + 0x18]
fld dword [edi + 0x14]
fst dword [esp + 0x6c]
fst dword [esp + 0x60]
fst dword [esp + 0x54]
fstp dword [esp + 0x48]
fld dword [edx - 4]
fmul dword [ecx + 0x78]
fld dword [edx]
fmul dword [ecx + 0x7c]
faddp st(1)
fld dword [ecx + 0x80]
fmul dword [edx + 4]
faddp st(1)
fsub dword [ecx + 0x84]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x511182
mov esi, 1
jmp 0x511184
xor esi, esi
fld dword [ecx + 0x88]
fmul dword [edx - 4]
fld dword [ecx + 0x90]
fmul dword [edx + 4]
faddp st(1)
fld dword [edx]
fmul dword [ecx + 0x8c]
faddp st(1)
fsub dword [ecx + 0x94]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x5111bc
mov eax, 2
jmp 0x5111be
xor eax, eax
fld dword [ecx + 0xa0]
or esi, eax
fmul dword [edx + 4]
fld dword [edx]
fmul dword [ecx + 0x9c]
faddp st(1)
fld dword [ecx + 0x98]
fmul dword [edx - 4]
faddp st(1)
fsub dword [ecx + 0xa4]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x5111f8
mov eax, 8
jmp 0x5111fa
xor eax, eax
fld dword [ecx + 0xb0]
or esi, eax
fmul dword [edx + 4]
fld dword [edx]
fmul dword [ecx + 0xac]
faddp st(1)
fld dword [ecx + 0xa8]
fmul dword [edx - 4]
faddp st(1)
fsub dword [ecx + 0xb4]
fcomp dword [0x612220]
fnstsw ax
test ah, 0x41
jne 0x511234
mov eax, 4
jmp 0x511236
xor eax, eax
or esi, eax
mov eax, dword [esp + 0xc]
and ebp, esi
or ebx, esi
add edx, 0xc
dec eax
mov dword [esp + 0xc], eax
jne 0x511150
test bx, bx
jne 0x51125e
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x64
ret
test bp, bp
je 0x51126d
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x64
ret
mov al, byte [esp + 0x74]
test al, al
je 0x511330
mov esi, 0x3f
add ecx, 0xe8
mov ebx, 5
lea esp, [esp]
fld dword [ecx - 8]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
jp 0x5112a3
mov edx, 1
jmp 0x5112a5
xor edx, edx
fld dword [ecx - 8]
fcomp dword [edi + 4]
fnstsw ax
test ah, 1
jne 0x5112b9
mov eax, 2
jmp 0x5112bb
xor eax, eax
fld dword [ecx - 4]
or edx, eax
fcomp dword [edi + 8]
fnstsw ax
test ah, 0x41
jp 0x5112d1
mov eax, 8
jmp 0x5112d3
xor eax, eax
fld dword [ecx - 4]
or edx, eax
fcomp dword [edi + 0xc]
fnstsw ax
test ah, 1
jne 0x5112e9
mov eax, 4
jmp 0x5112eb
xor eax, eax
fld dword [ecx]
or edx, eax
fcomp dword [edi + 0x10]
fnstsw ax
test ah, 0x41
jp 0x511300
mov eax, 0x10
jmp 0x511302
xor eax, eax
fld dword [ecx]
or edx, eax
fcomp dword [edi + 0x14]
fnstsw ax
test ah, 1
jne 0x511317
mov eax, 0x20
jmp 0x511319
xor eax, eax
or eax, edx
and esi, eax
add ecx, 0xc
dec ebx
jne 0x511290
test si, si
jne 0x511263
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0x64
ret