Function at 0x1800bd2c0
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x210
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rcx
xor r15d, r15d
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqa xmmword [rbp + 0x30], xmm1
mov word [rbp + 0x20], r15w
mov rdx, qword [rcx]
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], r15w
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800bd370
lea rcx, [rsp + 0x38]
call fcn.180033930
nop
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp]
call fcn.18018a9f0
movzx ebx, al
lea rcx, [rsp + 0x38]
call fcn.1800338a0
test bl, bl
je 0x1800bd67e
mov rbx, qword [rbp]
test rbx, rbx
je 0x1800bd67e
mov rdi, qword [rdi + 0x58]
test rdi, rdi
je 0x1800bd67e
mov eax, dword [rbx]
cmp dword [rdi], eax
jae 0x1800bd67e
call fcn.180088910
test al, al
je 0x1800bd648
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x58], xmm1
mov word [rbp - 0x68], r15w
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xa0]
call fcn.18016fae0
nop
lea rcx, [rbp - 0x68]
call fcn.1800338a0
cmp qword [rbp + 0xb0], 0
je 0x1800bd672
lea rcx, [rbp - 0x40]
call fcn.180088a70
nop
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.18016fae0
nop
lea rcx, [rbp - 0x40]
call fcn.1800338a0
cmp qword [rbp + 0x90], 0
je 0x1800bd665
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rcx, qword [rbp + 0xa0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1800bd54a
xor r14b, r14b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp + 0x70], xmm1
mov word [rbp + 0x60], r15w
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.1801f0cb0
movzx r14d, r14b
mov ecx, 1
test al, al
cmovne r14d, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp + 0x50], xmm1
mov word [rbp + 0x40], r15w
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.1801f0cb0
test al, al
jne 0x1800bd50a
test r14b, r14b
je 0x1800bd651
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1800bd651
lea rcx, [rbp + 0x40]
call fcn.1800338a0
nop
lea rcx, [rbp + 0x60]
call fcn.1800338a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x58], r15w
mov r8d, 4
lea rdx, str.skin
lea rcx, [rsp + 0x58]
call fcn.180033930
nop
lea rcx, [rbp - 0x20]
call fcn.180088a70
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.18016f8b0
nop
lea rcx, [rbp - 0x20]
call fcn.1800338a0
nop
lea rcx, [rsp + 0x58]
call fcn.1800338a0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x78], xmm1
mov word [rsp + 0x78], r15w
mov r8d, 4
lea rdx, str.skin
lea rcx, [rsp + 0x78]
call fcn.180033930
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xc0]
call fcn.18016f980
nop
lea rcx, [rsp + 0x78]
call fcn.1800338a0
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0xc0]
call fcn.1800bdce0
nop
lea rcx, [rbp + 0xc0]
call fcn.1800338a0
nop
lea rcx, [rbp + 0xe0]
call fcn.1800338a0
nop
lea rcx, [rbp + 0x80]
call fcn.1800338a0
nop
lea rcx, [rbp + 0xa0]
call fcn.1800338a0
mov eax, dword [rbx]
mov dword [rdi], eax
mov dil, 1
jmp 0x1800bd681
lea rcx, [rbp + 0x40]
call fcn.1800338a0
nop
lea rcx, [rbp + 0x60]
call fcn.1800338a0
nop
lea rcx, [rbp + 0x80]
call fcn.1800338a0
nop
lea rcx, [rbp + 0xa0]
call fcn.1800338a0
xor dil, dil
lea rcx, [rbp]
call fcn.18018aed0
nop
lea rcx, [rbp + 0x20]
call fcn.1800338a0
nop
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x1800bd6c5
mov eax, esi
lock xadd dword [rbx + 8], eax
sub eax, 1
jne 0x1800bd6c5
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1800bd6c5
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, dil
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1802994c0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret