Function at 0x1400035c0
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xbf0]
sub rsp, 0xcf0
mov rax, qword [0x1400c81d8]
xor rax, rsp
mov qword [rbp + 0xbe0], rax
movzx r14d, cl
mov byte [rsp + 0x30], cl
mov ebx, 0x104
lea rdx, [rbp + 0x3a0]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, ebx
lea rax, [rbp + 0x3a0]
nop dword [rax]
cmp word [rax], 0
je 0x140003630
add rax, 2
sub rdx, 1
jne 0x140003620
xor r8d, r8d
lea rdi, str.dataobs_pluginswin_capture_
mov rax, rbx
mov esi, 0x7ffffffe
sub rax, rdx
test rdx, rdx
cmove rax, r8
je 0x1400036a3
mov rdx, rbx
lea rcx, [rbp + 0x3a0]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003694
mov r9, rdi
mov eax, esi
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140003691
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140003691
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003670
xor r8d, r8d
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r8w
mov rcx, rbx
lea rax, [rbp + 0x3a0]
nop dword [rax]
cmp word [rax], 0
je 0x1400036c0
add rax, 2
sub rcx, 1
jne 0x1400036b0
mov rax, rbx
lea r15, str.obs_vulkan
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x140003725
mov rdx, rbx
lea rcx, [rbp + 0x3a0]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003716
mov r9, r15
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140003713
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140003713
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400036f2
xor r8d, r8d
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r8w
mov rcx, rbx
lea rax, [rbp + 0x3a0]
nop
cmp word [rax], 0
je 0x140003740
add rax, 2
sub rcx, 1
jne 0x140003730
mov rax, rbx
lea rdx, [0x1400aa908]
sub rax, rcx
lea r13, [0x1400aa910]
test rcx, rcx
cmove rax, r8
je 0x1400037b3
test r14b, r14b
lea rcx, [rbp + 0x3a0]
mov r9, r13
lea rcx, [rcx + rax*2]
cmovne r9, rdx
mov rdx, rbx
sub rdx, rax
je 0x1400037a4
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x1400037a1
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x1400037a1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003780
xor r8d, r8d
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r8w
mov rcx, rbx
lea rax, [rbp + 0x3a0]
nop dword [rax]
cmp word [rax], 0
je 0x1400037d0
add rax, 2
sub rcx, 1
jne 0x1400037c0
mov rax, rbx
lea r12, str..json
sub rax, rcx
test rcx, rcx
cmove rax, r8
je 0x140003835
mov rdx, rbx
lea rcx, [rbp + 0x3a0]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003826
mov r9, r12
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140003823
movzx r8d, word [rcx + r9]
test r8w, r8w
je 0x140003823
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003802
xor r8d, r8d
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r8w
lea rdx, [rbp + 0x190]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, rbx
lea rax, [rbp + 0x190]
nop
cmp word [rax], 0
je 0x140003860
add rax, 2
sub rcx, 1
jne 0x140003850
mov rax, rbx
mov r10d, 0
sub rax, rcx
test rcx, rcx
cmove rax, r10
je 0x1400038c0
mov rdx, rbx
lea rcx, [rbp + 0x190]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x1400038b1
mov rax, rsi
sub rdi, rcx
nop
test rax, rax
je 0x1400038b1
movzx r8d, word [rcx + rdi]
test r8w, r8w
je 0x1400038b1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003890
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r10w
mov rcx, rbx
lea rax, [rbp + 0x190]
nop word [rax + rax]
cmp word [rax], r10w
je 0x1400038e0
add rax, 2
sub rcx, 1
jne 0x1400038d0
mov rax, rbx
lea r14, str.graphics_hook
sub rax, rcx
test rcx, rcx
cmove rax, r10
je 0x140003942
mov rdx, rbx
lea rcx, [rbp + 0x190]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003933
mov r9, r14
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140003933
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140003933
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003912
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r10w
mov rcx, rbx
lea rax, [rbp + 0x190]
nop dword [rax]
cmp word [rax], r10w
je 0x140003960
add rax, 2
sub rcx, 1
jne 0x140003950
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r10
je 0x1400039d0
cmp byte [rsp + 0x30], r10b
lea rcx, [0x1400aa908]
mov r9, r13
mov rdx, rbx
cmovne r9, rcx
lea rcx, [rbp + 0x190]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x1400039c1
mov rax, rsi
sub r9, rcx
nop dword [rax + rax]
test rax, rax
je 0x1400039c1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400039c1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x1400039a0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r10w
mov rcx, rbx
lea rax, [rbp + 0x190]
nop word [rax + rax]
cmp word [rax], r10w
je 0x1400039f0
add rax, 2
sub rcx, 1
jne 0x1400039e0
mov rax, rbx
lea rdi, str..dll
sub rax, rcx
test rcx, rcx
cmove rax, r10
je 0x140003a52
mov rdx, rbx
lea rcx, [rbp + 0x190]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003a43
mov r9, rdi
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140003a43
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140003a43
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003a22
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r10w
xor r9d, r9d
lea rax, [rbp + 0x5b0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rcx, rbx
lea rax, [rbp + 0x5b0]
nop word [rax + rax]
cmp word [rax], 0
je 0x140003a90
add rax, 2
sub rcx, 1
jne 0x140003a80
mov rax, rbx
mov r11d, 0
sub rax, rcx
test rcx, rcx
cmove rax, r11
je 0x140003af5
mov rdx, rbx
lea rcx, [rbp + 0x5b0]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003ae6
lea r9, [0x1400aa954]
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140003ae6
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140003ae6
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003ac5
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r11w
mov rcx, rbx
lea rax, [rbp + 0x5b0]
nop
cmp word [rax], r11w
je 0x140003b10
add rax, 2
sub rcx, 1
jne 0x140003b00
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r11
je 0x140003b70
mov rdx, rbx
lea rcx, [rbp + 0x5b0]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003b61
lea r9, [0x1400aa958]
mov rax, rsi
sub r9, rcx
nop
test rax, rax
je 0x140003b61
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140003b61
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003b40
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r11w
lea r8, [rbp + 0x5b0]
mov rdx, rbx
lea rax, [rbp + 0x9d0]
sub r8, rax
lea rcx, [rbp + 0x9d0]
nop dword [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140003bb3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003bb3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003b90
test rdx, rdx
lea rax, [rcx - 2]
lea r8, [rbp + 0x5b0]
mov rdx, rbx
cmovne rax, rcx
lea rcx, [rbp + 0x7c0]
mov word [rax], r11w
lea rax, [rbp + 0x7c0]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140003c03
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140003c03
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140003be0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov rcx, rbx
mov word [rax], r11w
lea rax, [rbp + 0x9d0]
nop dword [rax]
cmp word [rax], r11w
je 0x140003c30
add rax, 2
sub rcx, 1
jne 0x140003c20
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r11
je 0x140003c88
mov rdx, rbx
lea rcx, [rbp + 0x9d0]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003c79
mov rax, rsi
sub r15, rcx
test rax, rax
je 0x140003c79
movzx r8d, word [r15 + rcx]
test r8w, r8w
je 0x140003c79
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003c58
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r11w
mov rcx, rbx
lea rax, [rbp + 0x9d0]
cmp word [rax], r11w
je 0x140003ca2
add rax, 2
sub rcx, 1
jne 0x140003c92
movzx r10d, byte [rsp + 0x30]
lea r15, [0x1400aa908]
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r11
je 0x140003d11
test r10b, r10b
lea rcx, [rbp + 0x9d0]
mov r9, r13
lea rcx, [rcx + rax*2]
mov rdx, rbx
cmovne r9, r15
sub rdx, rax
je 0x140003d02
mov rax, rsi
sub r9, rcx
test rax, rax
je 0x140003d02
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140003d02
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003ce1
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r11w
mov rcx, rbx
lea rax, [rbp + 0x9d0]
nop dword [rax + rax]
cmp word [rax], r11w
je 0x140003d30
add rax, 2
sub rcx, 1
jne 0x140003d20
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r11
je 0x140003d88
mov rdx, rbx
lea rcx, [rbp + 0x9d0]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003d79
mov rax, rsi
sub r12, rcx
test rax, rax
je 0x140003d79
movzx r8d, word [r12 + rcx]
test r8w, r8w
je 0x140003d79
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003d58
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r11w
mov rcx, rbx
lea rax, [rbp + 0x7c0]
cmp word [rax], r11w
je 0x140003da2
add rax, 2
sub rcx, 1
jne 0x140003d92
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r11
je 0x140003e00
mov rdx, rbx
lea rcx, [rbp + 0x7c0]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140003df1
mov rax, rsi
sub r14, rcx
nop word [rax + rax]
test rax, rax
je 0x140003df1
movzx r8d, word [rcx + r14]
test r8w, r8w
je 0x140003df1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003dd0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r11w
mov rcx, rbx
lea rax, [rbp + 0x7c0]
nop word [rax + rax]
cmp word [rax], r11w
je 0x140003e20
add rax, 2
sub rcx, 1
jne 0x140003e10
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r11
je 0x140003e80
test r10b, r10b
lea rcx, [rbp + 0x7c0]
mov rdx, rbx
lea rcx, [rcx + rax*2]
cmovne r13, r15
sub rdx, rax
je 0x140003e71
mov rax, rsi
sub r13, rcx
nop
test rax, rax
je 0x140003e71
movzx r8d, word [rcx + r13]
test r8w, r8w
je 0x140003e71
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140003e50
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r11w
mov rcx, rbx
lea rax, [rbp + 0x7c0]
nop word [rax + rax]
cmp word [rax], r11w
je 0x140003ea0
add rax, 2
sub rcx, 1
jne 0x140003e90
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r11
je 0x140003eef
lea rcx, [rbp + 0x7c0]
lea rcx, [rcx + rax*2]
sub rbx, rax
je 0x140003ee0
sub rdi, rcx
test rsi, rsi
je 0x140003ee0
movzx eax, word [rcx + rdi]
test ax, ax
je 0x140003ee0
mov word [rcx], ax
dec rsi
add rcx, 2
sub rbx, 1
jne 0x140003ec2
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r11w
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140003f0b
xor al, al
jmp 0x140003f5f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rbp + 0x5b0]
call fcn.1400033c0
xor r8d, r8d
lea rdx, [rbp + 0x7c0]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov al, 1
mov rcx, qword [rbp + 0xbe0]
xor rcx, rsp
call fcn.1400890e0
lea r11, [rsp + 0xcf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret