Function at 0x1400c0630
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 [0x14030bc70]
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.140141ad0
lea rcx, [rsp + 0x38]
call fcn.140031480
mov rcx, rax
lea rdx, [rsp + 0x1b0]
call fcn.140031490
nop
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.14002d2b0
nop
lea rdx, [rsp + 0x110]
mov rcx, rax
call fcn.14002d490
nop
mov rcx, rax
call fcn.140022a60
mov r8, rax
mov edx, 0x208
lea rcx, [rsp + 0x630]
call fcn.140156f18
nop
lea rcx, [rsp + 0x110]
call fcn.1400091f0
nop
lea rax, [rsp + 0x190]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x190]
call fcn.1400091f0
nop
lea rax, [rsp + 0x170]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x170]
call fcn.1400091f0
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x150]
call fcn.1400091f0
nop
lea rax, [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x130]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x1b0]
call fcn.1400091f0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x420]
call fcn.140141ad0
lea r9, [rsp + 0x420]
xor r8d, r8d
lea rdx, [0x1402145a8]
lea rcx, [rsp + 0x630]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140141ad0
cmp qword [rsi + 0x18], 0x10
jb 0x1400c07b4
mov rdx, qword [rsi]
jmp 0x1400c07b7
mov rdx, rsi
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.1400e95f0
test eax, eax
je 0x1400c0a06
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.140141ad0
xor r8d, r8d
lea rdx, [rsp + 0x420]
lea rcx, [rsp + 0xb0]
call fcn.1400eb910
lea rcx, [rsp + 0x50]
test eax, eax
jne 0x1400c080d
call fcn.1400e8ef0
jmp 0x1400c0a06
call fcn.1400e95e0
mov r14d, eax
xor r12d, r12d
mov ebx, r12d
test eax, eax
je 0x1400c09ab
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x1d0]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1400e9490
test eax, eax
je 0x1400c09a0
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x128], r12
mov qword [rsp + 0x128], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x120], r12
mov byte [rsp + 0x110], 0
cmp byte [rsp + 0x214], 0
jne 0x1400c0887
mov r8, r12
jmp 0x1400c089d
lea rax, [rsp + 0x214]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400c0893
lea rdx, [rsp + 0x214]
lea rcx, [rsp + 0x110]
call fcn.140009d60
nop
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1400c1210
nop
mov rax, qword [rsp + 0x128]
cmp rax, 0x10
jb 0x1400c0929
inc rax
mov rcx, qword [rsp + 0x110]
cmp rax, 0x1000
jb 0x1400c0924
test cl, 0x1f
jne 0x1400c091e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400c0918
sub rcx, rax
cmp rcx, 8
jb 0x1400c0912
cmp rcx, 0x27
ja 0x1400c090c
mov rcx, rax
jmp 0x1400c0924
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.1400dbae0
mov qword [rsp + 0x128], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x120], r12
mov byte [rsp + 0x110], 0
mov rax, qword [rsp + 0x38]
cmp rax, qword [rdi + 8]
je 0x1400c098b
lea r8, [rax + 0x30]
cmp qword [r8 + 0x18], 0x10
jb 0x1400c095e
mov r8, qword [r8]
mov r9, qword [rax + 0x40]
lea rdx, [rax + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c0970
mov rdx, qword [rdx]
movzx eax, word [rsp + 0x1dc]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xb0]
call fcn.1400ea860
jmp 0x1400c09a0
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb0]
call fcn.1400ea370
inc ebx
cmp ebx, r14d
jb 0x1400c0830
lea rcx, [rsp + 0x50]
call fcn.1400e8ef0
lea rcx, [rsp + 0xb0]
call fcn.1400eb690
lea rcx, [rsp + 0xb0]
call fcn.1400eb580
cmp qword [rsi + 0x18], 0x10
jb 0x1400c09db
mov rdx, qword [rsi]
jmp 0x1400c09de
mov rdx, rsi
mov r8d, 3
lea rcx, [rsp + 0x420]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1400c0a06
mov rdx, rsi
mov rcx, r15
call fcn.1400bef90
nop
mov al, 1
jmp 0x1400c0a08
xor al, al
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x880]
add rsp, 0x850
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret