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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov edx, 0xb
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x2408]
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x2048]
lea eax, [esi + 0x2028]
nop dword [eax + eax]
movsd xmm0, qword [eax - 0x23f0]
lea eax, [eax + 0x10]
movsd qword [eax - 0x10], xmm0
lea ecx, [ecx + 0x10]
movsd xmm0, qword [ecx - 0x10]
movsd qword [eax - 8], xmm0
sub edx, 1
jne 0x4133e0
movsd xmm0, qword [edi + 0x48]
movsd qword [esi + 0x30], xmm0
movsd xmm0, qword [edi + 0x58]
movsd qword [esi + 0x40], xmm0
movsd xmm0, qword [edi + 0x60]
movsd qword [esi + 0x48], xmm0
movsd xmm0, qword [edi + 0x68]
movsd qword [esi + 0x50], xmm0
movsd xmm0, qword [edi + 0x70]
movsd qword [esi + 0x58], xmm0
movsd xmm0, qword [edi + 0x78]
movsd qword [esi + 0x60], xmm0
movsd xmm0, qword [edi + 0x80]
movsd qword [esi + 0x68], xmm0
movsd xmm0, qword [edi + 0x50]
movsd qword [esi + 0x38], xmm0
mov eax, dword [0x7c1e70]
cmp eax, 3
jne 0x41346b
mov ecx, esi
call fcn.00430450
mov eax, dword [0x7c1e70]
cmp eax, 2
jne 0x413477
mov ecx, esi
call fcn.00430760
mov ecx, dword [edi + 0x485c]
mov eax, dword [edi + 0x4858]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
cmp eax, ecx
je 0x4134ce
nop
mov esi, dword [eax]
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00407b40
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x2408]
call fcn.00407b40
mov eax, dword [esp + 0xc]
movsd xmm0, qword [edi + 0x2410]
add eax, 4
movsd qword [esi + 0x2410], xmm0
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x10]
jne 0x413490
xorps xmm2, xmm2
movsd qword [edi + 0x6d10], xmm2
mov ecx, dword [edi + 0x485c]
mov eax, dword [edi + 0x4858]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
je 0x413633
mov esi, dword [eax]
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00407b40
movsd xmm0, qword [esi + 0x28]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [str.fffff]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esi + 0x4870]
movsd qword [esp + 0x20], xmm2
movsd qword [esp + 0x18], xmm2
movsd qword [esi + 0x4858], xmm0
mov dword [esp + 0xc], 0
movsd xmm1, qword [esi + 0x20]
mov ecx, esi
subsd xmm1, qword [esi + 0x4858]
movsd xmm3, qword [edi + 0x28]
movsd xmm2, qword [edi + 0x6d08]
call fcn.00409310
movsd xmm0, qword [edi + 0x6d08]
mov ecx, esi
subsd xmm0, qword [esi + 0x4860]
movsd xmm2, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
movsd qword [esi + 0x2410], xmm0
call fcn.004089d0
mov eax, dword [esi + 0x497c]
sub eax, dword [esi + 0x4978]
test eax, 0xfffffffc
je 0x4135e2
movsd xmm0, qword [edi + 0x28]
lea eax, [esp + 0x28]
sub esp, 8
mov ecx, esi
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x24]
call fcn.00409ca0
cmp eax, 1
je 0x4135e2
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x32
jle 0x413540
movsd xmm0, qword [esi + 0x2420]
addsd xmm0, qword [edi + 0x6d10]
movsd qword [edi + 0x6d10], xmm0
cmp dword [esi + 0x6f38], 1
jne 0x413613
subsd xmm0, qword [esi + 0x6ef0]
movsd qword [edi + 0x6d10], xmm0
mov eax, dword [esp + 0x10]
xorps xmm2, xmm2
add eax, 4
movsd qword [esi + 0x2410], xmm2
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jne 0x4134f5
movsd xmm0, qword [edi + 0x2420]
movsd xmm3, qword [0x4afb90]
movsd xmm1, qword [edi + 0x6d10]
andps xmm0, xmm3
comisd xmm1, xmm0
jbe 0x41366b
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jnp 0x41366b
mov dword [edi + 0xc], 0x155
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsd qword [edi + 0x6d18], xmm2
mov ecx, dword [edi + 0x485c]
mov eax, dword [edi + 0x4858]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
je 0x4137e1
nop
mov esi, dword [eax]
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00407b40
movsd xmm0, qword [esi + 0x28]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [str.fffff]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [esi + 0x4870]
movsd qword [esp + 0x18], xmm2
movsd qword [esp + 0x20], xmm2
movsd qword [esi + 0x4858], xmm0
mov dword [esp + 0xc], 0
nop dword [eax + eax]
movsd xmm1, qword [esi + 0x20]
mov ecx, esi
subsd xmm1, qword [esi + 0x4858]
movsd xmm3, qword [edi + 0x28]
movsd xmm2, qword [edi + 0x6d00]
call fcn.00409310
movsd xmm0, qword [edi + 0x6d00]
mov ecx, esi
subsd xmm0, qword [esi + 0x4860]
movsd xmm2, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x18]
movsd qword [esi + 0x2410], xmm0
call fcn.004089d0
mov eax, dword [esi + 0x497c]
sub eax, dword [esi + 0x4978]
test eax, 0xfffffffc
je 0x413788
movsd xmm0, qword [edi + 0x28]
lea eax, [esp + 0x30]
sub esp, 8
mov ecx, esi
movsd qword [esp], xmm0
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x24]
call fcn.00409ca0
cmp eax, 1
jne 0x413776
cmp dword [esi + 0xc], 0
je 0x413788
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x32
jle 0x4136e0
movsd xmm0, qword [esi + 0x2420]
addsd xmm0, qword [edi + 0x6d18]
movsd qword [edi + 0x6d18], xmm0
cmp dword [esi + 0x6f38], 1
jne 0x4137b9
subsd xmm0, qword [esi + 0x6ef0]
movsd qword [edi + 0x6d18], xmm0
mov eax, dword [esp + 0x10]
xorps xmm2, xmm2
add eax, 4
movsd qword [esi + 0x2410], xmm2
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jne 0x413690
movsd xmm3, qword [0x4afb90]
movsd xmm0, qword [edi + 0x2420]
movsd xmm1, qword [edi + 0x6d18]
andps xmm0, xmm3
comisd xmm0, xmm1
jbe 0x41380b
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jnp 0x41380b
mov dword [edi + 0xc], 0x15f
pop edi
pop esi
mov esp, ebp
pop ebp
ret