Function at 0x1800bd700
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rcx
xor r14d, r14d
xor eax, eax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r14
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqa xmmword [rbp + 0x90], xmm1
mov word [rbp + 0x80], r14w
mov rdx, qword [rcx]
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], r14w
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800bd7c0
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 + 0x60]
call fcn.18018a9f0
movzx ebx, al
lea rcx, [rsp + 0x38]
call fcn.1800338a0
nop
test bl, bl
je 0x1800bdc64
lea rcx, [rbp + 0x60]
call fcn.18018aed0
nop
lea rcx, [rbp + 0x80]
call fcn.1800338a0
nop
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1800bd853
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bd853
mov rbx, qword [rbp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800bd853
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x120]
call fcn.180088970
nop
cmp qword [rbp + 0x130], 0
setne bl
lea rcx, [rbp + 0x120]
call fcn.1800338a0
test bl, bl
je 0x1800bdb0e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x38], xmm1
mov word [rbp - 0x48], r14w
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x100]
call fcn.18016fae0
nop
lea rcx, [rbp - 0x48]
call fcn.1800338a0
cmp qword [rbp + 0x110], 0
je 0x1800bdc2c
lea rcx, [rbp - 0x20]
call fcn.180088a70
nop
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.18016fae0
nop
lea rcx, [rbp - 0x20]
call fcn.1800338a0
cmp qword [rbp + 0xf0], 0
je 0x1800bdc1f
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rcx, qword [rbp + 0xe0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1800bda10
xor bl, bl
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp + 0xd0], xmm1
mov word [rbp + 0xc0], r14w
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xe0]
call fcn.1801f0cb0
movzx ebx, bl
mov ecx, 1
test al, al
cmovne ebx, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp + 0xb0], xmm1
mov word [rbp + 0xa0], r14w
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x100]
call fcn.1801f0cb0
test al, al
jne 0x1800bd9b8
test bl, bl
je 0x1800bdc05
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 8
cmovae rcx, qword [rbp + 0xc0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1800bdc05
lea rcx, [rbp + 0xa0]
call fcn.1800338a0
nop
lea rcx, [rbp + 0xc0]
call fcn.1800338a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x58], r14w
mov r8d, 4
lea rdx, str.skin
lea rcx, [rsp + 0x58]
call fcn.180033930
nop
lea rcx, [rbp]
call fcn.180088a70
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.18016f8b0
nop
lea rcx, [rbp]
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], r14w
mov r8d, 4
lea rdx, str.skin
lea rcx, [rsp + 0x78]
call fcn.180033930
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x140]
call fcn.18016f980
nop
lea rcx, [rsp + 0x78]
call fcn.1800338a0
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0x160]
call fcn.1800bdce0
nop
lea rcx, [rbp + 0x140]
call fcn.1800338a0
nop
lea rcx, [rbp + 0x160]
call fcn.1800338a0
nop
lea rcx, [rbp + 0xe0]
call fcn.1800338a0
nop
lea rcx, [rbp + 0x100]
call fcn.1800338a0
xor eax, eax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqa xmmword [rbp + 0x50], xmm1
mov word [rbp + 0x40], r14w
mov rdx, qword [rsi]
movdqu xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x58], xmm1
mov word [rbp - 0x68], r14w
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800bdb70
lea rcx, [rbp - 0x68]
call fcn.180033930
nop
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x20]
call fcn.18018a9f0
movzx ebx, al
lea rcx, [rbp - 0x68]
call fcn.1800338a0
test bl, bl
jne 0x1800bdc3a
lea rcx, [rbp + 0x20]
call fcn.18018aed0
nop
lea rcx, [rbp + 0x40]
call fcn.1800338a0
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1800bdcb0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bdcb0
mov rbx, qword [rbp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1800bdcb0
mov rcx, qword [rbp + 0x30]
jmp 0x1800bdcaa
lea rcx, [rbp + 0xa0]
call fcn.1800338a0
nop
lea rcx, [rbp + 0xc0]
call fcn.1800338a0
nop
lea rcx, [rbp + 0xe0]
call fcn.1800338a0
nop
lea rcx, [rbp + 0x100]
call fcn.1800338a0
jmp 0x1800bdcb0
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x1800bdc4b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx], eax
lea rcx, [rbp + 0x20]
call fcn.18018aed0
nop
lea rcx, [rbp + 0x40]
call fcn.1800338a0
nop
jmp 0x1800bdbc5
lea rcx, [rbp + 0x60]
call fcn.18018aed0
nop
lea rcx, [rbp + 0x80]
call fcn.1800338a0
nop
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1800bdcb0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bdcb0
mov rbx, qword [rbp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1800bdcb0
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1802994c0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret