Function at 0x1400357c0
Capabilities:
Get common file path
Move file

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x850
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x880], rbx
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, r8
mov rsi, rdx
mov r15, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x630]
call fcn.140065dd0
lea rcx, [rsp + 0x38]
call fcn.140006f60
mov rcx, rax
lea rdx, [rsp + 0x1b0]
call fcn.140006f70
nop
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.140006310
nop
lea rdx, [rsp + 0x110]
mov rcx, rax
call fcn.140006520
nop
mov rcx, rax
call fcn.140002720
mov r8, rax
mov edx, 0x208
lea rcx, [rsp + 0x630]
call fcn.14006f110
nop
lea rcx, [rsp + 0x110]
call fcn.1400036b0
nop
lea rax, [rsp + 0x190]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x190]
call fcn.1400036b0
nop
lea rax, [rsp + 0x170]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x170]
call fcn.1400036b0
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x150]
call fcn.1400036b0
nop
lea rax, [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x130]
call fcn.1400036b0
nop
lea rcx, [rsp + 0x1b0]
call fcn.1400036b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x420]
call fcn.140065dd0
lea r9, [rsp + 0x420]
xor r8d, r8d
lea rdx, [0x1400bb430]
lea rcx, [rsp + 0x630]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140065dd0
cmp qword [rsi + 0x18], 0x10
jb 0x140035944
mov rdx, qword [rsi]
jmp 0x140035947
mov rdx, rsi
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.14003a280
test eax, eax
je 0x140035b96
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.140065dd0
xor r8d, r8d
lea rdx, [rsp + 0x420]
lea rcx, [rsp + 0xb0]
call fcn.14003c5a0
lea rcx, [rsp + 0x50]
test eax, eax
jne 0x14003599d
call fcn.140039b80
jmp 0x140035b96
call fcn.14003a270
mov r14d, eax
xor r12d, r12d
mov ebx, r12d
test eax, eax
je 0x140035b3b
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x1d0]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14003a120
test eax, eax
je 0x140035b30
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x128], r12
mov qword [rsp + 0x128], 0xf
mov qword [rsp + 0x120], r12
mov byte [rsp + 0x110], 0
cmp byte [rsp + 0x214], 0
jne 0x140035a17
mov r8, r12
jmp 0x140035a2d
lea rax, [rsp + 0x214]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140035a23
lea rdx, [rsp + 0x214]
lea rcx, [rsp + 0x110]
call fcn.140003430
nop
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140036470
nop
mov rax, qword [rsp + 0x128]
cmp rax, 0x10
jb 0x140035ab9
inc rax
mov rcx, qword [rsp + 0x110]
cmp rax, 0x1000
jb 0x140035ab4
test cl, 0x1f
jne 0x140035aae
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140035aa8
sub rcx, rax
cmp rcx, 8
jb 0x140035aa2
cmp rcx, 0x27
ja 0x140035a9c
mov rcx, rax
jmp 0x140035ab4
call fcn.14006ef04
int3
call fcn.14006ef04
int3
call fcn.14006ef04
int3
call fcn.14006ef04
int3
call fcn.1400369b0
mov qword [rsp + 0x128], 0xf
mov qword [rsp + 0x120], r12
mov byte [rsp + 0x110], 0
mov rax, qword [rsp + 0x38]
cmp rax, qword [rdi + 8]
je 0x140035b1b
lea r8, [rax + 0x30]
cmp qword [r8 + 0x18], 0x10
jb 0x140035aee
mov r8, qword [r8]
mov r9, qword [rax + 0x40]
lea rdx, [rax + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140035b00
mov rdx, qword [rdx]
movzx eax, word [rsp + 0x1dc]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xb0]
call fcn.14003b4f0
jmp 0x140035b30
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb0]
call fcn.14003b000
inc ebx
cmp ebx, r14d
jb 0x1400359c0
lea rcx, [rsp + 0x50]
call fcn.140039b80
lea rcx, [rsp + 0xb0]
call fcn.14003c320
lea rcx, [rsp + 0xb0]
call fcn.14003c210
cmp qword [rsi + 0x18], 0x10
jb 0x140035b6b
mov rdx, qword [rsi]
jmp 0x140035b6e
mov rdx, rsi
mov r8d, 3
lea rcx, [rsp + 0x420]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x140035b96
mov rdx, rsi
mov rcx, r15
call fcn.140034b50
nop
mov al, 1
jmp 0x140035b98
xor al, al
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140063ed0
mov rbx, qword [rsp + 0x880]
add rsp, 0x850
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret