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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
push esi
mov esi, ecx
movsd qword [esp + 0x5c], xmm3
push edi
movsd qword [esp + 0x58], xmm2
mov dword [esp + 0xc], esi
movsd xmm0, qword [esi + 0x48]
mulsd xmm0, qword [0x4af670]
mov ecx, dword [esi + 0x4898]
movsd xmm7, qword [esi + 0x48b8]
movsd xmm3, qword [esi + 0x30]
maxsd xmm7, xmm1
movsd xmm1, qword [0x4af858]
mov eax, dword [ecx + 0xc]
divsd xmm1, xmm0
cdq
movd xmm0, dword [esi + 0x4860]
idiv dword [ecx + 0x14]
cvtdq2pd xmm0, xmm0
mov ecx, dword [0x7c1e78]
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x70], xmm7
divsd xmm3, xmm0
movd xmm0, eax
movsd qword [esp + 0x78], xmm3
movaps xmm1, xmm3
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [esp + 0x50], xmm1
test ecx, ecx
jne 0x42c810
cmp dword [esi + 0x4924], ecx
jne 0x42c810
movsd xmm0, qword [esi + 0x20]
movsd qword [esi + 0x2410], xmm0
movsd xmm5, qword [esi + 0x28]
xor eax, eax
movsd xmm1, qword [esi + 0x48b0]
movaps xmm0, xmm5
movsd qword [esp + 0x68], xmm0
movaps xmm4, xmm5
movsd xmm0, qword [0x4aed20]
or edx, 0xffffffff
mov dword [esi + 0xc], 0
movsd qword [esp + 0x80], xmm5
movsd qword [esp + 0x28], xmm1
movsd qword [esi + 0x4890], xmm1
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
movaps xmm2, xmm1
addsd xmm2, xmm5
mulsd xmm2, xmm0
movsd qword [esi + 0x2418], xmm2
addsd xmm2, xmm4
mulsd xmm2, xmm0
movsd qword [esp + 0x20], xmm2
cmp ecx, 1
je 0x42c893
cmp dword [esi + 0x4924], 1
jne 0x42c9e3
movsd xmm0, qword [esi + 0x2410]
lea ecx, [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movaps xmm3, xmm0
mulsd xmm3, xmm0
mov edi, 1
comisd xmm0, xmm1
addsd xmm0, xmm1
cmova edi, edx
divsd xmm3, xmm0
addsd xmm3, xmm1
mulsd xmm3, qword [0x4aeda8]
movaps xmm1, xmm3
movsd qword [esp + 0x10], xmm3
call fcn.0042e5e0
mulsd xmm0, qword [esp + 0x88]
mov eax, dword [esp + 0xc]
movsd xmm1, qword [esp + 0x10]
movsd xmm3, qword [esi + 0x20]
subsd xmm3, qword [esi + 0x2410]
mulsd xmm0, qword [esp + 0x20]
mov esi, dword [esi + 0x4898]
movsd qword [esp + 0x20], xmm3
divsd xmm1, xmm0
movd xmm0, edi
cvtdq2pd xmm2, xmm0
movaps xmm0, xmm1
movsd qword [esp + 0x10], xmm1
mulsd xmm0, qword [eax + 0x4878]
xorps xmm1, xmm1
mulsd xmm2, xmm3
addsd xmm2, xmm2
divsd xmm2, xmm0
movaps xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x42c945
sqrtsd xmm0, xmm0
jmp 0x42c94a
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
mov eax, dword [esp + 0xc]
movaps xmm7, xmm0
movsd xmm0, qword [esi + 0x150]
movaps xmm1, xmm0
mulsd xmm1, qword [0x4af1d8]
mulsd xmm1, xmm0
mulsd xmm1, qword [0x4aec20]
mulsd xmm1, qword [esp + 0x10]
divsd xmm1, qword [eax + 0x48]
mov eax, dword [esi + 0xc]
cdq
idiv dword [esi + 0x14]
mov esi, dword [esp + 0xc]
mulsd xmm7, xmm1
movd xmm1, edi
movd xmm0, dword [esi + 0x4860]
movd xmm3, eax
mov eax, dword [esp + 0x1c]
cvtdq2pd xmm3, xmm3
cvtdq2pd xmm0, xmm0
mulsd xmm3, xmm7
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm3
movsd qword [esp + 0x50], xmm7
movsd xmm7, qword [esp + 0x70]
movsd qword [esp + 0x78], xmm3
mulsd xmm0, xmm1
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x2420], xmm0
movsd xmm0, qword [esp + 0x20]
movsd qword [esi + 0x4870], xmm0
movsd xmm1, qword [esi + 0x48]
movsd xmm4, qword [esi + 0x28]
movsd xmm2, qword [esi + 0x2418]
movaps xmm0, xmm4
mulsd xmm1, xmm3
subsd xmm0, xmm2
movsd xmm6, qword [esi + 0x48b0]
movsd xmm3, qword [0x4af648]
movaps xmm5, xmm6
addsd xmm5, qword [esi + 0x4890]
mulsd xmm1, qword [esp + 0x60]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x20], xmm4
mulsd xmm5, qword [0x4aed20]
mulsd xmm1, xmm0
movsd xmm0, qword [0x4af6f0]
comisd xmm3, xmm5
divsd xmm1, qword [esi + 0x4868]
movsd qword [esp + 0xa0], xmm1
jb 0x42ca60
movsd xmm0, qword [0x4af6f8]
movsd xmm3, qword [0x4af638]
comisd xmm3, xmm5
jb 0x42ca76
addsd xmm0, qword [0x4af240]
mulsd xmm0, xmm7
movaps xmm3, xmm1
mulsd xmm0, qword [0x4aeff8]
divsd xmm3, xmm0
addsd xmm3, xmm6
comisd xmm3, xmm4
movsd qword [esi + 0x4890], xmm3
jb 0x42caaa
movaps xmm1, xmm2
dec eax
movsd qword [esp + 0x28], xmm1
jmp 0x42ce66
comisd xmm6, xmm2
jb 0x42cabf
movaps xmm1, xmm2
dec eax
movsd qword [esp + 0x28], xmm1
jmp 0x42ce66
mov edi, dword [esp + 0xc]
movaps xmm0, xmm4
movaps xmm4, xmm5
mov esi, dword [esi + 0x4898]
mulsd xmm5, qword [0x4af858]
subsd xmm0, xmm3
movsd xmm1, qword [edi + 0x4808]
subsd xmm3, xmm6
mulsd xmm1, qword [0x4af670]
movsd qword [esp + 0x98], xmm0
movaps xmm0, xmm2
movsd xmm2, qword [0x4aeff8]
subsd xmm0, xmm6
movsd qword [esp + 0x90], xmm3
movaps xmm3, xmm7
divsd xmm1, xmm5
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [esi + 0x170]
mulsd xmm0, qword [0x4aee28]
mulsd xmm3, xmm2
subsd xmm4, qword [0x4af658]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [esi + 0x148]
mulsd xmm0, xmm2
movsd qword [esp + 0x10], xmm4
mulsd xmm0, xmm1
divsd xmm3, xmm0
mulsd xmm3, xmm2
movaps xmm2, xmm4
mulsd xmm2, qword [0x4aeab0]
mulsd xmm3, xmm1
movaps xmm1, xmm4
mulsd xmm1, qword [0x4ae8f0]
addsd xmm2, qword [0x4af450]
mulsd xmm1, xmm4
subsd xmm2, xmm1
movsd xmm1, qword [0x4aed88]
mulsd xmm2, qword [0x4ae888]
divsd xmm3, xmm2
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [0x4aec68]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esi + 0x58]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [0x4af858]
movaps xmm3, xmm0
subsd xmm1, qword [edi + 0x4808]
movsd xmm0, qword [esp + 0x10]
movaps xmm2, xmm0
mulsd xmm0, qword [0x4ae8b8]
mulsd xmm2, qword [0x4ae8d0]
divsd xmm1, qword [0x4af5f8]
addsd xmm0, qword [0x4ae950]
divsd xmm1, qword [0x4af610]
addsd xmm2, qword [0x4aea28]
mulsd xmm1, xmm0
movsd xmm0, qword [esi + 0x70]
mulsd xmm0, qword [0x4aebf8]
subsd xmm2, xmm1
movsd xmm1, qword [0x4af908]
mulsd xmm2, qword [0x4aefd8]
mulsd xmm2, xmm0
movsd xmm0, qword [esi + 0x60]
mulsd xmm3, xmm2
movsd qword [esp + 0x10], xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [esp + 0x10]
mulsd xmm1, xmm0
movsd xmm0, qword [esi + 0x158]
movsd qword [esp + 0x10], xmm1
movsd xmm1, qword [0x4af938]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [esp + 0x10]
mulsd xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x30]
divsd xmm1, xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x30], xmm1
mulsd xmm0, qword [0x4af010]
movsd xmm1, qword [esi + 0x150]
mulsd xmm1, qword [esp + 0x58]
mulsd xmm0, qword [edi + 0x48]
divsd xmm0, xmm1
movsd xmm1, qword [0x4aee10]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [ebp + 8]
mulsd xmm1, qword [0x4aea28]
divsd xmm1, qword [esi + 0x150]
mulsd xmm0, xmm1
movsd xmm1, qword [0x4aecf0]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x58]
mulsd xmm0, qword [esp + 0x60]
divsd xmm0, qword [ebp + 8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [esp + 0x10]
mulsd xmm1, xmm0
movsd xmm0, qword [0x4aee38]
movsd qword [esp + 0x10], xmm1
movsd xmm1, qword [0x4aec20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [esp + 0x10]
mulsd xmm1, xmm0
movsd xmm0, qword [esi + 0x168]
movsd xmm3, qword [esp + 0x90]
movsd xmm2, qword [esp + 0x40]
divsd xmm0, xmm1
movsd xmm1, qword [esp + 0x30]
addsd xmm0, qword [esi + 0x160]
divsd xmm2, qword [esp + 0x90]
addsd xmm1, xmm0
movsd xmm0, qword [0x4aeef0]
push dword [esi + 0x14]
divsd xmm0, xmm1
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esp + 0x24]
subsd xmm0, qword [edi + 0x48b0]
divsd xmm3, xmm0
call fcn.0042c000
movsd xmm2, qword [esp + 0x98]
movsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0x40], xmm0
movaps xmm0, xmm2
divsd xmm2, xmm1
subsd xmm0, xmm1
movsd qword [esp + 0x48], xmm0
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_log_precise
movsd xmm1, qword [esp + 0x48]
divsd xmm1, xmm0
movsd xmm0, qword [esp + 0x40]
movsd xmm2, qword [esp + 0xa0]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x38]
movsd xmm3, qword [esi + 0x28]
mov esi, edi
movsd xmm6, qword [0x4afb90]
mulsd xmm1, xmm0
movsd xmm4, qword [0x4ae8d8]
divsd xmm2, xmm1
movaps xmm0, xmm2
subsd xmm0, xmm3
andps xmm0, xmm6
divsd xmm0, xmm2
comisd xmm4, xmm0
ja 0x42cea5
movsd xmm0, qword [esi + 0x2418]
movsd xmm1, qword [esp + 0x68]
subsd xmm1, xmm0
andps xmm1, xmm6
comisd xmm4, xmm1
ja 0x42cea5
comisd xmm3, xmm2
jbe 0x42ce47
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x80], xmm0
jmp 0x42ce50
movaps xmm1, xmm0
movsd qword [esp + 0x28], xmm1
movsd xmm4, qword [esp + 0x20]
movsd xmm7, qword [esp + 0x70]
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0x68], xmm0
movsd xmm3, qword [esp + 0x78]
inc eax
movsd xmm0, qword [0x4aed20]
mov edx, 0xffffffff
movsd xmm5, qword [esp + 0x80]
mov ecx, dword [0x7c1e78]
mov dword [esp + 0x1c], eax
cmp eax, 0x64
jle 0x42c860
mov dword [esi + 0xc], 0x3a
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [esp + 0x1c], 0x64
jle 0x42ceb3
mov dword [esi + 0xc], 0x3a
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8