Function at 0x18009a210
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x180350010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, rcx
xor ebp, ebp
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
movups xmmword [rsp + 0x20], xmm0
cmp eax, 0x102
jbe 0x18009a275
xor r8d, r8d
lea rdx, [0x1802ccf28]
jmp 0x18009a28f
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bpl
jne 0x18009a281
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180071bc0
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
call fcn.180099db0
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.180071b60
test rbx, rbx
je 0x18009a476
mov ecx, 0xb0
call fcn.18012c300
mov rdi, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call fcn.18012d546
xor edx, edx
mov r8d, 0xb0
mov rcx, rdi
call fcn.18012d546
lea rax, [0x1802f1308]
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x48], rbx
mov dword [rbx], ebp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov ecx, 0x18
call fcn.18012c300
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
mov edx, reloc.WS2_32.dll_recv
call fcn.180075340
nop
lea rcx, [rdi + 0x48]
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov qword [rdi + 0x98], rbp
mov qword [rdi + 0xa0], rbp
xor eax, eax
mov byte [rdi + 0xa8], al
lea rax, [0x1802f1320]
mov qword [rdi], rax
mov rcx, qword [0x18035b4a0]
mov qword [0x18035b4a0], rdi
test rcx, rcx
je 0x18009a3aa
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.1800db9d0
test al, al
je 0x18009a476
mov rcx, qword [rsi + 0x38]
test rcx, rcx
jne 0x18009a3c7
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea rdx, [rsi + 0x48]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsi + 0x48]
lea rax, [rcx + 0x30]
mov qword [0x18035acb0], rax
mov qword [0x18035ac28], rcx
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
test al, al
je 0x18009a476
call fcn.1800dbad0
lea rdx, [0x1802f1304]
call fcn.180099db0
mov dword [rax + 0x48], ebp
lea rdx, [0x1802f1304]
call fcn.180099db0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
mov r8d, ntohs
lea rdx, str.Initialized
lea rcx, [rsp + 0x20]
call fcn.180071bc0
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180099cc0
nop
lea rcx, [rsp + 0x20]
call fcn.180071b60
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1800dbad0
call fcn.18009b480
test al, al
setne al
jmp 0x18009a478
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.18012c2e0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret