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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x5f3008]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
mov edx, ecx
movss xmm0, dword [ebp + 0x3c]
xorps xmm1, xmm1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x20]
movss dword [esp + 0x2c], xmm0
movsd xmm0, qword [edx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x24]
ucomisd xmm0, xmm1
mov dword [esp + 0x38], eax
movzx eax, word [edx + 0x28]
mov dword [esp + 0x34], eax
movzx eax, word [edx + 0x2a]
push ebx
movzx ebx, word [ebp + 0x14]
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, dword [ebp + 0x20]
lahf
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebx
test ah, 0x44
jnp 0x531f68
cmp word [ebp + 0x34], 1
jne 0x531f2a
mulsd xmm0, qword [ecx + 0x28]
mulsd xmm0, qword [ecx + 0x38]
jmp 0x531f34
mulsd xmm0, qword [ecx + 0x30]
mulsd xmm0, qword [ecx + 0x40]
test bx, bx
jne 0x531f3e
divsd xmm0, qword [ecx + 0x60]
comisd xmm0, xmm1
jb 0x531f56
addsd xmm0, qword [0x5ea530]
cvttsd2si eax, xmm0
mov dword [esp + 0xc], eax
jmp 0x531f70
subsd xmm0, qword [0x5ea530]
cvttsd2si eax, xmm0
mov dword [esp + 0xc], eax
jmp 0x531f70
mov dword [esp + 0xc], 0
mov esi, dword [edx + 0x34]
test esi, esi
je 0x5320a1
mov bl, byte [ebp + 0x40]
lea eax, [edx + 0x10]
mov dword [esp + 0x2c], eax
mov edx, 3
push ecx
lea ecx, [edx + 3]
call fcn.00410cf0
add esp, 4
test al, al
je 0x531fa7
cmp byte [edi + 0x872], 0
jne 0x531fcf
test bl, bl
jne 0x531fcf
mov edx, 3
push ecx
lea ecx, [edx + 3]
call fcn.00410cf0
add esp, 4
test al, al
jne 0x532030
cmp byte [edi + 0x872], al
je 0x532030
cmp word [ebp + 0x34], 0
jne 0x532030
test bl, bl
jne 0x532030
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push dword [esp + 0x10]
push dword [esp + 0x18]
push dword [esp + 0x20]
push 1
push edi
push dword [esp + 0x30]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x70]
push eax
push 0
push 0
push 0
push dword [esp + 0x54]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x7c]
push dword [esp + 0x84]
call fcn.004b8940
jmp 0x532083
push dword [esp + 0xc]
lea eax, [esp + 0x40]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
push 1
push edi
push dword [esp + 0x2c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x68]
push dword [esp + 0x70]
push dword [esp + 0x78]
push dword [esp + 0x80]
call fcn.004a86e0
mov esi, dword [esi]
test esi, esi
jne 0x531f85
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 0x3c
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 0x3c