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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5ed966
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [ebp + 0x1c], 0
xorps xmm0, xmm0
mov edi, dword [esi + 0x20]
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x24], xmm0
je 0x4374f2
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x24], 0
je 0x4374d9
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4374c1
mov eax, dword [eax + 0x1c]
jmp 0x4374c3
xor eax, eax
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
push edi
lea edx, [esp + 0x58]
push edx
call fcn.0047cbb0
jmp 0x4374f5
fld qword [ebp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
sub esp, 8
lea ecx, [esp + 0x54]
fstp qword [esp]
push ecx
mov ecx, edi
call edx
jmp 0x4374f5
mov eax, dword [ebp + 0x18]
movq xmm0, qword [eax]
movq qword [esp + 0x24], xmm0
movq xmm0, qword [eax + 8]
mov eax, dword [esi + 0x28]
movq qword [esp + 0x2c], xmm0
test eax, eax
je 0x437516
mov eax, dword [eax + 0x1c]
jmp 0x437518
xor eax, eax
mov ebx, dword [eax + 0x20]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x26]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.00468bd0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x27]
push ecx
lea edx, [esp + 0x29]
push edx
mov ecx, ebx
call fcn.00468c70
cmp byte [esp + 0x20], 0
jne 0x437567
cmp byte [esp + 0x22], 0
jne 0x437567
cmp byte [esp + 0x21], 0
jne 0x437567
cmp byte [esp + 0x23], 0
je 0x4376d1
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
mov dword [esp + 0x98], 0
call edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x78]
call fcn.004ab520
cmp byte [esp + 0x20], 0
movsd xmm6, qword [esp + 0x2c]
movsd xmm0, qword [esp + 0x6c]
movsd xmm5, qword [esp + 0x24]
xorps xmm7, xmm7
movsd xmm3, qword [esp + 0x64]
movsd xmm2, qword [esp + 0x74]
movsd xmm4, qword [esp + 0x7c]
movsd xmm1, qword [esp + 0x8c]
subsd xmm0, xmm6
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [esp + 0x84]
subsd xmm3, xmm5
subsd xmm2, xmm5
subsd xmm4, xmm6
subsd xmm0, xmm5
subsd xmm1, xmm6
movsd qword [esp + 0x5c], xmm7
movsd qword [esp + 0x44], xmm7
je 0x437648
comisd xmm3, xmmword [0x5fa830]
movsd xmm7, qword [esp + 0x3c]
movsd xmm3, qword [0x5fa918]
jbe 0x43762e
subsd xmm0, xmm3
divsd xmm0, xmm7
cvttsd2si ecx, xmm0
neg ecx
cvtsi2sd xmm0, ecx
mulsd xmm0, xmm7
movsd xmm7, qword [esp + 0x44]
jmp 0x437656
divsd xmm2, xmm7
cvttsd2si edx, xmm2
neg edx
cvtsi2sd xmm0, edx
mulsd xmm0, xmm7
movsd xmm7, qword [esp + 0x44]
jmp 0x437656
movsd xmm0, qword [esp + 0x5c]
movsd xmm3, qword [0x5fa918]
cmp byte [esp + 0x21], 0
je 0x437699
movsd xmm2, qword [esp + 0x4c]
comisd xmm2, xmmword [0x5fa830]
movsd xmm2, qword [esp + 0x34]
jbe 0x437687
subsd xmm1, xmm3
divsd xmm1, xmm2
cvttsd2si eax, xmm1
neg eax
cvtsi2sd xmm7, eax
jmp 0x437695
divsd xmm4, xmm2
cvttsd2si ecx, xmm4
neg ecx
cvtsi2sd xmm7, ecx
mulsd xmm7, xmm2
movsd xmm1, qword [0x5fc860]
movapd xmm2, xmm0
andpd xmm2, xmm1
comisd xmm2, xmm3
ja 0x4376bd
movapd xmm2, xmm7
andpd xmm2, xmm1
comisd xmm2, xmm3
jbe 0x4376d1
subsd xmm5, xmm0
subsd xmm6, xmm7
movsd qword [esp + 0x24], xmm5
movsd qword [esp + 0x2c], xmm6
push 1
lea edx, [esp + 0x28]
push edx
push edi
lea ecx, [esp + 0xa8]
call fcn.005232c0
mov ecx, dword [esi + 0x20]
or ebx, 0xffffffff
add dword [ecx + 8], ebx
cmp dword [ecx + 8], 0
mov dword [esp + 0x100], 0
jne 0x437707
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esp + 0xb4]
mov dword [esi + 0x20], eax
test eax, eax
je 0x437718
inc dword [eax + 8]
push 0x48
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x100], 1
test eax, eax
je 0x437749
mov ecx, dword [esp + 0xb8]
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, eax
call fcn.00437320
mov edi, eax
jmp 0x43774b
xor edi, edi
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov al, byte [esi + 8]
mov ecx, dword [esi + 0x28]
and al, 1
movzx edx, al
push edx
push edi
push esi
mov byte [esp + 0x10c], 0
call fcn.00434af0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x100], ebx
call fcn.004010e0
mov eax, edi
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18