Function at 0x140040b60
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400a9040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rcx
mov qword [rbp - 0x69], rcx
xor r12d, r12d
mov qword [rcx], r12
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
movups xmmword [rcx + 0x48], xmm0
lea rsi, [rcx + 0x58]
mov qword [rsi], r12
lea r15, [rcx + 0x60]
mov qword [r15], r12
lea rdi, [rcx + 0x68]
mov qword [rdi], r12
mov qword [rcx + 0x70], r12
mov qword [rcx + 0x78], r12
mov qword [rcx + 0xb8], r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xc0], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xc4], xmm0
mov word [rbx + 0xc8], pe_nt_image_headers64
mov byte [rbx + 0xca], r12b
mov qword [rbx + 0xcc], r12
mov qword [rbx + 0xd8], r12
lea rdx, str.MedalOverlay
lea rcx, str.MedalOverlayClass
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbx], rax
test rax, rax
je 0x140040d34
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x140040d04
movsxd r8, eax
or r8, 0x20
mov edx, 0xffffffec
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
test rax, rax
je 0x140040d04
mov qword [rbp + 7], 0xffffffffffffffff
mov qword [rbp + 0xf], 0xffffffffffffffff
lea rdx, [rbp + 7]
mov rcx, qword [rbx]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
jne 0x140040d04
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test eax, eax
je 0x140040d04
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm6
cvttss2si ecx, xmm0
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
jne 0x140040d4b
mov rax, rbx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140086280
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, str.0123456789ABDEFGHIJKLMNOPQRSTUVWXYZ
lea rcx, str.0123456789ABDEFGHIJKLMNOPQRSTUVWXYZ
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
mov ecx, 0x10
call fcn.140086668
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rbx + 0xd8], rax
mov qword [rbp - 0x35], r12
mov qword [rbp - 0x21], 2
mov qword [rbp - 9], 2
mov qword [rbp - 0x49], r12
mov dword [rbp - 0x39], 0x1c
mov dword [rbp - 0x41], 0x3c
mov dword [rbp - 0x3d], 1
mov dword [rbp - 0x25], 0x20
mov rax, qword [rbx]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x2d], 1
mov qword [rbp - 0x11], 1
mov dword [rbp + 7], 0xb000
mov dword [rbp + 0xb], 0xa000
mov qword [rsp + 0x58], r15
lea rax, [rbp + 0x17]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
lea rax, [rbp - 0x49]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x140040d04
mov qword [rbp - 0x59], r12
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r9, [rbp - 0x59]
lea r8, [0x1400986b0]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x59]
test rdx, rdx
je 0x140040e47
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r9, [rbx + 0x70]
xor r8d, r8d
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x59]
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov edx, 1
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbx
call fcn.140040410
mov ecx, 0x10
call fcn.140086668
mov qword [rax], rbx
lea rcx, [0x140041230]
mov qword [rax + 8], rcx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140041520]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140040ee4
cmp dword [rbp - 0x51], 0
je 0x140040ed8
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140040ed8
jmp 0x140040d04
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x51], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3