Function at 0x180003470
Capabilities:
Copy file
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov rax, qword [0x180040030]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
lea r15d, [r14 + 0xf]
mov qword [rsp + 0x68], r15
mov byte [rsp + 0x50], r14b
lea rax, [rbp + 0xd0]
or r13, 0xffffffffffffffff
mov rbx, r13
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1800034e5
lea rcx, [rsp + 0x50]
cmp rbx, r15
ja 0x180003513
mov qword [rsp + 0x60], rbx
mov r8, rbx
lea rdx, [rbp + 0xd0]
call fcn.18000b770
mov byte [rsp + rbx + 0x50], r14b
jmp 0x180003523
lea r9, [rbp + 0xd0]
mov rdx, rbx
call fcn.1800062a8
nop
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r15
mov byte [rsp + 0x70], r14b
lea r9, str.C:Program_Files__x86__bili.exe
mov edx, 0x1f
lea rcx, [rsp + 0x70]
call fcn.1800062a8
nop
lea rdx, [rsp + 0x70]
mov r12d, 0x10
cmp qword [rbp - 0x78], r12
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae rcx, qword [rsp + 0x50]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rdi, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1800035ed
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x30]
call fcn.18000be20
lea rcx, [0x18003b02c]
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x30], 1
inc rcx
lea rax, [0x18003b02e]
cmp rcx, rax
jne 0x1800035ac
lea rax, [rsi - 1]
mov rbx, r13
cmp rax, r13
cmovb rbx, rax
add rbx, rdi
jmp 0x1800035de
cmp rbx, rdi
je 0x1800035ed
dec rbx
movzx eax, byte [rbx]
cmp byte [rbp + rax - 0x30], r14b
je 0x1800035d6
sub rbx, rdi
jmp 0x1800035f0
mov rbx, r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x30], r14b
cmp rsi, rbx
cmovb rbx, rsi
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r12
cmovae r9, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
cmp rbx, r15
ja 0x18000363c
mov qword [rsp + 0x40], rbx
mov r8, rbx
mov rdx, r9
call fcn.18000b770
mov byte [rsp + rbx + 0x30], r14b
jmp 0x180003645
mov rdx, rbx
call fcn.1800062a8
nop
mov r8, r12
lea rdx, str.hxgetword64.dll
lea rcx, [rsp + 0x30]
call fcn.180004a28
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r15
mov byte [rax], r14b
mov ebx, 0x1000
mov rdx, qword [rsp + 0x48]
cmp rdx, r12
jb 0x1800036bc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rbx
jb 0x1800036b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000386f
call fcn.180009780
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x30], r14b
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r15
lea r9, str.C:Program_Files__x86_hxgetword64.dll
mov edx, 0x26
lea rcx, [rbp - 0x50]
call fcn.1800062a8
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], r12
cmovae rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], r12
cmovae rcx, qword [rbp - 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], r12
cmovae r8, qword [rsp + 0x70]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [rbp - 0x38]
cmp rdx, r12
jb 0x180003773
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, rbx
jb 0x18000376e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003875
call fcn.180009780
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x50], r14b
mov rdx, qword [rbp - 0x58]
cmp rdx, r12
jb 0x1800037b5
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, rbx
jb 0x1800037b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000387b
call fcn.180009780
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r15
mov byte [rbp - 0x70], r14b
mov rdx, qword [rbp - 0x78]
cmp rdx, r12
jb 0x1800037f8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, rbx
jb 0x1800037f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003881
call fcn.180009780
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r15
mov byte [rsp + 0x70], r14b
mov rdx, qword [rsp + 0x68]
cmp rdx, r12
jb 0x180003839
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, rbx
jb 0x180003834
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003869
call fcn.180009780
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.180009760
lea r11, [rsp + 0x2f0]
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.1800131d4
nop
call fcn.1800131d4
nop
call fcn.1800131d4
nop
call fcn.1800131d4
nop
call fcn.1800131d4
int3