Function at 0x1400035b0
Capabilities:
Acquire debug privileges
Check if file exists
Enumerate gui resources
Enumerate process modules
Enumerate processes
Execute command
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb70]
sub rsp, 0xc70
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rbp + 0xb60], rax
xor r14d, r14d
mov dword [rsp + 0x60], r14d
lea rcx, [0x14000b808]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp + 0x4a0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x4b0], xmm1
mov r8d, 0x49
lea rdx, str.https:__raw.githubusercontent.com_sys064_patches_refs_heads_main_moon.txt
lea rcx, [rbp + 0x4a0]
call fcn.1400075c0
nop
lea rdx, [rbp + 0x4a0]
lea rcx, [rbp + 0x5c0]
call fcn.140001680
nop
xorps xmm0, xmm0
cmp qword [rbp + 0x5d0], r14
jne 0x14000370b
movups xmmword [rbp + 0x1b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c0], xmm1
mov r8d, 0x22
lea rdx, str.____Failed_to_download_patch_data.
lea rcx, [rbp + 0x1b0]
call fcn.1400075c0
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x1400036e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005b31
call fcn.140009040
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edi, 1
jmp 0x140005b57
xor eax, eax
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], rax
lea rdx, [rbp + 0x5c0]
lea rcx, [rbp + 0x260]
call fcn.140001b80
nop
mov edi, 1
mov rax, qword [rbp + 0x260]
mov rcx, qword [rbp + 0x268]
cmp rax, rcx
je 0x140003797
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.140005c40
nop
lea rdx, [rbp + 0x1d0]
mov r8d, edi
lea rcx, [rbp + 0x260]
call fcn.1400071e0
nop
lea r9, [fcn.140003320]
mov r8d, edi
mov edx, 0x58
lea rcx, [rbp + 0x1d0]
call fcn.140009084
mov rcx, qword [rbp + 0x268]
mov rax, qword [rbp + 0x260]
movabs rsi, 0x2e8ba2e8ba2e8ba3
xorps xmm1, xmm1
cmp rax, rcx
jne 0x14000384f
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
movdqu xmmword [rbp + 0x1c0], xmm1
mov r8d, 0x2b
lea rdx, str.____No_patch_data_found_or_failed_to_parse.
lea rcx, [rbp + 0x1b0]
call fcn.1400075c0
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x14000382c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003827
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a97
call fcn.140009040
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov qword [rsp + 0x60], rdi
jmp 0x140005aba
movdqu xmmword [rbp + 0x248], xmm1
mov qword [rbp + 0x258], r14
mov dword [rsp + 0x60], 0x20000
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003937
mov dword [rbp + 0x6e0], 0x238
lea rdx, [rbp + 0x6e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000392e
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbp + 0x250]
cmp rax, qword [rbp + 0x258]
je 0x140003904
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
lea rcx, [rbp + 0x70c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x1400038e0
lea rdx, [rbp + 0x70c]
mov rcx, rax
call fcn.1400075c0
add qword [rbp + 0x250], 0x20
jmp 0x14000391a
lea r8, [rbp + 0x70c]
mov rdx, rax
lea rcx, [rbp + 0x248]
call fcn.1400085f0
lea rdx, [rbp + 0x6e0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400038b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13d, r14d
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x230], xmm1
mov rsi, r14
mov qword [rbp + 0x240], r14
mov rbx, qword [rbp + 0x260]
mov r14, qword [rbp + 0x268]
lea r12, [0x14000be00]
lea r15, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
cmp rbx, r14
je 0x140003bd4
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rbp + 0x248]
mov r10, qword [rbp + 0x250]
cmp r9, r10
je 0x140003abb
mov r11, qword [rbx + 0x18]
mov rdi, qword [rbx + 0x10]
nop
mov rax, rbx
cmp r11, 7
jbe 0x1400039ac
mov rax, qword [rbx]
mov rdx, qword [r9 + 0x10]
mov r8, r9
cmp qword [r9 + 0x18], 7
jbe 0x1400039bd
mov r8, qword [r9]
cmp rdx, rdi
jne 0x1400039e6
test rdx, rdx
je 0x1400039ef
sub r8, rax
nop word [rax + rax]
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x1400039e6
add rax, 2
sub rdx, 1
jne 0x1400039d0
jmp 0x1400039ef
add r9, 0x20
cmp r9, r10
jne 0x1400039a0
cmp r9, r10
je 0x140003abb
mov rax, qword [rbp + 0x238]
cmp rax, rsi
je 0x140003a19
mov rdx, rbx
mov rcx, rax
call fcn.140005c40
add qword [rbp + 0x238], 0x58
jmp 0x140003a2b
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x230]
call fcn.140008910
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
xor edi, edi
mov qword [rbp + 0x1c0], rdi
mov qword [rbp + 0x1c8], rdi
mov r8d, 0x11
lea rdx, str.___process_found
lea rcx, [rbp + 0x1b0]
call fcn.1400075c0
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x140003bba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ab1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e95
call fcn.140009040
jmp 0x140003bba
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x3a0], r12
lea rax, [0x14000be20]
mov qword [rbp + 0x3b0], rax
lea rcx, [rbp + 0x438]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
bts r13d, 0xd
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x3a0], r15
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x39c], edx
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x3b8], rax
xor eax, eax
mov qword [rbp + 0x420], rax
mov dword [rbp + 0x428], eax
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x3a0], r15
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x39c], edx
lea rcx, [rbp + 0x3b8]
call fcn.140006490
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x438]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
add rbx, 0x58
cmp rbx, r14
je 0x140003bcf
mov rsi, qword [rbp + 0x240]
jmp 0x140003980
mov edi, 1
mov rax, qword [rbp + 0x238]
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rbp + 0x1b0]
movups xmmword [rbp + 0x1b0], xmm0
movdqu xmmword [rbp + 0x1c0], xmm1
cmp qword [rbp + 0x230], rax
jne 0x140003d1b
mov r8d, 0x2d
lea rdx, str.____No_target_processes_are_running._Exiting.
call fcn.1400075c0
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x140003c6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e95
call fcn.140009040
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov qword [rsp + 0x60], rdi
xor r14d, r14d
mov rbx, qword [rbp + 0x230]
test rbx, rbx
je 0x140005a3f
mov rdi, qword [rbp + 0x238]
cmp rbx, rdi
je 0x140003cbf
mov rcx, rbx
call fcn.140003320
add rbx, 0x58
cmp rbx, rdi
jne 0x140003ca7
mov rbx, qword [rbp + 0x230]
mov rcx, qword [rbp + 0x240]
sub rcx, rbx
movabs rsi, 0x2e8ba2e8ba2e8ba3
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x58
mov rax, rbx
cmp rdx, 0x1000
jb 0x140005a23
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, 0x31
lea rdx, str.___Proceeding_to_patch_only_the_running_process.
call fcn.1400075c0
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x140003d81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e95
call fcn.140009040
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140003e10
lea r8, [rbp + 0x278]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x140003e0a
mov dword [rbp + 0x380], edi
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0x384], rax
mov dword [rbp + 0x38c], 2
xor r14d, r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, [rbp + 0x380]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140003e9c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c0], xmm1
mov r8d, 0x26
lea rdx, str.____Failed_to_enable_SeDebugPrivilege.
lea rcx, [rbp + 0x1b0]
call fcn.1400075c0
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x140003c6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x60]
cmp eax, 0x514
je 0x140003e0a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c0], xmm1
mov r8d, 0x2a
lea rdx, str.___SeDebugPrivilege_enabled_successfully.
lea rcx, [rbp + 0x1b0]
call fcn.1400075c0
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x140003f3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e95
call fcn.140009040
mov r12, qword [rbp + 0x230]
mov rax, qword [rbp + 0x238]
mov qword [rbp + 0x380], rax
cmp r12, rax
mov qword [rsp + 0x50], r12
je 0x14000598a
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
mov r14, qword [r12 + 0x10]
mov rax, rcx
sub rax, r14
cmp rax, 0x19
jb 0x140005c1c
mov r15, r12
cmp qword [r12 + 0x18], 7
jbe 0x140003f95
mov r15, qword [r12]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
xor eax, eax
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rax
lea rsi, [r14 + 0x19]
mov edi, 7
lea rbx, [rbp + 0x1d0]
cmp rsi, rdi
jbe 0x14000403c
mov rdi, rsi
or rdi, 7
cmp rdi, rcx
jbe 0x140003fd9
mov rdi, rcx
lea rcx, [rdx + rdx]
jmp 0x140003ff8
cmp rdi, 0xa
mov ecx, 0xa
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, rdx
ja 0x140005c22
add rcx, rcx
je 0x140004032
cmp rcx, 0x1000
jb 0x14000402d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005c22
mov rcx, rax
call fcn.140009048
test rax, rax
je 0x140005944
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004035
call fcn.140009048
mov rbx, rax
mov qword [rbp + 0x1d0], rbx
mov qword [rbp + 0x1e0], rsi
mov qword [rbp + 0x1e8], rdi
movups xmm0, xmmword [str.___Target_Process_Name:]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x14000bb18]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [0x14000bb28]
movups xmmword [rbx + 0x20], xmm0
movzx eax, word [0x14000bb38]
mov word [rbx + 0x30], ax
lea rcx, [rbx + 0x32]
lea r8, [r14 + r14]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
mov word [rbx + rsi*2], r14w
or r13d, 1
lea rcx, [rbp + 0x1d0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x1400040e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005944
call fcn.140009040
mov edi, r14d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140004197
mov dword [rbp + 0x920], 0x238
lea rdx, [rbp + 0x920]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000418e
nop
lea rcx, [rbp + 0x94c]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140004130
mov rdx, qword [r12 + 0x10]
mov r8, r12
cmp qword [r12 + 0x18], 7
jbe 0x14000414e
mov r8, qword [r12]
cmp rdx, rax
jne 0x140004319
lea rcx, [rbp + 0x94c]
test rdx, rdx
je 0x140004188
lea rax, [rbp + 0x94c]
sub r8, rax
nop dword [rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140004319
add rcx, 2
sub rdx, 1
jne 0x140004170
mov edi, dword [rbp + 0x928]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0xf8
test edi, edi
jne 0x14000446f
lea rcx, [rbp + 0x280]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000be00]
mov qword [rbp + 0x280], rax
lea rax, [0x14000be20]
mov qword [rbp + 0x290], rax
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
bts r13d, 9
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x280]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x280], r15
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x298], rax
mov qword [rbp + 0x300], r14
mov dword [rbp + 0x308], r14d
lea rdx, str.____Target_process
lea rcx, [rbp + 0x290]
call fcn.140006d30
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14000427c
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140008420
lea rdx, str._not_found.
mov rcx, rax
call fcn.140006d30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r14w
bts r13d, 8
mov dword [rsp + 0x60], r13d
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rcx, r14
mov r8d, dword [rbp + 0x308]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x140004336
mov rax, qword [rbp + 0x2d8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004336
mov rax, qword [rbp + 0x2b8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x300]
cmovb rdx, qword [rbp + 0x300]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140004378
lea rdx, [rbp + 0x920]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140004120
jmp 0x14000418e
test r8b, 4
jne 0x1400043b0
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax]
mov rdx, r14
test r8, r8
je 0x140004373
mov rax, qword [rbp + 0x2b0]
mov r9, qword [rax]
mov rax, qword [rbp + 0x2e8]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, r8
sar rdx, 1
mov rcx, r9
jmp 0x140004378
mov r9, qword [rsp + 0x30]
test rcx, rcx
je 0x1400043b0
lea rcx, [rbp + 0x1d0]
cmp rdx, 7
ja 0x1400043ab
mov qword [rbp + 0x1e0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx + 0x1d0], r14w
jmp 0x1400043b0
call fcn.140007ae0
btr r13d, 8
bts r13d, 7
lea rcx, [rbp + 0x1d0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x14000440e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004408
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000594b
call fcn.140009040
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x280], r15
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x298]
call fcn.140006490
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
add r12, 0x58
cmp r12, qword [rbp + 0x380]
jmp 0x140003f52
lea rcx, [rbp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
lea rbx, [0x14000be00]
mov qword [rbp + 0x4c0], rbx
lea rax, [0x14000be20]
mov qword [rbp + 0x4d0], rax
lea rcx, [rbp + 0x558]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
bts r13d, 0xc
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x4d8]
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x4c0]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x4c0], r15
mov rax, qword [rbp + 0x4c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x4bc], edx
lea rcx, [rbp + 0x4d8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x4d8], rax
mov qword [rbp + 0x540], r14
mov dword [rbp + 0x548], r14d
lea rdx, str.___Target_Process_ID:
lea rcx, [rbp + 0x4d0]
call fcn.140006d30
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r14w
bts r13d, 0xb
mov dword [rsp + 0x60], r13d
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rcx, r14
mov r8d, dword [rbp + 0x548]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x1400045c1
mov rax, qword [rbp + 0x518]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400045c1
mov rax, qword [rbp + 0x4f8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x540]
cmovb rdx, qword [rbp + 0x540]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140004603
test r8b, 4
jne 0x140004642
mov rax, qword [rbp + 0x510]
mov r8, qword [rax]
mov rdx, r14
test r8, r8
je 0x1400045fe
mov rax, qword [rbp + 0x4f0]
mov r9, qword [rax]
mov rax, qword [rbp + 0x528]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, r8
sar rdx, 1
mov rcx, r9
jmp 0x140004603
mov r9, qword [rsp + 0x30]
test rcx, rcx
je 0x140004642
lea rcx, [rbp + 0x1d0]
cmp rdx, 7
ja 0x14000463d
mov qword [rbp + 0x1e0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx + 0x1d0], r14w
lea rbx, [0x14000be00]
jmp 0x140004642
call fcn.140007ae0
btr r13d, 0xb
bts r13d, 0xa
lea rcx, [rbp + 0x1d0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x14000469f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000469a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005983
call fcn.140009040
mov r8d, edi
xor edx, edx
mov ecx, 0x428
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14000496e
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x280]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x280], rbx
lea rax, [0x14000be20]
mov qword [rbp + 0x290], rax
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
bts r13d, 0xe
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x280]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x280], r15
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x298], rax
mov qword [rbp + 0x300], r14
mov dword [rbp + 0x308], r14d
lea rdx, str.____Failed_to_open_process
lea rcx, [rbp + 0x290]
call fcn.140006d30
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14000478f
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140008420
lea rdx, str.._Error:
mov rcx, rax
call fcn.140006d30
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r14w
bts r13d, 0x10
mov dword [rsp + 0x60], r13d
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rcx, r14
mov r8d, dword [rbp + 0x308]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x140004840
mov rax, qword [rbp + 0x2d8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004840
mov rax, qword [rbp + 0x2b8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x300]
cmovb rdx, qword [rbp + 0x300]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140004882
test r8b, 4
jne 0x1400048ba
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax]
mov rdx, r14
test r8, r8
je 0x14000487d
mov rax, qword [rbp + 0x2b0]
mov r9, qword [rax]
mov rax, qword [rbp + 0x2e8]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, r8
sar rdx, 1
mov rcx, r9
jmp 0x140004882
mov r9, qword [rsp + 0x30]
test rcx, rcx
je 0x1400048ba
lea rcx, [rbp + 0x1d0]
cmp rdx, 7
ja 0x1400048b5
mov qword [rbp + 0x1e0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx + 0x1d0], r14w
jmp 0x1400048ba
call fcn.140007ae0
btr r13d, 0x10
bts r13d, 0xf
lea rcx, [rbp + 0x1d0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x140004918
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005952
call fcn.140009040
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x280], r15
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x298]
call fcn.140006490
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
jmp 0x1400058e3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], r14
mov qword [rbp + 0x1c8], r14
mov r8d, 0x14
lea rdx, str.discord.gg_reversing
lea rcx, [rbp + 0x1b0]
call fcn.1400075c0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
mov qword [rbp + 0x1e8], r14
mov qword [rbp + 0x1f0], 7
mov word [rbp + 0x1d8], r14w
mov dword [rbp + 0x1d0], edi
lea r9, [rbp + 0x1b0]
mov r15, qword [rbp + 0x1b0]
mov qword [rbp + 0x278], r15
cmp qword [rbp + 0x1c8], 7
cmova r9, r15
mov rdx, qword [rbp + 0x1c0]
lea rcx, [rbp + 0x1d8]
cmp rdx, 7
ja 0x140004a20
mov qword [rbp + 0x1e8], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx + 0x1d8], r14w
jmp 0x140004a33
call fcn.140007ae0
mov r15, qword [rbp + 0x1b0]
mov qword [rbp + 0x278], r15
mov byte [rbp + 0x1f8], 0
lea rdx, [rbp + 0x1d0]
lea rcx, [0x140001390]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 7
jbe 0x140004a95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005959
call fcn.140009040
lea rbx, [r12 + 0x20]
cmp qword [rbx + 0x18], 0xf
jbe 0x140004aa4
mov rbx, qword [rbx]
mov r12, r14
mov edx, edi
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140004b12
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x140004b09
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140004b05
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140004ae0
jmp 0x140004b09
mov r12, qword [rbp - 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0xf8
test r12, r12
jne 0x140005037
lea rcx, [rbp + 0x280]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000be00]
mov qword [rbp + 0x280], rax
lea rax, [0x14000be20]
mov qword [rbp + 0x290], rax
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
bts r13d, 0x14
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x280]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x280], rax
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x298], rax
mov qword [rbp + 0x300], r14
mov dword [rbp + 0x308], r14d
lea rdx, [0x14000bc30]
lea rcx, [rbp + 0x290]
call fcn.140006d30
mov r14, rax
mov r12, qword [rsp + 0x50]
cmp qword [r12 + 0x38], 0xf
jbe 0x140004c08
mov rsi, qword [r12 + 0x20]
mov rbx, rsi
add rsi, qword [r12 + 0x30]
jmp 0x140004c19
mov rsi, qword [r12 + 0x30]
add rsi, 0x20
add rsi, r12
lea rbx, [r12 + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
cmp rbx, rsi
jne 0x140004c44
xor ecx, ecx
mov r8d, ecx
mov qword [rsp + 0x40], rcx
mov eax, 7
mov qword [rsp + 0x48], rax
mov word [rsp + 0x30], cx
jmp 0x140004d78
sub rsi, rbx
xor r9d, r9d
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x140005c2e
mov edi, 7
cmp rsi, rdi
jbe 0x140004d27
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x140004cdb
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140004d13
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005c28
mov rcx, rax
call fcn.140009048
mov rcx, rax
test rax, rax
je 0x140005960
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rdi
jmp 0x140004d2c
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140005c28
add rcx, rcx
jne 0x140004c96
mov rax, r9
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rdi
jmp 0x140004d2c
call fcn.140009048
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rdi
jmp 0x140004d2c
mov rax, qword [rsp + 0x30]
lea r8, [rsp + 0x30]
cmp rdi, 7
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140004d64
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140004d50
mov qword [rsp + 0x40], rsi
mov word [r8 + rsi*2], r9w
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
cmp rax, 7
cmova rdx, qword [rsp + 0x30]
mov rcx, r14
call fcn.140008420
lea rdx, [0x14000bc2c]
mov rcx, rax
call fcn.140006d30
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004de2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ddc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005960
call fcn.140009040
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
xor r14d, r14d
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r14w
bts r13d, 0x13
mov dword [rsp + 0x60], r13d
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov ebx, r14d
mov ecx, dword [rbp + 0x308]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140004e8e
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::pptr_void_const___ptr64]
test rax, rax
je 0x140004e88
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::pbase_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::pptr_void_const___ptr64]
mov rdi, rax
mov rbx, qword [rbp + 0x300]
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::epptr_void_const___ptr64]
cmp rdi, rbx
cmovb rdi, rbx
sub rdi, rsi
sar rdi, 1
mov rbx, rsi
jmp 0x140004edc
mov ecx, dword [rbp + 0x308]
test cl, 4
jne 0x140004f1a
mov rdi, r14
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::gptr_void_const___ptr64]
test rax, rax
je 0x140004ed7
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::eback_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::egptr_void_const___ptr64]
mov rdi, rax
sub rdi, rsi
sar rdi, 1
mov rbx, rsi
jmp 0x140004edc
mov rsi, qword [rsp + 0x30]
test rbx, rbx
je 0x140004f1a
lea rcx, [rbp + 0x1d0]
cmp rdi, 7
ja 0x140004f0f
mov qword [rbp + 0x1e0], rdi
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx + 0x1d0], r14w
jmp 0x140004f1a
mov r9, rsi
mov rdx, rdi
call fcn.140007ae0
btr r13d, 0x13
bts r13d, 0x12
lea rcx, [rbp + 0x1d0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x140004f77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005967
call fcn.140009040
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x280], rbx
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x298]
call fcn.140006490
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x1c8]
cmp rax, 7
jbe 0x14000501f
lea rdx, [rax*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140005016
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000596e
mov rcx, r15
call fcn.140009040
nop
mov rax, qword [rbp + 0x4c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x4c0], rbx
jmp 0x1400058f6
lea rcx, [rbp + 0x6e0]
call sub.VCRUNTIME140.dll_memset
lea rdi, [0x14000be00]
mov qword [rbp + 0x6e0], rdi
lea r15, [0x14000be20]
mov qword [rbp + 0x6f0], r15
lea rcx, [rbp + 0x778]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
bts r13d, 0x16
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x6f8]
lea rcx, [rbp + 0x6e0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x6e0]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x6e0], rbx
mov rax, qword [rbp + 0x6e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x6dc], edx
lea rcx, [rbp + 0x6f8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x6f8], rax
mov qword [rbp + 0x760], r14
mov dword [rbp + 0x768], r14d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x5e0]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x5e0], rdi
mov qword [rbp + 0x5f0], r15
lea rcx, [rbp + 0x678]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
bts r13d, 0x15
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x5f8]
lea rcx, [rbp + 0x5e0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x5e0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x5e0], rbx
mov rax, qword [rbp + 0x5e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x5dc], edx
lea rcx, [rbp + 0x5f8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x5f8], rax
mov qword [rbp + 0x660], r14
mov dword [rbp + 0x668], r14d
mov r15, qword [rsp + 0x50]
mov r14, qword [r15 + 0x40]
mov r15, qword [r15 + 0x48]
cmp r14, r15
je 0x140005535
nop word [rax + rax]
mov rdi, qword [r14]
add rdi, r12
lea rax, [rbp + 0x390]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [r14 + 8]
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, eax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x280]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000be00]
mov qword [rbp + 0x280], rax
lea rax, [0x14000be20]
mov qword [rbp + 0x290], rax
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or r13d, 0x40
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x280]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x280], rax
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x298], rax
xor eax, eax
mov qword [rbp + 0x300], rax
mov dword [rbp + 0x308], eax
test ebx, ebx
je 0x140005303
cmp qword [rbp + 0x390], 1
jne 0x140005303
lea rdx, str.___Successfully_patched_0x
lea rcx, [rbp + 0x290]
call fcn.140006d30
lea rdx, [0x140001290]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._with_0x
call fcn.140006d30
lea rdx, [0x140001290]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
movzx edx, byte [r14 + 8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
jmp 0x140005355
lea rdx, str.____Failed_to_patch_0x
lea rcx, [rbp + 0x290]
call fcn.140006d30
lea rdx, [0x140001290]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str.._Error:
call fcn.140006d30
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
xor esi, esi
mov qword [rbp + 0x1e0], rsi
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], si
or r13d, 0x20
mov dword [rsp + 0x60], r13d
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov ecx, dword [rbp + 0x308]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400053d1
mov rax, qword [rbp + 0x2d8]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400053d1
mov rax, qword [rbp + 0x2b8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x300]
cmovb rdx, qword [rbp + 0x300]
sub rdx, r9
jmp 0x140005402
test cl, 4
jne 0x14000543f
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000543f
mov rax, qword [rbp + 0x2b0]
mov r9, qword [rax]
mov rax, qword [rbp + 0x2e8]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, rcx
mov rax, r9
sar rdx, 1
test rax, rax
je 0x14000543f
lea rcx, [rbp + 0x1d0]
cmp rdx, 7
ja 0x14000543a
mov qword [rbp + 0x1e0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx + 0x1d0], si
jmp 0x14000543f
call fcn.140007ae0
and r13d, 0xffffffdf
or r13d, 0x10
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 7
cmova rdx, qword [rbp + 0x1d0]
mov r8, qword [rbp + 0x1e0]
mov rcx, rdi
call fcn.140008420
lea rdx, [0x14000bd08]
mov rcx, rax
call fcn.140006d30
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x1400054c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005975
call fcn.140009040
nop
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x280], rax
mov rax, qword [rbp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x27c], edx
lea rcx, [rbp + 0x298]
call fcn.140006490
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x318]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
add r14, 0x10
cmp r14, r15
jne 0x1400051b0
mov rsi, qword [rsp + 0x58]
lea rdi, [0x14000be00]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x3a0], rdi
lea rax, [0x14000be20]
mov qword [rbp + 0x3b0], rax
lea rcx, [rbp + 0x438]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or r13d, 8
mov dword [rsp + 0x60], r13d
xor r8d, r8d
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x3a0], r15
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x39c], edx
lea rcx, [rbp + 0x3b8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x3b8], rax
xor r14d, r14d
mov qword [rbp + 0x420], r14
mov dword [rbp + 0x428], r14d
lea rdx, str.___Memory_patching_completed_for
lea rcx, [rbp + 0x3b0]
call fcn.140006d30
mov r12, qword [rsp + 0x50]
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x140005612
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140008420
lea rdx, [0x14000bc2c]
mov rcx, rax
call fcn.140006d30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r14w
or r13d, 4
mov dword [rsp + 0x60], r13d
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov rcx, r14
mov r8d, dword [rbp + 0x428]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x1400056ae
mov rax, qword [rbp + 0x3f8]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400056ae
mov rax, qword [rbp + 0x3d8]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x420]
cmovb rdx, qword [rbp + 0x420]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1400056f0
test r8b, 4
jne 0x140005728
mov rax, qword [rbp + 0x3f0]
mov r8, qword [rax]
mov rdx, r14
test r8, r8
je 0x1400056eb
mov rax, qword [rbp + 0x3d0]
mov r9, qword [rax]
mov rax, qword [rbp + 0x408]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, r8
sar rdx, 1
mov rcx, r9
jmp 0x1400056f0
mov r9, qword [rsp + 0x30]
test rcx, rcx
je 0x140005728
lea rcx, [rbp + 0x1d0]
cmp rdx, 7
ja 0x140005723
mov qword [rbp + 0x1e0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx + 0x1d0], r14w
jmp 0x140005728
call fcn.140007ae0
and r13d, 0xfffffffb
or r13d, 2
lea rcx, [rbp + 0x1d0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x140005783
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000577e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000597c
call fcn.140009040
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x3a0], r15
mov rax, qword [rbp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x39c], edx
lea rcx, [rbp + 0x3b8]
call fcn.140006490
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x438]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x5e0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x5e0], r15
mov rax, qword [rbp + 0x5e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x5dc], edx
lea rcx, [rbp + 0x5f8]
call fcn.140006490
lea rcx, [rbp + 0x600]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x678]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x6e0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x6e0], r15
mov rax, qword [rbp + 0x6e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x6dc], edx
lea rcx, [rbp + 0x6f8]
call fcn.140006490
lea rcx, [rbp + 0x700]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x778]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0x1c8]
cmp rax, 7
jbe 0x1400058e3
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005983
call fcn.140009040
nop
mov rax, qword [rbp + 0x4c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x4c0], r15
mov rax, qword [rbp + 0x4c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x4bc], edx
lea rcx, [rbp + 0x4d8]
call fcn.140006490
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x558]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
add r12, 0x58
cmp r12, qword [rbp + 0x380]
jmp 0x140003f52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c0], xmm1
mov r8d, 0x36
lea rdx, str.All_applicable_patches_applied._Press_any_key_to_exit.
lea rcx, [rbp + 0x1b0]
call fcn.1400075c0
nop
lea rcx, [rbp + 0x1b0]
call fcn.140001490
nop
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x140005a0c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e95
call fcn.140009040
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x60], r14d
jmp 0x140003c8b
mov rcx, rbx
call fcn.140009040
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], r14
jmp 0x140005a49
movabs rsi, 0x2e8ba2e8ba2e8ba3
mov rcx, qword [rbp + 0x248]
test rcx, rcx
je 0x140005ab5
mov rdx, qword [rbp + 0x250]
call fcn.140007880
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 0x248]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009040
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x248], xmm0
mov qword [rbp + 0x258], r14
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rbp + 0x260]
test rbx, rbx
je 0x140005b57
mov rdi, qword [rbp + 0x268]
cmp rbx, rdi
je 0x140005aee
mov rcx, rbx
call fcn.140003320
add rbx, 0x58
cmp rbx, rdi
jne 0x140005ad6
mov rbx, qword [rbp + 0x260]
mov rcx, qword [rbp + 0x270]
sub rcx, rbx
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x58
mov rax, rbx
cmp rdx, 0x1000
jb 0x140005b38
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140009040
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], r14
mov rdi, qword [rsp + 0x60]
mov rdx, qword [rbp + 0x5d8]
cmp rdx, 7
jbe 0x140005ba1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x5c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009040
nop
mov rdx, qword [rbp + 0x4b8]
cmp rdx, 7
jbe 0x140005bea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x4a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005be5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005be5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009040
mov eax, edi
mov rcx, qword [rbp + 0xb60]
xor rcx, rsp
call fcn.140009020
lea r11, [rsp + 0xc70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400011b0
nop
call fcn.140001110
nop
call fcn.140001110
int3
call fcn.1400011b0
int3