Function at 0x1400046e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ecx, 8
call fcn.1400274b0
lea rcx, [0x140001b60]
mov qword [rax], rcx
mov qword [rbp - 9], rax
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140005b90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x1400049c0
cmp dword [rbp + 0x1f], r12d
jne 0x14000476e
lea ecx, [r12 + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14000478e
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x17], xmm0
movabs r13, 0x1fffffffffffffff
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
mov qword [rbp - 9], rax
mov rdx, qword [0x140032e60]
cmp rdx, qword [0x140032e68]
je 0x1400047d2
mov qword [rdx], rax
mov rdx, qword [0x140032e60]
add rdx, 8
mov qword [0x140032e60], rdx
jmp 0x1400047e2
lea r8, [rbp - 9]
call fcn.1400059a0
mov rdx, qword [0x140032e60]
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 9], rax
cmp rdx, qword [0x140032e68]
je 0x14000480d
mov qword [rdx], rax
mov rdx, qword [0x140032e60]
add rdx, 8
mov qword [0x140032e60], rdx
jmp 0x14000481d
lea r8, [rbp - 9]
call fcn.1400059a0
mov rdx, qword [0x140032e60]
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rbp - 9], rax
cmp rdx, qword [0x140032e68]
je 0x14000483e
mov qword [rdx], rax
add qword [0x140032e60], 8
jmp 0x140004847
lea r8, [rbp - 9]
call fcn.1400059a0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400049d0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140032e58]
call fcn.140001be0
test al, al
je 0x14000487a
mov byte [0], 0
lea rcx, [0x140032e58]
call fcn.140004bf0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov r15, qword [0x140032e58]
mov r14, qword [0x140032e60]
cmp r15, r14
je 0x140004931
sub r14, r15
mov rsi, r14
sar rsi, 3
cmp rsi, r13
ja 0x1400049ba
lea rdi, [rsi*8]
cmp rdi, 0x1000
jb 0x1400048f6
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400049ba
call fcn.1400274b0
test rax, rax
je 0x1400049b3
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000490b
test rdi, rdi
je 0x140004908
mov rcx, rdi
call fcn.1400274b0
mov rbx, rax
jmp 0x14000490b
mov rbx, r12
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
lea rax, [rbx + rdi]
mov qword [rbp - 0x19], rax
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*8]
mov qword [rbp - 0x21], rax
lea r8, [rbp - 0x29]
call fcn.1400050c0
test al, al
je 0x140004946
mov byte [0], 0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140005480
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400051f0
mov qword [rbp - 9], 0x32
lea rcx, [rbp - 9]
call fcn.140005810
mov dword [rbp + 7], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea r9, [rbp + 7]
mov edx, 0x1000
mov r8d, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
jmp 0x1400047a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001a80
nop
mov dword [rbp + 0x1f], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3