Function at 0x5e6dd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74f475
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 0x5e6e4c
cmp eax, 0x7fffffff
ja 0x5e7206
push eax
lea ecx, [ebp - 0x24]
call fcn.00486a90
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.007051b0
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 0x5e70fa
sub edx, ecx
sar edx, 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x5e70f2
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 0x5e6e90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.00486be0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.005e2b40
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
test esi, esi
je 0x5e6f6b
push esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005e6c00
add esp, 0xc
cmp dword [eax], 3
jne 0x5e6f83
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.00492550
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x5e6f22
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5e6f18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e7201
push edx
push ecx
call fcn.00516d60
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 0x5e70e0
sub edi, eax
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x5e6f64
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e7201
mov eax, ecx
push edi
push eax
jmp 0x5e70d8
push 0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005e6c00
add esp, 0xc
cmp dword [eax], 3
je 0x5e6eda
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.00486a30
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 [0x7a8c0c]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x7a8c1c]
mov dword [edx + 0x20], ecx
mov ax, word [0x7a8c20]
mov word [edx + 0x24], ax
mov byte [edx + 0x26], 0
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 3
call fcn.005e0840
test esi, esi
mov esi, eax
je 0x5e720b
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 0x5e7042
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5e7038
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e7244
push edx
push ecx
call fcn.00516d60
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 0x5e7098
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5e708e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e7201
push edx
push ecx
call fcn.00516d60
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 0x5e70e0
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x5e70d6
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e7201
push edi
push ecx
call fcn.00516d60
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.00486a30
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 [0x7a8c0c]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x7a8c1c]
mov dword [edx + 0x20], ecx
mov ax, word [0x7a8c20]
mov word [edx + 0x24], ax
mov byte [edx + 0x26], 0
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 1
call fcn.005e0840
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xc], 0
je 0x5e7249
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], esi
cmp edx, 0x10
jb 0x5e71b3
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5e71a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e7278
push edx
push ecx
call fcn.00516d60
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 0x5e70e0
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x5e70d6
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5e70d6
call fcn.0070f5b4
call fcn.00495500
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.004e94f0
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.005e45d0
push 0x840464
lea eax, [ebp - 0x88]
push eax
call fcn.00704803
call fcn.0070f5b4
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.004e94f0
lea ecx, [ebp - 0x88]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.005e4700
push 0x840464
lea eax, [ebp - 0x88]
push eax
call fcn.00704803
call fcn.0070f5b4
int3