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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x100ab000]
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 [0x100ab340]
mov eax, 0x63e7063f
mov esi, dword [0x100ab33c]
sub ecx, esi
movss xmm1, dword [0x100a6fe4]
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 0x1005a164
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 [0x100ab2f0]
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 [0x100ab2f0]
call ebx
mov eax, dword [0x100ab820]
xorps xmm1, xmm1
mov ebx, dword [esp + 0x6c]
xor esi, esi
movq qword [esp + 0x18], xmm1
test eax, eax
jne 0x10059f80
lea eax, [ebx + 0x120]
push eax
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10003030
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 [0x100a1d74]
mov eax, dword [0x100ab820]
movq qword [esp + 0x18], xmm1
movss dword [esp + 0x2c], xmm0
mov esi, dword [esp + 0x2c]
cmp eax, 1
jne 0x10059fac
lea eax, [ebx + 0xf0]
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.10003030
add esp, 0xc
movq xmm1, qword [eax]
mov esi, dword [eax + 8]
mov eax, dword [0x100ab820]
movq qword [esp + 0x18], xmm1
cmp eax, 2
jne 0x10059fd0
lea eax, [ebx + 0x60]
push eax
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.10003030
add esp, 0xc
movq xmm1, qword [eax]
mov esi, dword [eax + 8]
movq qword [esp + 0x18], xmm1
movups xmm0, xmmword [0x100ab3d8]
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 [0x100ab3e8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x100ab3f8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x100ab408]
movups xmmword [eax + 0x30], xmm0
call fcn.10003780
add esp, 0x54
test eax, eax
je 0x1005a120
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 [0x100ab3d8]
mov dword [eax + 8], esi
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x100ab3e8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x100ab3f8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x100ab408]
movups xmmword [eax + 0x30], xmm0
call fcn.10003780
add esp, 0x54
test eax, eax
je 0x1005a120
mov eax, dword [0x100ab3a4]
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 [0x1005f338]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov eax, dword [0x100ab3a8]
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 [0x1005f338]
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 0x1005a0f3
sqrtsd xmm0, xmm0
jmp 0x1005a0f8
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 0x1005a120
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 [0x100ab340]
mov eax, 0x63e7063f
mov esi, dword [0x100ab33c]
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 0x10059ee6
mov ecx, dword [esp + 0x7c]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005c7f7
mov esp, ebp
pop ebp
ret