Function at 0x4e11d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
push 0x5b70f0
mov dword [ebp - 0x78], edi
call fcn.0040c6f0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push eax
push 0
push 0
push 0x5c036c
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x4e14c6
mov edx, dword [ebp - 0x68]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e1251
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00409db0
push dword [0x62c608]
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0047eaa0
push dword [0x62c60c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0047eaa0
add esp, 0x18
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x4e12c6
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x4e1302
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x7c], 7
cmovae ecx, dword [ebp - 0x64]
mov esi, ecx
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x74], ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4e1330
sub esi, edx
sar esi, 1
je 0x4e144f
push 0
push 0
push 0
push 0
push esi
push ecx
push 0
push 0xfde9
lfence
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x4e144f
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp eax, 0x7fffffff
ja 0x4e150a
cmp eax, 0x1000
jb 0x4e13ca
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4e150f
push ecx
lfence
call fcn.00406b5e
add esp, 4
test eax, eax
je 0x4e1514
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x4e13d8
push eax
lfence
call fcn.00406b5e
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x6c]
push eax
push 0
push edi
lea ecx, [edi + eax]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x14], ecx
call fcn.0056aed0
mov eax, dword [ebp - 0x70]
add esp, 0xc
mov dword [ebp - 0x18], eax
push 0
push 0
push dword [ebp - 0x6c]
mov byte [ebp - 4], 7
push edi
push esi
push dword [ebp - 0x74]
lfence
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edi, eax
je 0x4e143e
sub eax, edi
lea ecx, [ebp - 0x34]
push eax
push edi
call fcn.0040c6f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00414fa0
mov edi, dword [ebp - 0x78]
jmp 0x4e1461
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x34]
cmp edi, eax
je 0x4e1492
mov ecx, edi
call fcn.0040c7f0
movups xmm0, xmmword [ebp - 0x34]
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
call fcn.0040c7f0
push dword [ebp - 0x68]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 8
cmp eax, 8
jb 0x4e14bf
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.0040a5e0
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4e14d0
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.0057a62f
add esp, 8
test eax, eax
je 0x4e14ef
push 0
push 0x5b70f0
mov ecx, edi
call fcn.0040c6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0047f6a0
call fcn.0047ea50
call fcn.0056e2db
int3