Function at 0x6a90e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x709995
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor esi, esi
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 0x24], esi
xor ecx, ecx
mov dword [ebp - 0x20], esi
xor edx, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x6a915c
cmp eax, 0x7fffffff
ja 0x6a9516
push eax
lea ecx, [ebp - 0x24]
call fcn.004735c0
mov ecx, dword [ebp - 0x14]
mov esi, eax
add ecx, ecx
mov dword [ebp - 0x24], esi
push ecx
push 0
push esi
lea edi, [ecx + esi]
mov dword [ebp - 0x1c], edi
call fcn.006c2360
mov ecx, esi
mov dword [ebp - 0x20], edi
add esp, 0xc
mov dword [ebp - 0x10], ecx
mov edx, edi
mov dword [ebp - 4], 0
cmp ecx, edx
je 0x6a940a
sub edx, ecx
sar edx, 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x6a9402
mov ecx, esi
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6a91a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.00473710
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.006a5f80
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
test esi, esi
je 0x6a927b
push esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.006a8f10
add esp, 0xc
cmp dword [eax], 3
jne 0x6a9293
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.0047ee60
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x6a9232
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6a9228
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a9511
push edx
push ecx
call fcn.004e7fa0
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], 7
test eax, eax
je 0x6a93f0
sub edi, eax
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x6a9274
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a9511
mov eax, ecx
push edi
push eax
jmp 0x6a93e8
push 0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.006a8f10
add esp, 0xc
cmp dword [eax], 3
je 0x6a91ea
push 0x14
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
push 0x30
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.00473560
movups xmm0, xmmword [str.boost::filesystem::temp_directory_path]
mov edx, eax
mov dword [ebp - 0x44], 0x26
mov dword [ebp - 0x40], 0x2f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x7c1500]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x7c1510]
mov dword [edx + 0x20], ecx
mov ax, word [0x7c1514]
mov word [edx + 0x24], ax
mov byte [edx + 0x26], 0
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 3
call fcn.006a3c70
test esi, esi
mov esi, eax
je 0x6a951b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], esi
cmp edx, 0x10
jb 0x6a9352
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6a9348
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a9554
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov esi, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp edx, 8
jb 0x6a93a8
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6a939e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a9511
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
test ecx, ecx
je 0x6a93f0
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x6a93e6
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a9511
push edi
push ecx
call fcn.004e7fa0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x14
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
push 0x30
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.00473560
movups xmm0, xmmword [str.boost::filesystem::temp_directory_path]
mov edx, eax
mov dword [ebp - 0x44], 0x26
mov dword [ebp - 0x40], 0x2f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x7c1500]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x7c1510]
mov dword [edx + 0x20], ecx
mov ax, word [0x7c1514]
mov word [edx + 0x24], ax
mov byte [edx + 0x26], 0
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 1
call fcn.006a3c70
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xc], 0
je 0x6a9559
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], esi
cmp edx, 0x10
jb 0x6a94c3
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6a94b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a9588
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov esi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
test ecx, ecx
je 0x6a93f0
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x6a93e6
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x6a93e6
call fcn.006cc674
call fcn.004821e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.004e6070
lea ecx, [ebp - 0x88]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.006a6730
push 0x7ea55c
lea eax, [ebp - 0x88]
push eax
call fcn.006c19b9
call fcn.006cc674
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.004e6070
lea ecx, [ebp - 0x88]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.006a6860
push 0x7ea55c
lea eax, [ebp - 0x88]
push eax
call fcn.006c19b9
call fcn.006cc674
int3