Function at 0x14005f820
Capabilities:
Check if file exists
Copy file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, r9
mov rdi, rcx
call fcn.14004ef70
mov qword [rdi + 0x208], rsi
call fcn.14000cdd0
cmp byte [rax + 0x32e48], 0
jne 0x14005fa9d
call fcn.14000cdd0
lea rdx, [rbp - 1]
mov rcx, rax
call fcn.14001f680
nop
xor ebx, ebx
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], rbx
mov word [rbp - 0x41], bx
lea r8d, [rbx + 0x10]
lea rdx, str.functionList.xml
lea rcx, [rbp - 0x41]
call fcn.140006f10
nop
lea r8, [rbp - 0x41]
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x21]
call fcn.140028400
mov r8, qword [rbp - 9]
cmp r8, 8
jb 0x14005f8de
inc r8
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.140007680
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rbx
mov word [rbp - 0x21], bx
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x14005f908
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.140007680
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], rbx
mov word [rbp - 0x41], bx
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rcx, qword [rbp - 1]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14005fa5a
call fcn.14000cdd0
lea rdx, [rbp - 0x41]
mov rcx, rax
call fcn.1400353b0
nop
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rbx
mov word [rbp - 0x21], bx
mov r8d, InitCommonControls
lea rdx, str.functionList.xml
lea rcx, [rbp - 0x21]
call fcn.140006f10
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x1f]
call fcn.140028400
mov r8, qword [rbp + 0x37]
cmp r8, 8
jb 0x14005f9a0
inc r8
mov rdx, qword [rbp + 0x1f]
lea rcx, [rbp + 0x1f]
call fcn.140007680
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], rbx
mov word [rbp + 0x1f], bx
mov r8, qword [rbp - 9]
cmp r8, 8
jb 0x14005f9ca
inc r8
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.140007680
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rbx
mov word [rbp - 0x21], bx
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rcx, qword [rbp - 0x41]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005fa2e
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rcx, qword [rbp - 0x41]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rdi + 0x210]
mov r8, rsi
lea rdx, [rbp - 1]
call fcn.140066e50
nop
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x14005fa48
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.140007680
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], rbx
mov word [rbp - 0x41], bx
jmp 0x14005fa6e
lea rcx, [rdi + 0x210]
mov r8, rsi
lea rdx, [rbp - 1]
call fcn.140066e50
nop
mov r8, qword [rbp + 0x17]
cmp r8, 8
jb 0x14005fa88
inc r8
mov rdx, qword [rbp - 1]
lea rcx, [rbp - 1]
call fcn.140007680
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], rbx
mov word [rbp - 1], bx
jmp 0x14005fb99
call fcn.14000cdd0
lea rdx, [rbp - 0x41]
mov rcx, rax
call fcn.1400353b0
nop
xor ebx, ebx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rbx
mov word [rbp - 0x21], bx
lea r8d, [rbx + 0x10]
lea rdx, str.functionList.xml
lea rcx, [rbp - 0x21]
call fcn.140006f10
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x1f]
call fcn.140028400
mov r8, qword [rbp + 0x37]
cmp r8, 8
jb 0x14005fb09
inc r8
mov rdx, qword [rbp + 0x1f]
lea rcx, [rbp + 0x1f]
call fcn.140007680
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], rbx
mov word [rbp + 0x1f], bx
mov r8, qword [rbp - 9]
cmp r8, 8
jb 0x14005fb33
inc r8
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.140007680
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rbx
mov word [rbp - 0x21], bx
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rcx, qword [rbp - 0x41]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14005fb6f
lea rcx, [rdi + 0x210]
mov r8, rsi
lea rdx, [rbp - 0x41]
call fcn.140066e50
nop
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x14005fb89
inc r8
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
call fcn.140007680
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], rbx
mov word [rbp - 0x41], bx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140168660
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret