Function at 0x140092ee0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1090]
mov eax, 0x1190
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x1080], rax
mov rdi, r9
mov esi, r8d
mov r14, rdx
mov rax, qword [rbp + 0x10f0]
mov qword [rbp - 0x70], rax
xor r12d, r12d
mov dword [rsp + 0x60], r12d
lea rdx, str.OperateFile::XCopyFileWithDstDirs
lea rcx, [rbp - 0x60]
call fcn.14001abe0
nop
lea rbx, [0x1402a8360]
lea r15, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rbx
je 0x140092fd3
test byte [rcx + 0x1c], 1
je 0x140092f92
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [r12 + 0x1c]
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, rbx
je 0x140092fd3
test byte [rcx + 0x1c], 1
je 0x140092fd3
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x1d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140048040
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x840]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x420]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x210]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa50]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc60]
call fcn.1401e7e40
mov dword [rsp + 0x5c], r12d
mov qword [rsp + 0x68], r12
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov r13d, dword [rax + 0xa64]
mov dword [rsp + 0x74], r13d
test r14, r14
jne 0x14009308e
mov byte [rbp - 0x58], 1
mov r10, qword [0x1402a8360]
cmp r10, rbx
je 0x140093854
test byte [r10 + 0x1c], 1
je 0x140093854
lea edx, [r14 + 0x1e]
jmp 0x1400937c8
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x630]
call fcn.1401e7e40
mov dword [rsp + 0x70], 0x208
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x630]
xor ecx, ecx
call qword [sym.imp.mscms.dll_GetColorDirectoryW]
test eax, eax
je 0x14009312a
lea rcx, [rbp + 0x630]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14009312a
xor edx, edx
lea rcx, [rbp + 0x630]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14009312a
mov rcx, qword [0x1402a8360]
cmp rcx, rbx
je 0x14009312a
test byte [rcx + 0x1c], 4
je 0x14009312a
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x1f]
lea rax, [rbp + 0x630]
mov qword [rsp + 0x20], rax
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov ebx, 0xffffffff
mov dword [rsp + 0x58], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xe70]
call fcn.1401e7e40
cmp r13d, 2
jne 0x1400931a0
lea rcx, [rsp + 0x78]
call fcn.1400484a0
nop
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14004fa10
nop
lea rcx, [rsp + 0x78]
call fcn.140048610
mov ebx, dword [rsp + 0x58]
cmp ebx, 2
jge 0x1400937f9
nop word [rax + rax]
mov rax, qword [0x1402bc020]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0xa50]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xc60]
mov r8d, esi
mov rdx, rdi
lea rcx, [0x1402bc020]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
test eax, eax
jne 0x14009321a
mov rcx, qword [0x1402bbf58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov rcx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
mov r8, rdi
lea rdx, [rbp + 0xa50]
call fcn.1401924e0
test eax, eax
je 0x140093225
inc ebx
mov dword [rsp + 0x58], ebx
jmp 0x140093191
mov rdx, r14
lea rcx, [rbp + 0x840]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x840]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov r13d, r12d
cmp dword [rsp + 0x5c], r12d
jbe 0x1400937f9
mov rsi, qword [rsp + 0x68]
mov r10, qword [0x1402a8360]
lea rdi, [0x1402a8360]
cmp r10, rdi
je 0x1400932b5
test byte [r10 + 0x1c], 4
je 0x1400932b5
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov eax, r13d
imul r8, rax, 0x410
add r8, rsi
lea rax, [r8 + 0x208]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
lea r8, str.eXK3
mov rcx, qword [r10 + 0x10]
call fcn.14002fbe0
mov eax, r13d
imul rax, rax, 0x410
mov qword [rbp - 0x78], rax
lea rbx, [rax + rsi]
lea rdx, [0x140251dfc]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14009332f
mov r10, qword [0x1402a8360]
cmp r10, rdi
je 0x140093771
test byte [r10 + 0x1c], 4
je 0x140093771
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea rax, [rbx + 0x208]
mov edx, 0x21
mov qword [rsp + 0x20], rax
lea r8, str.eXK3
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
jmp 0x14009376a
lea rdx, [rbp + 0x840]
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [rsp + 0x74], 2
jne 0x1400936e5
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0x104
lea r9, [rbp]
mov r8d, 8
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xa50]
call fcn.1401fded0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp]
lea r8, [rbp - 0x10]
mov edx, 0x104
lea rcx, [rbp + 0xe70]
call fcn.1401fdacc
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x1400938eb
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rbp]
cmp rax, 0x10000
jae 0x1400933ee
lea rax, [rbp]
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.1400041d0
jmp 0x14009341c
lea rcx, [rbp]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140093400
mov r8d, eax
lea rdx, [rbp]
lea rcx, [rsp + 0x50]
call fcn.140004e60
nop
mov edx, 0x5c
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1401e768c
mov edi, dword [rbx - 0x10]
mov r15d, r12d
mov esi, edi
test rax, rax
jne 0x140093440
mov ecx, r12d
jmp 0x14009345c
sub rax, rbx
sar rax, 1
test eax, eax
cmovns r15d, eax
mov ecx, r15d
cmp r15d, 0x7ffffffe
jg 0x140093917
lea eax, [r15 + 1]
sub esi, ecx
cmp eax, edi
jle 0x14009346f
mov r14d, esi
test esi, esi
jle 0x1400934e9
jmp 0x140093475
mov r14d, 1
sub edi, r14d
sub esi, r14d
inc esi
cmp dword [rbx - 8], 1
jle 0x140093495
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005100
mov rbx, qword [rsp + 0x50]
movsxd r8, esi
movsxd rcx, r15d
mov eax, r14d
add rax, rcx
lea rdx, [rbx + rax*2]
lea rcx, [rbx + rcx*2]
add r8, r8
je 0x1400934cd
test rcx, rcx
je 0x1400938f6
test rdx, rdx
je 0x1400938f6
lfence
call fcn.1401e7770
mov rbx, qword [rsp + 0x50]
test edi, edi
js 0x14009390c
cmp edi, dword [rbx - 0xc]
jg 0x14009390c
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r12w
mov edx, 0x5c
mov rcx, rbx
call fcn.1401e768c
test rax, rax
jne 0x140093502
mov eax, 0xffffffff
jmp 0x140093508
sub rax, rbx
sar rax, 1
mov r9d, dword [rbx - 0x10]
sub r9d, eax
mov r8d, eax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.14002eaa0
or dword [rsp + 0x60], 1
mov rdi, qword [rbp - 0x80]
lea rcx, [rdi - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140093592
cmp dword [rbx + 0x10], 0
jl 0x140093580
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140093580
call fcn.140004d00
mov rdi, rax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140093571
lfence
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x50], rax
mov rdi, qword [rbp - 0x80]
jmp 0x140093592
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140004e60
nop
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400935b8
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0x10], 0
jg 0x1400935cd
mov edi, dword [rbx - 0x10]
mov r14d, r12d
mov esi, edi
jmp 0x140093612
mov edx, 0x5c
mov rcx, rbx
call fcn.1401e71f4
mov edi, dword [rbx - 0x10]
mov r14d, r12d
mov esi, edi
test rax, rax
jne 0x1400935ec
mov ecx, r12d
jmp 0x140093608
sub rax, rbx
sar rax, 1
test eax, eax
cmovns r14d, eax
mov ecx, r14d
cmp r14d, 0x7ffffffe
jg 0x140093917
lea eax, [r14 + 1]
sub esi, ecx
cmp eax, edi
jle 0x14009361b
mov r15d, esi
test esi, esi
jle 0x140093695
jmp 0x140093621
mov r15d, 1
sub edi, r15d
sub esi, r15d
inc esi
cmp dword [rbx - 8], 1
jle 0x140093641
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005100
mov rbx, qword [rsp + 0x50]
movsxd r8, esi
movsxd rcx, r14d
mov eax, r15d
add rax, rcx
lea rdx, [rbx + rax*2]
lea rcx, [rbx + rcx*2]
add r8, r8
je 0x140093679
test rcx, rcx
je 0x1400938f6
test rdx, rdx
je 0x1400938f6
lfence
call fcn.1401e7770
mov rbx, qword [rsp + 0x50]
test edi, edi
js 0x14009390c
cmp edi, dword [rbx - 0xc]
jg 0x14009390c
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r12w
mov rdx, rbx
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp + 0x420]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400936d9
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
lea r15, [0x1402bbdb0]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rbp - 0x78]
add rbx, rsi
lea rdx, [rbx + 0x208]
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [rbp - 0x70]
lea rcx, [rbp + 0x210]
test rax, rax
mov rdx, rbx
je 0x140093716
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, [rbx + 0x208]
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor r8d, r8d
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140093763
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
je 0x140093784
lea rdi, [0x1402a8360]
mov r10, qword [0x1402a8360]
inc r13d
cmp r13d, dword [rsp + 0x5c]
jae 0x140093800
jmp 0x140093263
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov edx, 0xa4
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov byte [rbp - 0x58], 1
mov r10, qword [0x1402a8360]
lea rbx, [0x1402a8360]
cmp r10, rbx
je 0x140093854
test byte [r10 + 0x1c], 1
je 0x140093854
mov edx, 0x22
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov dword [rsp + 0x20], r12d
lea r8, str.eXK3
mov rcx, qword [r10 + 0x10]
call fcn.140001b40
mov r10, qword [0x1402a8360]
jmp 0x140093854
mov r10, qword [0x1402a8360]
mov byte [rbp - 0x58], 1
lea rbx, [0x1402a8360]
cmp r10, rbx
je 0x14009384e
test byte [r10 + 0x1c], 1
je 0x14009384e
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x23
mov dword [rsp + 0x20], 1
lea r8, str.eXK3
mov rcx, qword [r10 + 0x10]
call fcn.140001b40
mov r10, qword [0x1402a8360]
mov r12d, 1
lea rax, vtable.WppTrace.0
mov qword [rbp - 0x60], rax
cmp byte [rbp - 0x58], 0
jne 0x1400938ac
cmp r10, rbx
je 0x1400938ac
test byte [r10 + 0x1c], 1
je 0x1400938ac
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
cmp qword [0x1402bbdc8], 8
cmovae r15, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, r15
lea r8, [0x140252818]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x30]
call fcn.1400048a0
lea rcx, [rbp - 0x50]
call fcn.1400048a0
mov eax, r12d
mov rcx, qword [rbp + 0x1080]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x11d0]
add rsp, 0x1190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
nop
call fcn.1401ec568
mov dword [rax], socket
call fcn.1401ec3fc
call fcn.1401bb848
int3
mov ecx, 0x80070057
call fcn.140001470
int3
lfence
mov ecx, 0x80070216
call fcn.140001470
int3