Function at 0x14007b540
Capabilities:
Copy file
Set file attributes

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x518]
sub rsp, 0x618
movzx r14d, r9b
mov r15, r8
mov r12, rdx
mov rbx, rcx
xor esi, esi
mov edi, esi
mov dword [rsp + 0x40], esi
mov rdx, r8
lea rcx, [rbp - 0x60]
call fcn.14000bff0
mov rcx, rax
call fcn.14002b330
lea rax, [rbp + 0x18]
mov qword [rsp + 0x78], rax
mov rdx, r12
lea rcx, [rbp + 0x18]
call fcn.14000bff0
nop
lea rax, vtable.JRPropertyMap.0
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rsi
mov byte [rbp + 0x30], 1
xor edx, edx
lea rcx, [rbp + 0x18]
call fcn.140019c10
nop
mov byte [rbp + 0x10], sil
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x38]
call fcn.1400906c0
mov rsi, 0xffffffffffffffff
mov qword [rbp + 0x288], rsi
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x18]
call fcn.14001a980
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140041b10
nop
xor edx, edx
lea rcx, [rbp + 0x298]
call fcn.140019b20
nop
mov byte [rbp + 0x290], 0
lea rcx, [rbp + 0x298]
call fcn.1400106f0
lea rcx, [rbp + 0x2a0]
mov rax, qword [rbp + 0x2a0]
call qword [rax + 0x70]
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x2b8]
call fcn.1400906c0
nop
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x10]
call fcn.140041c90
test al, al
je 0x14007be5f
lea r13, [rbx + 8]
mov ebx, 0x5c
test byte [rbp + 0x2b8], 0x10
jne 0x14007ba89
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x298]
call fcn.14001bd00
nop
or edi, 4
mov dword [rsp + 0x40], edi
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000bff0
or edi, 8
mov dword [rsp + 0x40], edi
test dil, 4
je 0x14007b6ec
and edi, 0xfffffffb
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007b6e8
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007b6de
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b6e8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov edi, dword [rsp + 0x40]
test dil, 2
je 0x14007b72d
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007b729
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007b71f
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b729
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov edi, dword [rsp + 0x40]
lea r8, [rbp - 0x78]
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140016f20
nop
and edi, 0xfffffff7
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007b775
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007b76b
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b775
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rbp + 0x298]
test byte [rbp + 0x2b8], 0x10
je 0x14007b798
lea rdx, [rbp - 0x40]
call fcn.14001b940
nop
mov ebx, dword [rsp + 0x40]
or ebx, 0x20
jmp 0x14007b7a9
lea rdx, [rbp - 0x48]
call fcn.14001bd00
nop
mov ebx, dword [rsp + 0x40]
or ebx, 0x40
mov dword [rsp + 0x40], ebx
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14000bff0
bts ebx, 7
mov dword [rsp + 0x40], ebx
test bl, 0x40
je 0x14007b801
and ebx, 0xffffffbf
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007b7fd
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007b7f3
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b7fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov ebx, dword [rsp + 0x40]
test bl, 0x20
je 0x14007b841
and ebx, 0xffffffdf
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007b83d
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007b833
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b83d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov ebx, dword [rsp + 0x40]
lea r8, [rbp - 0x70]
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140016f20
nop
btr ebx, 7
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007b88b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007b881
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b88b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, 0x80
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test r14b, r14b
je 0x14007b8bb
lea rcx, [rbp - 0x80]
call fcn.14002ddb0
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, [0x1400d88b0]
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x38], rax
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x60], rax
or dword [rsp + 0x40], 0x400
mov rax, qword [rsp + 0x58]
mov r14d, dword [rax - 0x10]
add r14d, dword [rbx - 0x10]
mov r9b, 1
xor r8d, r8d
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140010590
mov rdi, rax
movsxd r8, dword [rbx - 0x10]
add r8, r8
mov rdx, rbx
mov rcx, rax
call fcn.14008ff40
mov rdx, qword [rsp + 0x58]
movsxd r8, dword [rdx - 0x10]
add r8, r8
movsxd rcx, dword [rbx - 0x10]
lea rcx, [rdi + rcx*2]
call fcn.14008ff40
mov rax, qword [rsp + 0x60]
cmp r14d, 0xffffffff
jne 0x14007b986
test rax, rax
jne 0x14007b96c
xor ecx, ecx
mov edx, ecx
jmp 0x14007b992
mov rdx, rax
nop
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x14007b970
sub rdx, rax
sar rdx, 1
dec edx
jmp 0x14007b992
movsxd rcx, r14d
xor edx, edx
mov word [rax + rcx*2], dx
mov edx, r14d
mov dword [rax - 0x10], edx
mov ecx, dword [rax - 8]
cmp ecx, 0xffffffff
jne 0x14007b9a5
mov ecx, 1
xchg dword [rax - 8], ecx
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.14000bec0
and dword [rsp + 0x40], 0xfffffbff
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007b9eb
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007b9e1
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007b9eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007ba1b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007ba11
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007ba1b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007ba4c
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007ba42
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007ba4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007ba7c
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007ba72
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007ba7c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
movzx r14d, byte [rbp + 0x578]
jmp 0x14007be42
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x290]
call fcn.140041900
nop
mov word [rsp + 0x50], bx
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x48]
call fcn.140012150
bts edi, 0xb
mov dword [rsp + 0x40], edi
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007bb19
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007bb0f
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007bb19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400103b0
and dword [rsp + 0x40], 0xfffff7ff
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007bb5f
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007bb55
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007bb5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x48]
call fcn.14001c290
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, esi
mov r8d, esi
lea rdx, [0x1400d8e78]
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x28], rax
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x70], rax
or dword [rsp + 0x40], 0x1000
mov rax, qword [r15]
mov r14d, dword [rax - 0x10]
add r14d, dword [rbx - 0x10]
mov r9b, 1
xor r8d, r8d
mov edx, r14d
lea rcx, [rsp + 0x70]
call fcn.140010590
mov rdi, rax
movsxd r8, dword [rbx - 0x10]
add r8, r8
mov rdx, rbx
mov rcx, rax
call fcn.14008ff40
mov rdx, qword [r15]
movsxd r8, dword [rdx - 0x10]
add r8, r8
movsxd rcx, dword [rbx - 0x10]
lea rcx, [rdi + rcx*2]
call fcn.14008ff40
mov rax, qword [rsp + 0x70]
cmp r14d, 0xffffffff
jne 0x14007bc36
test rax, rax
jne 0x14007bc16
xor ecx, ecx
mov edx, ecx
jmp 0x14007bc42
mov rdx, rax
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
test cx, cx
jne 0x14007bc20
sub rdx, rax
sar rdx, 1
dec edx
jmp 0x14007bc42
movsxd rcx, r14d
xor edx, edx
mov word [rax + rcx*2], dx
mov edx, r14d
mov dword [rax - 0x10], edx
mov ecx, dword [rax - 8]
cmp ecx, 0xffffffff
jne 0x14007bc55
mov ecx, 1
xchg dword [rax - 8], ecx
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x68], rax
or dword [rsp + 0x40], 0x2000
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x48]
mov r14d, dword [rax - 0x10]
add r14d, dword [rbx - 0x10]
mov r9b, 1
xor r8d, r8d
mov edx, r14d
lea rcx, [rsp + 0x68]
call fcn.140010590
mov rdi, rax
movsxd r8, dword [rbx - 0x10]
add r8, r8
mov rdx, rbx
mov rcx, rax
call fcn.14008ff40
mov rdx, qword [rsp + 0x48]
movsxd r8, dword [rdx - 0x10]
add r8, r8
movsxd rcx, dword [rbx - 0x10]
lea rcx, [rdi + rcx*2]
call fcn.14008ff40
mov rax, qword [rsp + 0x68]
cmp r14d, 0xffffffff
jne 0x14007bcf6
test rax, rax
jne 0x14007bcd7
xor ecx, ecx
jmp 0x14007bd02
mov rcx, rax
nop word [rax + rax]
movzx edx, word [rcx]
add rcx, 2
test dx, dx
jne 0x14007bce0
sub rcx, rax
sar rcx, 1
dec ecx
jmp 0x14007bd02
movsxd rcx, r14d
xor edx, edx
mov word [rax + rcx*2], dx
mov ecx, r14d
mov dword [rax - 0x10], ecx
mov ecx, dword [rax - 8]
cmp ecx, 0xffffffff
jne 0x14007bd15
mov ecx, 1
xchg dword [rax - 8], ecx
lea rdx, [rsp + 0x68]
mov rcx, r13
call fcn.14000bec0
and dword [rsp + 0x40], 0xffffdfff
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007bd5b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007bd51
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007bd5b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
and dword [rsp + 0x40], 0xffffefff
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007bd94
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007bd8a
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007bd94
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007bdc4
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007bdba
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007bdc4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rax, [rbp - 0x20]
mov qword [rbp], rax
lea r8, [rsp + 0x48]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.140016f20
mov rbx, rax
lea r8, [rsp + 0x48]
mov rdx, r12
lea rcx, [rbp - 0x18]
call fcn.140016f20
nop
movzx r14d, byte [rbp + 0x578]
movzx r9d, r14b
mov r8, rbx
mov rdx, rax
mov rcx, qword [rbp + 0x560]
call fcn.14007b540
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007be42
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007be38
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007be42
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x10]
call fcn.140041c90
test al, al
je 0x14007be5f
mov edi, dword [rsp + 0x40]
jmp 0x14007b66e
lea rcx, [rbp + 0x298]
call fcn.140019ba0
nop
mov rcx, qword [rbp + 0x288]
cmp rcx, 0xffffffffffffffff
je 0x14007be7f
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbp + 0x288], rsi
mov byte [rbp + 0x10], 0
lea rcx, [rbp + 0x18]
call fcn.140019ba0
test r14b, r14b
je 0x14007beae
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14000bff0
mov rcx, rax
call fcn.14002bd60
nop
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007bede
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007bed4
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007bede
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14007bf0b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14007bf01
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14007bf0b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov al, 1
add rsp, 0x618
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret