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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x1012ce80]
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 [0x1012e2e4]
mov eax, 0x63e7063f
mov esi, dword [0x1012e2e0]
sub ecx, esi
movss xmm1, dword [0x100cbe74]
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 0x100629a4
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, 0x34c
push eax
push dword [0x1012e264]
call ebx
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x6c]
push 0
push 4
push ecx
lea edi, [eax + 0x140]
add eax, 0x68c
push eax
push dword [0x1012e264]
call ebx
mov eax, dword [0x1012ea04]
xorps xmm1, xmm1
mov ebx, dword [esp + 0x6c]
xor esi, esi
movq qword [esp + 0x18], xmm1
test eax, eax
jne 0x100627c0
lea eax, [ebx + 0x120]
push eax
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10007b50
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 [0x100c6bfc]
mov eax, dword [0x1012ea04]
movq qword [esp + 0x18], xmm1
movss dword [esp + 0x2c], xmm0
mov esi, dword [esp + 0x2c]
cmp eax, 1
jne 0x100627ec
lea eax, [ebx + 0xf0]
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.10007b50
add esp, 0xc
movq xmm1, qword [eax]
mov esi, dword [eax + 8]
mov eax, dword [0x1012ea04]
movq qword [esp + 0x18], xmm1
cmp eax, 2
jne 0x10062810
lea eax, [ebx + 0x60]
push eax
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.10007b50
add esp, 0xc
movq xmm1, qword [eax]
mov esi, dword [eax + 8]
movq qword [esp + 0x18], xmm1
movups xmm0, xmmword [0x1012e560]
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 [0x1012e570]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x1012e580]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x1012e590]
movups xmmword [eax + 0x30], xmm0
call fcn.100082a0
add esp, 0x54
test eax, eax
je 0x10062960
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 [0x1012e560]
mov dword [eax + 8], esi
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x1012e570]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x1012e580]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x1012e590]
movups xmmword [eax + 0x30], xmm0
call fcn.100082a0
add esp, 0x54
test eax, eax
je 0x10062960
mov eax, dword [0x1012e504]
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 [0x10084110]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [0x1012e508]
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 [0x10084110]
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 0x10062933
sqrtsd xmm0, xmm0
jmp 0x10062938
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 0x10062960
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 [0x1012e2e4]
mov eax, 0x63e7063f
mov esi, dword [0x1012e2e0]
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 0x10062726
mov ecx, dword [esp + 0x7c]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007d39e
mov esp, ebp
pop ebp
ret