Function at 0x140001aa0
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rbp + 0x78], rax
xor edi, edi
mov dword [rbp + 0x60], 1
xor r8d, r8d
mov qword [rbp + 0x68], rdi
lea rdx, [rbp + 0x60]
mov qword [rbp + 0x70], rdi
lea rcx, [0x140009798]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
lea rax, [0x1400023c0]
mov dword [rsp + 0x44], 3
xor ecx, ecx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x40]
lea rax, str.AMDDVROVERLAYWINDOWCLASS
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x68], rdi
movdqa xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x40], 0x50
call qword [sym.imp.USER32.dll_RegisterClassExW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea r8, [rbp - 0x70]
mov dword [rbp - 0x70], edi
lea rdx, str.TrimMemory
mov rbx, rax
call fcn.140001460
test al, al
je 0x140001b7d
cmp dword [rbp - 0x70], 1
sete byte [0x140009044]
cmp dword [rbp - 0x50], 1
jle 0x140001c16
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ecx, 0x10
mov ebx, eax
call fcn.140004760
lea rcx, [0x1400018f0]
mov r9, rax
lea r8, [0x140004460]
xor edx, edx
mov qword [rax + 8], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], ebx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140001c07
cmp dword [rbp - 0x58], edi
jne 0x140001be5
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x60]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140001c16
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x58], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 0x20
call fcn.140004760
lea rcx, str.dc322a75_453b_4442_b354_801fdc243ef6
mov r9, rax
lea rbx, [0x140001610]
xor edx, edx
lea r8, [0x140004490]
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], edi
mov byte [rax + 4], dil
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14000236a
mov ecx, 0x20
call fcn.140004760
lea rcx, str.d3aac03d_d527_4b42_aaec_9466c04acc8f
mov r9, rax
lea r8, [0x140004490]
xor edx, edx
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], 1
mov byte [rax + 4], 1
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x30], rax
test rax, rax
je 0x14000235b
mov ecx, 0x20
call fcn.140004760
lea rcx, str.524fd6ac_1765_4470_9330_d4bcdbaee7a5
mov r9, rax
lea r8, [0x140004490]
xor edx, edx
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], 2
mov byte [rax + 4], dil
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x14000234c
mov ecx, 0x20
call fcn.140004760
lea rcx, str.23e7cd05_4fcc_4af0_a2bf_fd3a8358d080
mov r9, rax
lea r8, [0x140004490]
xor edx, edx
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], 3
mov byte [rax + 4], dil
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14000233d
mov ecx, 0x20
call fcn.140004760
lea rcx, str.39f71aab_32c1_41d3_8960_ade145ca1acb
mov r9, rax
lea r8, [0x140004490]
xor edx, edx
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], 4
mov byte [rax + 4], 1
mov byte [rax + 8], 1
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x14000232e
mov ecx, 0x20
call fcn.140004760
lea rcx, str.ae766ea3_4e08_4dab_aa27_b177fe2f96c9
mov r9, rax
lea r8, [0x140004490]
xor edx, edx
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], 5
mov byte [rax + 4], 1
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14000231f
mov ecx, 0x20
call fcn.140004760
lea rcx, str.1ce12bf4_852e_4595_8606_0f3026c52f75
mov r9, rax
lea r8, [0x140004490]
xor edx, edx
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], 6
mov byte [rax + 4], 1
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140002310
mov ecx, 0x20
call fcn.140004760
lea rcx, str.a1f041ab_3de5_4e49_b5f8_db8f27175a8e
mov r9, rax
lea r8, [0x140004490]
xor edx, edx
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], 7
mov byte [rax + 4], dil
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140002301
mov ecx, 0x20
call fcn.140004760
lea rdx, [rbp - 0x38]
mov r9, rax
mov qword [rsp + 0x28], rdx
lea rcx, str.4123cc4d_5328_45ad_9ad0_3d29d39c5fbd
lea r8, [0x140004490]
mov dword [rsp + 0x20], edi
mov qword [rax + 0x10], rcx
xor edx, edx
xor ecx, ecx
mov dword [rax], 8
mov byte [rax + 4], 1
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400022f2
mov ecx, 0x20
call fcn.140004760
lea rcx, str.f5a222df_ff08_4ba6_ad54_3a43292b29ff
mov r9, rax
lea r8, [0x140004490]
xor edx, edx
mov qword [rax + 0x10], rcx
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rax], 9
mov byte [rax + 4], dil
mov byte [rax + 8], dil
mov qword [rax + 0x18], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x1400022e3
cmp byte [0x140009044], dil
je 0x140001ff8
mov ecx, 8
call fcn.140004760
lea rcx, [0x1400015d0]
mov r9, rax
lea r8, [0x1400044d0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140001fe9
cmp dword [rbp - 0x58], edi
jne 0x140001fc7
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x60]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140001ff8
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x58], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [rbp + 0x28], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x28], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp + 0x20]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
cmp dword [rbp + 0x38], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x38], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp + 0x30]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
cmp dword [rbp - 8], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 8], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp - 0x10]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
cmp dword [rbp - 0x18], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x18], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp - 0x20]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
cmp dword [rbp + 8], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 8], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
cmp dword [rbp + 0x18], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x18], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp + 0x10]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
cmp dword [rbp - 0x28], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x28], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp - 0x30]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
cmp dword [rbp - 0x38], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x38], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp - 0x40]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp dword [rbp + 0x48], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x48], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp + 0x40]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
cmp dword [rbp + 0x58], edi
je 0x1400022d7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x58], eax
je 0x1400022cb
movaps xmm0, xmmword [rbp + 0x50]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400022bf
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
cmp dword [rbp - 0x38], edi
jne 0x1400022b8
cmp dword [rbp - 0x28], edi
jne 0x1400022b8
cmp dword [rbp - 0x18], edi
jne 0x1400022b8
cmp dword [rbp - 8], edi
jne 0x1400022b8
cmp dword [rbp + 8], edi
jne 0x1400022b8
cmp dword [rbp + 0x18], edi
jne 0x1400022b8
cmp dword [rbp + 0x28], edi
jne 0x1400022b8
cmp dword [rbp + 0x38], edi
jne 0x1400022b8
cmp dword [rbp + 0x48], edi
jne 0x1400022b8
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140004740
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x58], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x38], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x28], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x18], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 8], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 8], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x18], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x28], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x38], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x48], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3