Function at 0x5e2f50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74aa15
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 0x5e2fcc
cmp eax, 0x7fffffff
ja 0x5e3386
push eax
lea ecx, [ebp - 0x24]
call fcn.00483e00
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.007012e0
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 0x5e327a
sub edx, ecx
sar edx, 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x5e3272
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 0x5e3010
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.00483f80
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.005decc0
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
test esi, esi
je 0x5e30eb
push esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005e2d80
add esp, 0xc
cmp dword [eax], 3
jne 0x5e3103
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.0048f7c0
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x5e30a2
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5e3098
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e3381
push edx
push ecx
call fcn.00512900
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 0x5e3260
sub edi, eax
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x5e30e4
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e3381
mov eax, ecx
push edi
push eax
jmp 0x5e3258
push 0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005e2d80
add esp, 0xc
cmp dword [eax], 3
je 0x5e305a
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.00483da0
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 [0x7a30bc]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x7a30cc]
mov dword [edx + 0x20], ecx
mov ax, word [0x7a30d0]
mov word [edx + 0x24], ax
mov byte [edx + 0x26], 0
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 3
call fcn.005dc9c0
test esi, esi
mov esi, eax
je 0x5e338b
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 0x5e31c2
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5e31b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e33c4
push edx
push ecx
call fcn.00512900
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 0x5e3218
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5e320e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e3381
push edx
push ecx
call fcn.00512900
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 0x5e3260
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x5e3256
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e3381
push edi
push ecx
call fcn.00512900
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.00483da0
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 [0x7a30bc]
movups xmmword [edx + 0x10], xmm0
mov ecx, dword [0x7a30cc]
mov dword [edx + 0x20], ecx
mov ax, word [0x7a30d0]
mov word [edx + 0x24], ax
mov byte [edx + 0x26], 0
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 1
call fcn.005dc9c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xc], 0
je 0x5e33c9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], esi
cmp edx, 0x10
jb 0x5e3333
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5e3329
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e33f8
push edx
push ecx
call fcn.00512900
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 0x5e3260
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffe
cmp edi, 0x1000
jb 0x5e3256
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5e3256
call fcn.0070b6e4
call fcn.00492e80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.004e6020
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.005e0750
push 0x83a780
lea eax, [ebp - 0x88]
push eax
call fcn.00700933
call fcn.0070b6e4
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.004e6020
lea ecx, [ebp - 0x88]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.005e0880
push 0x83a780
lea eax, [ebp - 0x88]
push eax
call fcn.00700933
call fcn.0070b6e4
int3