Function at 0x14004bca0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x14016f800]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
mov rsi, qword [0x1401756b0]
mov rbx, qword [0x140171628]
lea ecx, [r14 + 0x68]
call fcn.1400d68e0
mov rdi, rax
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
mov qword [rax + 0x58], rbx
mov qword [rax + 0x60], r14
lea rax, [0x14004b870]
mov qword [rdi], rax
mov qword [rsi], rdi
xor eax, eax
mov qword [rbp + 7], rax
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi + 0x18], xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x38], xmm0
movsd xmm0, qword [rbp + 7]
movsd qword [rdi + 0x48], xmm0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rdi + 0x20], rax
lea rax, str.rbx_esp_overlay
mov qword [rdi + 0x48], rax
mov qword [rdi + 0x40], rax
mov rax, qword [rdi]
mov qword [rdi + 0x10], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea edx, [r14 + 0x67]
lea r9d, [r14 + 0x10]
lea r8d, [r14 + 1]
call qword [sym.imp.USER32.dll_LoadImageA]
mov qword [rdi + 0x28], rax
lea rcx, [rdi + 8]
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x14004bdd6
mov qword [rbp + 0x17], 0x64
nop word [rax + rax]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_UnregisterClassA]
lea rcx, [rbp + 0x17]
call fcn.140049870
lea rcx, [rdi + 8]
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x14004bdb0
mov qword [rsp + 0x58], r14
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x1f4
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0x80000000
mov r8, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x48]
mov ecx, 0x80028
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rdi + 0x50], rax
test rax, rax
jne 0x14004be6c
lea rdx, str.Failed_to_create_window__n
mov rcx, qword [0x140175720]
call fcn.14004dfa0
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400d68c0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [rbp - 0x49], 1
mov dword [rbp - 0x45], 5
mov dword [rbp - 0x41], 2
mov dword [rbp + 0x17], 0xb000
mov dword [rbp + 0x1b], 0xb100
mov ebx, r14d
mov rax, r14
lea rdi, [0x140175808]
lea r15, [0x140175674]
lea r12, [0x140175880]
nop word [rax + rax]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbp + rax*4 - 0x49]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDevice]
test eax, eax
jns 0x14004bf04
inc ebx
mov eax, ebx
cmp rax, 3
jb 0x14004beb0
lea rdx, str.Unable_to_create_device_
jmp 0x14004be31
mov rcx, qword [0x140175880]
mov rax, qword [rcx]
lea r8, [0x140175878]
lea rdx, [0x140152ce8]
call qword [rax]
mov rcx, qword [0x140175878]
mov rax, qword [rcx]
lea r8, [0x140175800]
lea rdx, [0x140152cf8]
call qword [rax + Ordinal_50]
mov rcx, qword [0x140175800]
mov rax, qword [rcx]
lea r8, [0x1401757e8]
lea rdx, [0x140152d08]
call qword [rax + Ordinal_50]
mov qword [rbp - 0x25], r14
mov qword [rbp - 0x11], 1
mov qword [rbp + 3], r14
mov dword [rbp + 0xb], r14d
mov dword [rbp - 1], 1
mov qword [rbp - 0x1d], 1
mov dword [rbp - 0x39], 0x1f4
mov dword [rbp - 0x35], 0x1f4
mov rax, qword [rsi]
mov rcx, qword [rax + 0x50]
mov qword [rbp - 9], rcx
mov dword [rbp - 0x31], 0xfa
mov dword [rbp - 0x2d], 1
mov dword [rbp - 0x15], reloc.WLDAP32.dll_Ordinal_32
mov dword [rbp - 0x29], Ordinal_33
mov rcx, qword [0x1401757e8]
mov rax, qword [rcx]
lea r9, [0x140175828]
lea r8, [rbp - 0x39]
mov rdx, qword [0x140175880]
call qword [rax + 0x50]
test eax, eax
jns 0x14004bfdb
lea rdx, str.Unable_to_create_swapchain_
jmp 0x14004be31
mov rcx, qword [0x140175808]
mov rax, qword [rcx]
lea r8, [0x140175870]
lea rdx, [0x1401531b8]
call qword [rax]
mov rcx, rsi
call fcn.14004c160
test al, al
je 0x14004be3d
mov rax, qword [rsi]
mov rbx, qword [rax + 0x50]
mov rcx, qword [rax + 0x58]
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rcx
mov ecx, Ordinal_27
call fcn.1400d68e0
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp + 0x27]
movsd qword [rax + 0x10], xmm1
mov qword [rbp + 0x17], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14004ee50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14004c14f
cmp dword [rbp - 0x41], 0
je 0x14004c143
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004c143
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rsi
lea ecx, [rax + 0x10]
call fcn.1400d68e0
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rax], xmm0
mov qword [rbp + 0x17], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14004efb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14004c133
cmp dword [rbp - 0x41], 0
je 0x14004c127
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004c127
lea r9d, [rax + 2]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov al, 1
jmp 0x14004be3f
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x41], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x41], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3