Function at 0x140047740
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call fcn.140112010
lea rdx, [rbp - 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140047811
lea rcx, [rbp - 0x60]
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], si
jne 0x1400477c0
cmp word [rbp + rax*2 - 0x62], 0x5c
jne 0x1400477eb
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140047a80
mov word [rbp + rax - 0x60], si
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rbp - 0x60]
inc r8
cmp word [rax + r8*2], si
jne 0x140047801
lea rdx, [rbp - 0x60]
jmp 0x140047867
lea rdx, str.____Failed_to_get_temp_path
lea rcx, [0x14019cdb0]
call fcn.140009320
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140009110
movzx edx, ax
mov rcx, rbx
call fcn.14004ed00
mov rcx, rbx
call fcn.14000a0f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
xor r8d, r8d
lea rdx, [0x140175828]
lea rcx, [rsp + 0x38]
call fcn.1400099b0
nop
mov r14, qword [rsp + 0x48]
test r14, r14
jne 0x1400478e7
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140175828]
mov rcx, rdi
call fcn.1400099b0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140047a41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047a3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a7a
jmp 0x140047a3c
lea rcx, [rsp + 0x78]
call fcn.140047620
mov qword [rsp + 0x20], rax
movabs rdx, 0x7ffffffffffffffe
mov rcx, rdx
sub rcx, r14
cmp rcx, 1
jb 0x140047a86
lea rax, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp r15, 8
cmovae rax, rsi
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea r13, [r14 + 1]
mov ebx, 7
lea r12, [rsp + 0x58]
cmp r13, rbx
jbe 0x14004797f
mov rbx, r13
or rbx, 7
cmp rbx, rdx
jbe 0x140047958
mov rbx, rdx
jmp 0x140047964
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.140008a70
mov r12, rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.140111970
mov word [rbx + r12], 0x5c
xor eax, eax
mov word [r12 + r13*2], ax
mov r9, qword [rsp + 0x20]
lea r8, [rsp + 0x58]
mov rcx, rdi
call fcn.140011f70
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400479ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400479f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a8c
call fcn.14010f640
nop
lea rcx, [rsp + 0x78]
call fcn.1400089c0
nop
cmp r15, 8
jb 0x140047a41
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140047a39
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a74
mov rcx, rsi
call fcn.14010f640
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140118cb4
int3
call fcn.140118cb4
int3
call fcn.14010fc00
nop
call fcn.140001930
nop
call fcn.140118cb4
int3