Function at 0x10026620
Capabilities:
Create thread

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x5c
mov eax, dword [ecx]
mov dword [ebp - 0x1c], 0
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x30], eax
mov dword [esp], 0xa
call dword [sym.imp.kernel32.dll_IsProcessorFeaturePresent]
sub esp, 4
movzx eax, al
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.10023ac0
mov dword [esp], str.kernelbase.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
sub esp, 4
mov dword [0x10045a50], eax
test eax, eax
je 0x100266b8
mov dword [esp + 4], str.SetThreadDescription
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x10045a4c], eax
test eax, eax
je 0x10026a60
call fcn.10026590
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
mov dword [esp], 0x3c
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 4], 1
mov dword [esp], 0xc
mov edi, eax
call sub.ucrtbase.dll_calloc
movd xmm0, dword [esi]
mov ebx, eax
mov eax, dword [esi + 0xc]
movq xmm3, qword [esi + 4]
movd dword [edi], xmm0
movq qword [edi + 4], xmm3
mov dword [edi + 0xc], eax
movzx eax, word [esi + 0x10]
mov word [edi + 0x10], ax
pextrw eax, xmm0, 0
cmp ax, 0xfffe
je 0x10026a30
mov edx, dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x48], edx
call edx
sub esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov edx, dword [ebp - 0x48]
call edx
lea edx, [ebp - 0x1c]
sub esp, 0x10
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x38]
call fcn.10026150
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x17
mov dword [esp + 4], 0x1003439c
mov dword [esp], eax
call dword [edx + 0xc]
mov eax, dword [ebp - 0x1c]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [ebp - 0x38], 0x493e0
and dword [ebp - 0x3c], 0x8000
mov dword [ebp - 0x34], 0
je 0x100267dc
mov dword [ebp - 0x38], 0x9c3ff
mov dword [ebp - 0x34], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x20]
sub esp, 0x10
test eax, eax
je 0x10026837
mov edx, dword [eax]
cmp word [eax], 0xfffe
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
je 0x100269c0
movzx edx, word [eax + 0x10]
mov word [edi + 0x10], dx
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov dword [esp + 0x20], 0x1003d8b8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov eax, dword [ebp - 0x48]
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x2c]
sub esp, 0x24
mov edx, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x34]
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
sub esp, 8
movd xmm0, dword [edi]
mov ecx, eax
movd dword [esi], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [esi + 4], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
pextrw eax, xmm0, 0
cmp ax, 0xfffe
je 0x100269f0
mov edx, 0x12
mov word [esi + 0x10], dx
mov eax, dword [ebp - 0x3c]
movd xmm1, dword [ebx + 8]
movd xmm4, dword [ebp - 0x40]
movd xmm0, dword [ebx]
movd xmm5, dword [ebp - 0x2c]
punpckldq xmm1, xmm4
punpckldq xmm0, xmm5
punpcklqdq xmm0, xmm1
movups xmmword [edi + 0x28], xmm0
test eax, eax
je 0x100269b0
lea eax, [ecx - 0x80000000]
pxor xmm0, xmm0
pxor xmm6, xmm6
movddup xmm1, qword [0x10034400]
cvtsi2sd xmm0, eax
addsd xmm0, qword [0x10034400]
movapd xmm2, xmm1
divsd xmm0, qword [0x10034408]
movsd xmm6, xmm0
cmplepd xmm2, xmm6
movapd xmm0, xmm1
andpd xmm0, xmm2
subpd xmm6, xmm0
pslld xmm2, 0x1f
cvttpd2dq xmm6, xmm6
pxor xmm6, xmm2
movd edx, xmm6
mov dword [edi + 0x38], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x10026450
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov esi, dword [ebp - 0x44]
sub esp, 0x18
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x38]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], ebx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, 0x51eb851f
mul ecx
shr edx, 5
jmp 0x10026954
mov edx, dword [eax + 0x10]
mov dword [edi + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [edi + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [edi + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [edi + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [edi + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [edi + 0x24], edx
jmp 0x1002682b
mov eax, 0x16
mov edx, dword [edi + 0x24]
mov word [esi + 0x10], ax
movzx eax, word [edi + 0x12]
mov word [esi + 0x12], ax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x38]
mov esi, dword [edi + 0x1c]
mov dword [eax + 0xc], edx
mov dword [eax + 4], esi
mov esi, dword [edi + 0x20]
mov dword [eax + 8], esi
jmp 0x100268d2
mov ecx, dword [esi + 0x18]
movzx eax, word [esi + 0x12]
mov edx, dword [esi + 0x24]
mov dword [edi + 0x18], ecx
mov ecx, dword [esi + 0x1c]
mov word [edi + 0x12], ax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x24], edx
mov dword [edi + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [edi + 0x14], eax
mov dword [edi + 0x20], ecx
jmp 0x1002671a
mov eax, dword [0x10045a50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov dword [0x10045a50], 0
jmp 0x100266b8