Function at 0x691db7c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp + 0x14]
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.691d9080
mov dword [esp], str.kernelbase.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [0x691fb068], eax
sub esp, 4
test eax, eax
je 0x691db830
mov dword [esp + 4], str.SetThreadDescription
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x691fb064], eax
sub esp, 8
test eax, eax
je 0x691dbb10
call fcn.691db730
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x691db850
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x3c
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp + 4], 1
mov dword [esp], 0xc
mov ebx, eax
call sub.ucrtbase.dll_calloc
mov ecx, dword [esi + 8]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [esi + 4]
cmp word [esi], 0xfffe
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
movzx eax, word [esi + 0x10]
mov word [ebx + 0x10], ax
je 0x691dbba0
mov edx, dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [ebp - 0x40], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov edx, dword [ebp - 0x40]
sub esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
lea ecx, [ebp - 0x1c]
mov dword [edi + 8], eax
mov eax, dword [0x691fb070]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x17
mov dword [esp + 4], 0x691e9658
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]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], 0x9c3ff
sub esp, 4
mov dword [ebp - 0x3c], 0
and eax, 0x8000
mov dword [ebp - 0x30], eax
jne 0x691db97f
mov dword [ebp - 0x40], 0x493e0
mov dword [ebp - 0x3c], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
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 0x691db9da
mov edx, dword [eax]
cmp word [eax], 0xfffe
mov dword [ebx], edx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0xc], edx
je 0x691dbb30
movzx edx, word [eax + 0x10]
mov word [ebx + 0x10], dx
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
mov eax, dword [edi]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax]
mov dword [esp], eax
mov dword [esp + 0xc], edx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x20], 0x691f27cc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0
call dword [eax + 0xc]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x38]
sub esp, 0x24
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x34]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub esp, 8
cmp word [ebx], 0xfffe
mov dword [esi], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
je 0x691dbb60
mov ecx, 0x12
mov word [esi + 0x10], cx
mov eax, dword [edi]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x691dbb00
fnstcw word [ebp - 0x2a]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0
fild qword [ebp - 0x38]
fdiv dword [0x691e96b8]
movzx eax, word [ebp - 0x2a]
or ah, 0xc
mov word [ebp - 0x2c], ax
fldcw word [ebp - 0x2c]
fistp qword [ebp - 0x38]
fldcw word [ebp - 0x2a]
mov edx, dword [ebp - 0x38]
mov dword [ebx + 0x38], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x691db040
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edx, dword [ebx + 0x38]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x18]
sub esp, 0x18
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov dword [eax], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, 0x51eb851f
mov eax, edx
mul ecx
shr edx, 5
jmp 0x691dbaaf
mov eax, dword [0x691fb068]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [0x691fb068], 0
sub esp, 4
jmp 0x691db830
mov edx, dword [eax + 0x10]
mov dword [ebx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ebx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x24], edx
jmp 0x691db9ce
mov eax, 0x16
mov ecx, dword [ebx + 0x24]
mov word [esi + 0x10], ax
movzx eax, word [ebx + 0x12]
mov word [esi + 0x12], ax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x40]
mov esi, dword [ebx + 0x1c]
mov dword [eax + 0xc], ecx
mov dword [eax + 4], esi
mov esi, dword [ebx + 0x20]
mov dword [eax + 8], esi
jmp 0x691dba64
mov ecx, dword [esi + 0x18]
movzx eax, word [esi + 0x12]
mov edx, dword [esi + 0x24]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esi + 0x1c]
mov word [ebx + 0x12], ax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], edx
jmp 0x691db89d