Function at 0x180006e54
Capabilities:
Copy file
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov rax, qword [0x18002e008]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov ecx, 0x8003
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor r14d, r14d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x180003bec]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.18000a550
mov r8d, ebx
lea rdx, [rbp - 0x80]
mov rcx, qword [0x18002fd60]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [r14 + 0x5c]
lea rcx, [rbp - 0x80]
call fcn.180009e7c
mov byte [rax + 1], r14b
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
lea r15d, [r14 + 0xf]
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x58], r14b
lea rax, [rbp - 0x80]
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x180006f0e
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.18000742c
nop
mov cl, 0x1f
mov dword [rsp + 0x30], 0x6b7e7b1f
mov word [rsp + 0x34], 0x7e
mov rax, r14
xor byte [rsp + rax + 0x31], cl
inc rax
cmp rax, 4
jae 0x180006f4d
mov cl, byte [rsp + 0x30]
jmp 0x180006f3a
mov byte [rsp + 0x35], r14b
lea rax, [rsp + 0x31]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], r14b
jne 0x180006f5a
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
sub rax, rcx
cmp rsi, rax
ja 0x180006fa8
lea rax, [rcx + rsi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8, rsi
lea rdx, [rsp + 0x31]
mov rcx, rbx
call fcn.18000de00
mov byte [rbx + rsi], r14b
jmp 0x180006fbf
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x31]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.180007798
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov byte [rsp + 0x38], r14b
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x180006fda
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.18000742c
nop
mov cl, 0x1f
mov dword [rsp + 0x30], 0x6574731f
xor eax, eax
mov byte [rsp + 0x34], al
mov rax, r14
xor byte [rsp + rax + 0x31], cl
inc rax
cmp rax, 3
jae 0x180007018
mov cl, byte [rsp + 0x30]
jmp 0x180007005
mov byte [rsp + 0x34], r14b
lea rax, [rsp + 0x31]
inc rdi
cmp byte [rax + rdi], r14b
jne 0x180007022
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
sub rax, rcx
cmp rdi, rax
ja 0x180007070
lea rax, [rcx + rdi]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, rdi
lea rdx, [rsp + 0x31]
mov rcx, rbx
call fcn.18000de00
mov byte [rbx + rdi], r14b
jmp 0x180007087
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x31]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180007798
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call fcn.180001208
test eax, eax
je 0x1800070e4
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call fcn.180004b88
lea rcx, [rbp + 0x90]
call fcn.180001320
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
xor r8d, r8d
lea rdx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [0x18002fd68], 1
jne 0x1800070f3
call fcn.180003b60
nop
mov ebx, 0x1000
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x18000712d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x180007128
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800071a3
call fcn.1800081a0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov byte [rsp + 0x38], r14b
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180007171
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x18000716c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000719d
call fcn.1800081a0
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180008180
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180010a98
nop
call fcn.180010a98
nop
int3