Function at 0x42d7e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5544d0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5d3070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0x5c3d70
mov dword [ebp - 0x5c], str.TEMP
mov dword [ebp - 0x58], str.LOCALAPPDATA
mov dword [ebp - 0x54], str.USERPROFILE
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov dword [ebp - 4], eax
xor esi, esi
mov ebx, dword fs:[0x2c]
mov eax, 0x5c3d70
nop
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.0042cba0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], 0
je 0x42d93d
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e230
cmp esi, 2
jl 0x42d896
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042a6d0
mov ecx, dword [ebx]
xorps xmm0, xmm0
mov eax, dword [0x5db2cc]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
cmp eax, dword [ecx + 4]
jle 0x42d8eb
push 0x5db2cc
call fcn.0044d4c6
add esp, 4
cmp dword [0x5db2cc], 0xffffffff
jne 0x42d8eb
push 0x557cd0
mov dword [0x5db2d4], 0x5c3ba8
call fcn.0044d81d
push 0x5db2cc
call fcn.0044d487
add esp, 8
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x5db2d4
lea ecx, [ebp - 0x34]
call fcn.0042caf0
test al, al
je 0x42d926
cmp dword [ebp - 0x18], 0
sete al
test al, al
je 0x42d926
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x34]
call fcn.0042cb30
test al, al
je 0x42d926
cmp dword [ebp - 0x18], 0
sete al
test al, al
jne 0x42d965
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x34]
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x42d956
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.0040e780
mov eax, dword [ebp + esi*4 - 0x5c]
inc esi
test eax, eax
jne 0x42d860
jmp 0x42d97e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x42d97e
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.0040e780
cmp dword [ebp - 0x24], 0
jne 0x42da19
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
push 0
push 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042db80
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp esi, ecx
sete al
test al, al
jne 0x42da6d
sub ecx, esi
sar ecx, 1
push ecx
push esi
call ebx
test eax, eax
je 0x42da6d
cmp word [esi], 0
jne 0x42d9dd
xor ecx, ecx
jmp 0x42d9f1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d9e2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.0040dac0
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042a6d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.0040e780
xor eax, eax
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
mov dword [edi + 0x10], 0
mov ecx, edi
push eax
mov word [edi], ax
lea eax, [ebp - 0x34]
push eax
call fcn.0040e230
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x42da4f
inc eax
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0040e780
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d318
mov esp, ebp
pop ebp
ret
push 0x26
push str.boost::filesystem::temp_directory_path
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
call fcn.0040ef40
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042cd00
mov eax, dword [ebp - 0x50]
add esp, 4
cmp eax, 0x10
jb 0x42dabb
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.0040f1c0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
test esi, esi
je 0x42dae3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.0040e780
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x42da4f
inc ecx
push ecx
jmp 0x42da44