Function at 0x404f40
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a803
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x90
mov eax, dword [0x44c080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], esi
push eax
push 0
push 0
push 0x43d2e0
mov dword [ebp - 0x38], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x38]
xorps xmm0, xmm0
test edx, edx
jne 0x404fce
push edx
movups xmmword [esi], xmm0
push 0x444f5c
mov ecx, esi
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
call fcn.00401980
mov eax, esi
jmp 0x4052b0
mov ecx, edx
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404ff0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.00401980
push 0x15
push str..ogulniegaprofiles_
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.004017f0
mov dword [ebp - 0x5c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 6
push 0x446cf4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004017f0
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 5
push str.mods
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004017f0
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x40]
cmp ecx, 7
jbe 0x405131
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405127
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4052ce
push ecx
push edx
call fcn.0041b0e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x58]
cmp ecx, 7
jbe 0x405183
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405179
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4052ce
push ecx
push edx
call fcn.0041b0e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x70]
cmp ecx, 7
jbe 0x4051d8
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4051ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4052ce
push ecx
push edx
call fcn.0041b0e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x38], al
lea edx, [ebp - 0x34]
push dword [ebp - 0x38]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.00407ca0
add esp, 4
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00403560
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x405255
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40524b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4052d3
push ecx
push edx
call fcn.0041b0e6
add esp, 8
xorps xmm0, xmm0
mov eax, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
jmp 0x4052b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041b0a8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041fd1f
call fcn.0041fd1f
int3