Function at 0x14004f660
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
movsd xmm0, qword [str.w_A___C_]
movsd qword [rbp + 0x17], xmm0
movzx ecx, word [0x14005af00]
mov word [rbp + 0x1f], cx
movzx eax, byte [0x14005af02]
mov byte [rbp + 0x17], 0x46
xor byte [rbp + 0x18], 0x32
xor byte [rbp + 0x19], 0x33
xor byte [rbp + 0x1a], 0x34
xor byte [rbp + 0x1b], 0x35
xor byte [rbp + 0x1c], 0x36
xor byte [rbp + 0x1d], 0x37
xor byte [rbp + 0x1e], 0x38
xor cl, 0x39
mov byte [rbp + 0x1f], cl
xor byte [rbp + 0x20], 0x3a
xor al, 0x3b
mov byte [rbp + 0x21], al
lea rdx, [rbp + 0x17]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rdx, [0x14015e308]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x14004f719
mov eax, dword [0x14015e310]
sub eax, dword [0x14015e308]
mov dword [0x14015e2e8], eax
mov eax, dword [0x14015e314]
sub eax, dword [0x14015e30c]
mov dword [0x14015e2ec], eax
call fcn.140048930
test eax, eax
jne 0x14004f72e
lea rdx, [0x14005ae78]
jmp 0x14004f883
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x25], rdi
mov dword [rbp - 0x19], edi
mov qword [rbp - 0x11], 1
mov qword [rbp + 7], 2
mov dword [rbp - 0x29], 0x1c
mov dword [rbp - 0x15], 0x20
mov rax, qword [0x14015e300]
mov qword [rbp - 9], rax
mov dword [rbp - 0x1d], 1
mov qword [rbp - 1], 1
mov dword [rbp + 0x37], 0xb000
mov dword [rbp + 0x3b], 0xa100
mov dword [rbp + 0x3f], 0xa000
lea rax, [0x14015e2f8]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x50], rax
lea rax, [0x14015e2d8]
mov qword [rsp + 0x48], rax
lea rax, [0x14015e370]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 3
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
js 0x14004f87c
mov qword [rbp + 0x17], rdi
mov rcx, qword [0x14015e370]
mov rax, qword [rcx]
lea r9, [rbp + 0x17]
lea r8, [0x14005ae98]
xor edx, edx
call qword [rax + 0x48]
test eax, eax
js 0x14004f87c
mov rcx, qword [0x14015e2d8]
mov rax, qword [rcx]
lea r9, [0x14015e2f0]
xor r8d, r8d
mov rdx, qword [rbp + 0x17]
call qword [rax + 0x48]
mov ebx, eax
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test ebx, ebx
js 0x14004f87c
mov rcx, qword [0x14015e2f8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14015e2f0]
mov edx, 1
call qword [rax + 0x108]
call fcn.140048060
test eax, eax
jne 0x14004f875
lea rdx, [0x14005ae80]
jmp 0x14004f883
mov ebx, 1
jmp 0x14004f891
lea rdx, [0x14005ae7c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140049320
mov ebx, edi
mov ecx, 1
call fcn.140052010
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 0x3f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140051840]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x37], rax
test rax, rax
je 0x14004f94c
cmp dword [rbp + 0x3f], 0
je 0x14004f940
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004f940
cmp ebx, 1
jne 0x14004f91d
lea rbx, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
lea rdi, [0x14004c170]
nop dword [rax]
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rdi
lea rax, [rbp - 0x39]
mov qword [rbp - 1], rax
lea rcx, [rbp - 0x39]
call fcn.140048c60
test eax, eax
jne 0x14004f900
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140051ff0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x3f], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3