Function at 0x140057e50
Capabilities:
Create thread
Move file
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x418]
sub rsp, 0x500
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
movaps xmmword [rax - 0xa8], xmm14
movaps xmmword [rax - 0xb8], xmm15
mov rax, qword [0x140163f80]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x40], r13d
lea rcx, [0x1401b9ac0]
call fcn.14009bab0
mov r8d, 0x104
lea rdx, [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140057f60
mov eax, 1
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.1400f0f30
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
lea rax, [rbp + 0x140]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], r13w
jne 0x140057f80
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x68]
call fcn.140059910
nop
lea rbx, [rbp - 0x68]
mov r15, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rbx, r15
mov r14, qword [rbp - 0x58]
test r14, r14
je 0x140058090
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14012674c]
lea r8, [0x140126750]
mov edx, 0x100
nop dword [rax]
movzx eax, word [rcx]
cmp ax, dx
jae 0x14005802b
movzx eax, al
mov byte [rbp + rax], 1
add rcx, 2
cmp rcx, r8
jne 0x140057fe0
lea rax, [r14 - 1]
mov rcx, rdi
cmp rax, rdi
cmovb rcx, rax
lea r8, [rbx + rcx*2]
nop dword [rax + rax]
movzx eax, word [r8]
cmp ax, dx
jae 0x140058020
cmp byte [rbp + rax], 0
jne 0x140058088
cmp r8, rbx
je 0x140058090
sub r8, 2
jmp 0x140058010
lea rax, [r14 - 1]
mov rcx, rdi
cmp rax, rdi
cmovb rcx, rax
lea r8, [rbx + rcx*2]
mov r9d, 0x5c
nop dword [rax]
nop word [rax + rax]
mov ecx, 2
movzx edx, word [r8]
lea rax, [0x14012674c]
cmp r9w, dx
je 0x140058088
cmp rcx, 1
je 0x14005807d
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x140058066
test rax, rax
jne 0x140058088
cmp r8, rbx
je 0x140058090
sub r8, 2
jmp 0x140058050
sub r8, rbx
sar r8, 1
jmp 0x140058093
mov r8, rdi
mov ebx, 8
cmp r8, 0xffffffffffffffff
je 0x140058129
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
inc r8
cmp r14, r8
cmovb r8, r14
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140059910
mov esi, ebx
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x140058118
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058113
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058113
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1020
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp - 0x58], xmm1
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
or esi, 2
mov dword [rsp + 0x40], esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebx, reloc.WS2_32.dll_listen
movabs r14, 0x4ec4ec4ec4ec4ec5
lea r15, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx r9d, word [r15 + rcx*2]
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
cmp rcx, rdx
jae 0x1400581c0
lea rax, [rcx + 1]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp rdx, 7
cmova rax, qword [rsp + 0x78]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x1400581ca
lea rcx, [rsp + 0x78]
call fcn.140059a40
sub rbx, 1
jne 0x140058170
mov r8d, 4
lea rdx, str..exe
lea rcx, [rsp + 0x78]
call fcn.140058fe0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
or esi, 4
mov dword [rsp + 0x40], esi
lea rdx, [rbp - 0x30]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 7
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x68]
call fcn.140058fe0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14005827f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058279
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058279
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1020
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400582c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400582be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400582be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1020
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400582e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rdx, qword [rbp - 0x68]
mov r8d, 3
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140058313
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ecx, 8
call fcn.1400f1698
lea rcx, [0x140050db0]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x14005aaf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x1400589a7
cmp dword [rbp - 8], 0
je 0x14005899b
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005899b
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov dword [rsp + 0x40], 0x9002d
mov edx, dword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov dword [rbp - 0x48], r13d
mov dword [rbp - 0x44], 0x8002c
lea r8, [rbp - 0x48]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
test rax, rax
je 0x14005848c
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffcffff
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [rsp + 0x30], Ordinal_46
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x14005848c
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rbp - 0x7a]
sub ax, word [rbp - 0x7e]
inc ax
mov word [rsp + 0x40], ax
movzx eax, word [rbp - 0x78]
sub ax, word [rbp - 0x7c]
inc ax
mov word [rsp + 0x42], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
mov dword [rbp - 0x3c], r13d
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
lea rdx, str.___Enter_License:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400595e0
lea r8, [rbp + 0x100]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14005a350
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
lea rax, [rbp + 0x100]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400584f5
movabs rsi, 0x7fffffffffffffff
cmp rdi, rsi
ja 0x1400589b7
cmp rdi, 0xf
ja 0x140058541
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov r8, rdi
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x78], 0
jmp 0x1400585dd
mov rax, rdi
or rax, 0xf
cmp rax, rsi
jbe 0x140058576
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400f1698
test rax, rax
je 0x1400585ab
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400585ba
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rax, rcx
mov rsi, rax
lea rcx, [rax + 1]
test rcx, rcx
jne 0x140058593
mov rbx, r13
jmp 0x1400585ba
cmp rcx, 0x1000
jb 0x1400585b2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400589bd
jmp 0x14005855b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1698
mov rbx, rax
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rsi
mov r8, rdi
lea rdx, [rbp + 0x100]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rdx, [rsp + 0x78]
lea rcx, [0x1401b9ac0]
call fcn.14009cf90
cmp byte [0x1401b9cd0], 0
jne 0x140058641
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea r8, [0x1401b9cd8]
lea rdx, str.____Error:
lea rcx, [rsp + 0x78]
call fcn.1400593a0
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400597c0
nop
lea rcx, [rsp + 0x78]
call fcn.14004fa20
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1400560f0
call fcn.14007cf80
mov rax, qword [0x1401b7fa0]
test rax, rax
je 0x140058660
mov rcx, qword [rax + 0x98]
jmp 0x140058663
mov rcx, r13
cmp dword [rcx + 0x28], 0
jne 0x14005866e
call fcn.14002bdc0
call fcn.14002ade0
call fcn.140007f40
mov rax, qword [0x1401b7fa0]
or dword [rax + 0x3f88], 2
mov dword [rax + 0x3fa8], 0x44020000
mov dword [rax + 0x3fac], 0x43c58000
mov dword [rax + 0x3f90], 1
xor edx, edx
mov r8d, Ordinal_46
lea rcx, str.NvidiaOverlay
call fcn.14000e310
movdqa xmm11, xmmword [0x140126ed0]
movdqa xmm12, xmmword [0x140127100]
movss xmm15, dword [0x140126bf8]
xorps xmm13, xmm13
movss xmm14, dword [0x140126aa8]
mov rcx, qword [0x1401b7fa0]
mov rax, qword [rcx + 0x3e88]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3e88]
mov rbx, qword [rax + 0x280]
movsd xmm6, qword [rax + 0x18]
movss xmm7, dword [rax + 0x20]
movss xmm10, dword [rax + 0x24]
movups xmmword [rsp + 0x78], xmm12
movsd qword [rsp + 0x48], xmm6
movaps xmm9, xmm6
addss xmm9, xmm15
movss dword [rsp + 0x40], xmm9
movss xmm8, dword [rsp + 0x4c]
addss xmm10, xmm8
movss dword [rsp + 0x44], xmm10
lea rcx, [rsp + 0x78]
call fcn.140003c80
mov r9d, eax
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm13
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140023d50
movups xmmword [rsp + 0x78], xmm12
addss xmm7, xmm6
movss dword [rsp + 0x50], xmm7
movaps xmm6, xmm8
addss xmm6, dword [0x140126be4]
movss dword [rsp + 0x54], xmm6
movss dword [rsp + 0x58], xmm9
movss dword [rsp + 0x5c], xmm8
lea rcx, [rsp + 0x78]
call fcn.140003c80
mov r9d, eax
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm13
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140023d50
movups xmmword [rsp + 0x78], xmm11
movss dword [rsp + 0x60], xmm7
movss dword [rsp + 0x64], xmm6
movss dword [rsp + 0x68], xmm9
movss dword [rsp + 0x6c], xmm6
lea rcx, [rsp + 0x78]
call fcn.140003c80
mov r9d, eax
movss dword [rsp + 0x20], xmm14
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140023ae0
movups xmmword [rsp + 0x78], xmm11
movss dword [rsp + 0x70], xmm9
movss dword [rsp + 0x74], xmm10
movss dword [rbp - 0x30], xmm9
movss dword [rbp - 0x2c], xmm8
lea rcx, [rsp + 0x78]
call fcn.140003c80
mov r9d, eax
movss dword [rsp + 0x20], xmm14
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140023ae0
mov rcx, qword [0x1401b7fa0]
mov rax, qword [rcx + 0x3e88]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3e88]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x140126ba8]
addss xmm2, dword [0x140126ba0]
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm0
call fcn.140011ea0
cmp dword [0x1401b9db0], 0
sete dl
lea rcx, [0x14011f910]
call fcn.14005b250
test al, al
je 0x1400588fb
mov eax, r13d
mov dword [0x1401b9db0], eax
mov dword [0x1401b9abc], r13d
jmp 0x140058901
mov eax, dword [0x1401b9db0]
cmp eax, 1
sete dl
lea rcx, [0x14011f918]
call fcn.14005b250
test al, al
je 0x14005892e
mov eax, 1
mov dword [0x1401b9db0], eax
mov dword [0x1401b9abc], 2
jmp 0x140058934
mov eax, dword [0x1401b9db0]
cmp eax, 2
sete dl
lea rcx, [0x14011f914]
call fcn.14005b250
test al, al
je 0x140058961
mov eax, 2
mov dword [0x1401b9db0], eax
mov dword [0x1401b9abc], 0xb8
jmp 0x140058967
mov eax, dword [0x1401b9db0]
cmp eax, 3
sete dl
lea rcx, [0x14011f91c]
call fcn.14005b250
test al, al
je 0x140058991
mov dword [0x1401b9db0], 3
mov dword [0x1401b9abc], 0x1c8
call fcn.140011fd0
jmp 0x1400586e0
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 8], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140039d20
int3
call fcn.14002d740
int3