Function at 0x140001a30
Capabilities:
Check if file exists
Create process on windows
Delete file
Enumerate processes
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x920]
sub rsp, 0xa20
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x910], rax
mov rsi, rdx
movsxd rdi, ecx
xor r15d, r15d
mov dword [rbp - 0x60], r15d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x10]
call fcn.140002e30
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x160]
call fcn.140002e30
nop
mov dword [rbp - 0x4c], r15d
mov qword [rbp - 0x48], 0xc
mov qword [rbp - 0x40], 0xf
movsd xmm0, qword [str.Madden25.exe]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x1400056e0]
mov dword [rbp - 0x50], eax
mov byte [rbp - 0x4c], r15b
cmp edi, 1
jle 0x140001b42
mov ebx, 1
cmp rdi, rbx
jbe 0x140001b42
lea r14, str._trial
nop word [rax + rax]
mov rax, r15
mov rdx, qword [rsi + rbx*8]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r14 + rax - 1]
jne 0x140001b3a
cmp rax, 7
jne 0x140001b10
mov r8d, 0x12
lea rdx, str.Madden25_Trial.exe
lea rcx, [rbp - 0x58]
call fcn.140003110
inc rbx
cmp rbx, rdi
jl 0x140001b00
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov dword [rbp - 0x60], 2
movups xmmword [rsp + 0x70], xmm0
mov ecx, dword [rbp + 0x1e8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140001ba4
mov rax, qword [rbp + 0x1b8]
mov r8, qword [rax]
test r8, r8
je 0x140001ba4
mov rax, qword [rbp + 0x198]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x1e0]
cmovb r8, qword [rbp + 0x1e0]
sub r8, rdx
jmp 0x140001bde
test cl, 4
jne 0x140001bd4
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001bd4
mov rax, qword [rbp + 0x190]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x1c8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140001bde
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140001bee
lea rcx, [rsp + 0x50]
call fcn.140003110
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
lea rcx, [rbp]
call fcn.140003740
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
call fcn.140003740
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001c68
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003efc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf4], xmm0
movups xmmword [rbp + 0x104], xmm0
movups xmmword [rbp + 0x114], xmm0
movups xmmword [rbp + 0x124], xmm0
movups xmmword [rbp + 0x134], xmm0
movups xmmword [rbp + 0x144], xmm0
mov dword [rbp + 0x154], eax
mov dword [rbp + 0xf0], 0x68
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
lea rdx, [rbp + 0x6c0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
mov r12, 0xffffffffffffffff
cmp eax, 0x103
ja 0x140001dad
lea r9, [rbp + 0x4b0]
xor r8d, r8d
lea rdx, str.SPARK
lea rcx, [rbp + 0x6c0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x140001dad
lea rax, [rbp + 0x4b0]
mov rdx, r12
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140001d20
mov rax, qword [rbp - 0x20]
cmp rdx, rax
ja 0x140001d61
lea rdi, [rbp - 0x38]
cmp rax, 7
cmova rdi, qword [rbp - 0x38]
mov qword [rbp - 0x28], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x4b0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r15w
jmp 0x140001d71
lea r9, [rbp + 0x4b0]
lea rcx, [rbp - 0x38]
call fcn.1400035e0
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, r12
jne 0x140001de6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.____Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003270
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140003450]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, r15
lea r8, [0x140005708]
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x140001e38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.____Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003270
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003450]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
jne 0x140001e81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.____Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003270
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003450]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
jne 0x140001ec8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.____Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003270
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003450]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [rbp - 0x60], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x60]
mov r8d, eax
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140001f2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.____Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003270
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003450]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rbp - 0x60], esi
je 0x140001f66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.____Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003270
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003450]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov ecx, 0xf
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x50], 0
mov dword [rbp - 0x60], 9
movups xmmword [rsp + 0x70], xmm0
mov edx, dword [rbp + 0x78]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140001fc4
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140001fc4
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x70]
cmovb r8, qword [rbp + 0x70]
sub r8, rdx
jmp 0x140001ff5
test dl, 4
jne 0x140001feb
mov rax, qword [rbp + 0x40]
mov r9, qword [rax]
test r9, r9
je 0x140001feb
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x140001ff5
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140002009
lea rcx, [rsp + 0x50]
call fcn.140003110
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x50]
cmp rcx, 0xf
cmova rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140002091
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000208c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000208c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003efc
test ebx, ebx
jne 0x1400021da
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error___3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003270
mov rcx, rax
lea rdx, [0x140003450]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov ecx, 0xf
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x50], bl
mov dword [rbp - 0x60], 0x25
movups xmmword [rsp + 0x70], xmm0
mov edx, dword [rbp + 0x78]
mov eax, edx
and al, 0x22
cmp al, 2
je 0x140002116
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140002116
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x70]
cmovb r8, qword [rbp + 0x70]
sub r8, rdx
jmp 0x140002147
test dl, 4
jne 0x14000213d
mov rax, qword [rbp + 0x40]
mov r9, qword [rax]
test r9, r9
je 0x14000213d
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd r8, dword [rax]
sub r8, rdx
add r8, r9
jmp 0x140002147
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x14000215b
lea rcx, [rsp + 0x50]
call fcn.140003110
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x50]
cmp rcx, 0xf
cmova r9, qword [rsp + 0x50]
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r8, qword [rbp - 0x58]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], r15
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140002254
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003efc
jmp 0x140002254
mov qword [rbp - 0x60], r15
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova r9, qword [rbp - 0x38]
mov qword [rsp + 0x20], 0x103
mov r8d, 0x104
lea rdx, [rbp + 0x4b0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x4b0]
mov ecx, dword [rbp - 0x68]
call fcn.140001840
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
lea rdx, str.Error___4
je 0x14000223f
lea rdx, str.Done._nLaunching_game_now..._nThis_window_will_stay_open_until_you_close_the_game.
call fcn.140003270
lea rdx, [0x140003450]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rbp - 0x78], 0
je 0x1400025e4
mov rcx, qword [rbp - 0x48]
inc rcx
mov eax, 2
mul rcx
cmovb rax, r12
mov rcx, rax
call fcn.140003f04
mov rsi, rax
mov rcx, qword [rbp - 0x48]
mov word [rax + rcx*2], r15w
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x48]
add rcx, r8
lea r8, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r8, qword [rbp - 0x58]
mov rdx, rax
mov r11, r15
mov r9, rcx
sub r9, r8
cmp r8, rcx
cmova r9, r15
test r9, r9
je 0x14000235f
cmp r9, 0x20
jb 0x14000235f
lea r10, [rax - 2]
lea r10, [r10 + r9*2]
lea rax, [r8 - 1]
add rax, r9
cmp rdx, rax
ja 0x1400022f3
cmp r10, r8
jae 0x14000235f
and r9, 0xffffffffffffffe0
nop word [rax + rax]
movq xmm0, qword [r8]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movdqu xmmword [rdx], xmm0
movq xmm0, qword [r8 + 8]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movdqu xmmword [rdx + 0x10], xmm0
movq xmm0, qword [r8 + 0x10]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movdqu xmmword [rdx + 0x20], xmm0
movq xmm0, qword [r8 + 0x18]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movdqu xmmword [rdx + 0x30], xmm0
add rdx, 0x40
add r8, 0x20
add r11, 0x20
cmp r11, r9
jne 0x140002300
cmp r8, rcx
je 0x140002383
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [r8]
mov word [rdx], ax
lea rdx, [rdx + 2]
inc r8
cmp r8, rcx
jne 0x140002370
xor eax, eax
mov dword [rbp + 0x4a9], eax
mov word [rbp + 0x4ad], ax
mov byte [rbp + 0x4af], al
mov qword [rbp + 0x4a0], r15
mov byte [rbp + 0x4a8], al
mov qword [rbp + 0x498], rsi
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp + 0x6c0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x260]
lea rax, [rbp + 0x6c0]
mov edi, 4
mov r8d, edi
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub r8, 1
jne 0x1400023e0
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
mov rax, qword [rax + 0x30]
mov qword [rdx + 0x30], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x1400024d0
mov dword [rbp + 0x260], 0x238
lea rdx, [rbp + 0x260]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400024d0
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp + 0x28c]
mov r8, rsi
sub r8, rcx
nop dword [rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x1400024b4
add rcx, 2
test eax, eax
jne 0x1400024a0
mov rcx, rbx
test edx, edx
je 0x140002622
lea rdx, [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002490
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp + 0x268]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x4a0], rax
lea rax, [rbp + 0x6c0]
lea rcx, [rbp + 0x260]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdi, 1
jne 0x140002502
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
mov rdx, rsi
lea rcx, [rbp + 0x6c0]
call fcn.140001350
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400025bb
nop dword [rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400025a0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x140002639
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002634
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002634
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbp + 0x4a8], 1
jmp 0x1400024d9
call fcn.140003efc
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140002688
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002683
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002683
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003efc
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rbx, [0x140005818]
mov qword [rbp + rcx + 0x160], rbx
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x178]
call fcn.140002d70
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], rbx
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call fcn.140002d70
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.140003c60
lea r11, [rsp + 0xa20]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret