Function at 0x180037ed0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push rbx
sub rsp, 0x140
movss xmm0, dword [0x180083104]
lea rdx, [rsp + 0x40]
movaps xmm1, xmmword [0x1800837b0]
mov ecx, 0xff
movss dword [0x180090670], xmm0
movss xmm0, dword [0x1800831b4]
movss dword [0x180090654], xmm0
movss xmm0, dword [0x180083188]
movss dword [0x18009068c], xmm0
movss xmm0, dword [0x1800831b8]
movss dword [0x180090684], xmm0
movss xmm0, dword [0x18008311c]
movss dword [0x1800906ec], xmm0
movss xmm0, dword [0x1800830ec]
movss dword [0x1800906d8], xmm0
movss xmm0, dword [0x180083148]
movss dword [0x180090678], xmm0
movaps xmm0, xmmword [0x180083800]
movups xmmword [0x180090730], xmm0
movups xmmword [0x180090760], xmm0
movaps xmm0, xmmword [0x1800832a0]
movups xmmword [0x180090780], xmm0
movaps xmm0, xmmword [0x1800837e0]
movups xmmword [0x180090770], xmm1
movaps xmm1, xmmword [0x1800837d0]
movups xmmword [0x1800907a0], xmm0
mov word [0x180090650], 1
mov dword [0x180090668], 0x14
mov byte [0x180090652], 1
mov dword [0x18009067e], 0x10000
mov word [0x18009067c], 0
mov dword [0x180090674], 0
mov byte [0x18009066d], 0
mov byte [0x180090708], 0
mov word [0x1800906e5], 1
mov dword [0x1800906ac], 0
mov byte [0x1800906a0], 0
mov dword [0x1800906b0], 0x45
mov dword [0x1800906a4], 0x58
mov byte [0x180090688], 0
mov dword [0x1800907dc], 0
mov dword [0x18009069c], 0xa
mov byte [0x180090692], 0
mov word [0x180090718], 0x101
mov word [0x18009071e], 0
mov word [0x1800906b5], 0
mov word [0x1800907d9], 0
mov word [0x18009071b], 1
mov byte [0x1800906e0], 0
mov word [0x180090721], 0
mov byte [0x1800906c8], 0
mov byte [0x18009071d], 0
mov byte [0x1800906b8], 1
mov dword [0x1800906bc], 0x64
mov byte [0x1800906c0], 0
mov byte [0x180090720], 0
mov byte [0x180090690], 0
mov byte [0x1800906b4], 0
mov dword [0x180090658], 0
mov byte [0x1800906e2], 0
mov byte [0x1800906e7], 0
mov byte [0x1800906f8], 0
mov dword [0x180090748], 0x43520000
mov dword [0x18009074c], 0x43520000
mov dword [0x180090750], 0x43520000
mov dword [0x180090754], 0x437f0000
mov dword [0x180090728], 0x437f0000
mov dword [0x18009072c], 0x437f0000
mov dword [0x180090740], 0x437f0000
mov dword [0x180090744], 0x437f0000
mov dword [0x180090758], 0x437f0000
mov dword [0x18009075c], 0x437f0000
movups xmmword [0x180090790], xmm1
mov dword [0x1800907b0], 0x437f0000
mov dword [0x1800907b4], 0x437f0000
mov qword [0x1800907c8], 0x437f0000
mov dword [0x1800907d0], 0
mov dword [0x1800907d4], 0x437f0000
mov dword [0x1800906dc], 0x14
mov dword [0x180090660], 0x4c
mov dword [0x1800906f4], 2
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
movabs rax, 0x214bab8a0b828646
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
movabs r10, 0xf38cee76eeff435
movabs rax, 0xf6ffff4ae6a5aec5
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rax
movabs r9, 0xf6ffff4ae6c2c8a6
movdqa xmm0, xmmword [rsp + 0x20]
dec rcx
mov qword [rsp + 0x38], r9
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800381e0
lea r8, [rsp + 0x20]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180038200
mov qword [rsp + 0x28], r9
lea rdx, [rsp + 0x20]
movabs rax, 0xf38cee76eef9642
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x38], r9
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.18004d818
mov rbx, rax
test rax, rax
je 0x180038279
mov r9, rax
lea rcx, [0x180090650]
mov edx, 0x190
mov r8d, 1
call fcn.1800538d4
mov rcx, rbx
call fcn.18004ae08
add rsp, 0x140
pop rbx
ret