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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x1012be80]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1012d2f4]
mov eax, 0x63e7063f
mov esi, dword [0x1012d2f0]
sub ecx, esi
movss xmm1, dword [0x100cb184]
imul ecx
movss dword [esp + 0xc], xmm1
mov dword [esp + 0x10], 0
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10061b14
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor edi, edi
mov dword [esp + 0x14], edi
push 0
push 4
lea eax, [esp + 0x70]
push eax
mov eax, dword [edi + esi + 0x80]
add eax, 0x378
push eax
push dword [0x1012d274]
call ebx
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x6c]
push 0
push 4
push ecx
lea edi, [eax + 0x150]
add eax, 0x6e4
push eax
push dword [0x1012d274]
call ebx
mov eax, dword [0x1012da14]
xorps xmm1, xmm1
mov ebx, dword [esp + 0x6c]
xor esi, esi
movq qword [esp + 0x18], xmm1
test eax, eax
jne 0x10061930
lea eax, [ebx + 0x120]
push eax
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10007980
add esp, 0xc
movq xmm1, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x100c5bbc]
mov eax, dword [0x1012da14]
movq qword [esp + 0x18], xmm1
movss dword [esp + 0x2c], xmm0
mov esi, dword [esp + 0x2c]
cmp eax, 1
jne 0x1006195c
lea eax, [ebx + 0xf0]
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.10007980
add esp, 0xc
movq xmm1, qword [eax]
mov esi, dword [eax + 8]
mov eax, dword [0x1012da14]
movq qword [esp + 0x18], xmm1
cmp eax, 2
jne 0x10061980
lea eax, [ebx + 0x60]
push eax
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.10007980
add esp, 0xc
movq xmm1, qword [eax]
mov esi, dword [eax + 8]
movq qword [esp + 0x18], xmm1
movups xmm0, xmmword [0x1012d570]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x78]
push eax
sub esp, 0xc
mov eax, esp
sub esp, 0x40
movq qword [eax], xmm1
mov dword [eax + 8], esi
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x1012d580]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x1012d590]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x1012d5a0]
movups xmmword [eax + 0x30], xmm0
call fcn.100080d0
add esp, 0x54
test eax, eax
je 0x10061ad0
movq xmm0, qword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x78]
push eax
sub esp, 0xc
mov eax, esp
sub esp, 0x40
movq qword [eax], xmm0
movups xmm0, xmmword [0x1012d570]
mov dword [eax + 8], esi
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x1012d580]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x1012d590]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x1012d5a0]
movups xmmword [eax + 0x30], xmm0
call fcn.100080d0
add esp, 0x54
test eax, eax
je 0x10061ad0
mov eax, dword [0x1012d514]
movss xmm1, dword [esp + 0x78]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10083118]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [0x1012d518]
movss xmm2, dword [esp + 0x74]
cdq
sub eax, edx
movsd qword [esp + 0x30], xmm0
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm2, xmm1
movsd xmm1, qword [0x10083118]
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
addsd xmm0, qword [esp + 0x30]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10061aa3
sqrtsd xmm0, xmm0
jmp 0x10061aa8
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0xc]
comiss xmm0, xmm1
jbe 0x10061ad0
mov eax, dword [ebp + 8]
movq xmm0, qword [esp + 0x18]
movss dword [esp + 0xc], xmm1
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov ecx, dword [0x1012d2f4]
mov eax, 0x63e7063f
mov esi, dword [0x1012d2f0]
sub ecx, esi
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
inc ebx
imul ecx
add edi, 0x148
mov dword [esp + 0x10], ebx
sar edx, 7
mov ecx, edx
mov dword [esp + 0x14], edi
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jb 0x10061896
mov ecx, dword [esp + 0x7c]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007c51c
mov esp, ebp
pop ebp
ret