Function at 0x41bec0
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 0x4450af
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x168
mov eax, dword [0x456068]
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
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
push eax
push 0
push 0
push 0x4462c0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x10c]
test edx, edx
je 0x41c5a7
mov ecx, edx
mov dword [ebp - 0x118], 0
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x128], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bf56
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.00401cb0
push 0x15
push str..ogulniegaprofiles_
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00401da0
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 6
push str.stable
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401da0
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x12c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x140], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x130], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0xd
push str.profile.json
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.00401da0
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x12c]
cmp ecx, 8
jb 0x41c0b2
mov edx, dword [ebp - 0x140]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c0a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5c7
push ecx
push edx
call fcn.00423be2
add esp, 8
xor eax, eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 7
mov word [ebp - 0x140], ax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x41c10d
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c103
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5c7
push ecx
push edx
call fcn.00423be2
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x114]
cmp ecx, 8
jb 0x41c165
mov edx, dword [ebp - 0x128]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c15b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5c7
push ecx
push edx
call fcn.00423be2
add esp, 8
xor eax, eax
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x10c], al
lea edx, [ebp - 0x50]
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x114], 7
mov word [ebp - 0x128], ax
call fcn.004085f0
add esp, 4
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 7
call fcn.004039f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x144]
mov byte [ebp - 0x10d], al
cmp ecx, 8
jb 0x41c1fe
mov edx, dword [ebp - 0x158]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c1ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5cc
push ecx
push edx
call fcn.00423be2
mov al, byte [ebp - 0x10d]
add esp, 8
test al, al
je 0x41c56d
push 0xb8
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004258d0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x108]
call fcn.0041e570
cmp dword [ebp - 0xac], 0
je 0x41c4f7
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push 0
mov byte [ebp - 0x30], 0
call fcn.0040e340
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x108]
call fcn.0041e6b0
lea ecx, [ebp - 0xf8]
call fcn.00420240
test eax, eax
jne 0x41c291
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x108]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0041b3e0
lea eax, [ebp - 0x138]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x138], xmm0
call fcn.0040c510
cmp byte [ebp - 0x30], 1
jne 0x41c33c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov edi, eax
mov dword [ebp - 0x10c], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x41c300
nop word [eax + eax]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
mov edx, dword [ecx + 0x10]
jb 0x41c2de
mov ecx, dword [ecx]
push 0x14
push str.last_session_crashed
call fcn.00417ee0
add esp, 8
test eax, eax
jns 0x41c2f6
mov esi, dword [esi + 8]
jmp 0x41c2fa
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x41c2d0
cmp byte [edi + 0xd], 0
jne 0x41c32b
cmp dword [edi + 0x24], 0x10
lea ecx, [edi + 0x10]
mov edx, dword [ecx + 0x10]
jb 0x41c314
mov ecx, dword [ecx]
push 0x14
push str.last_session_crashed
call fcn.00417ee0
add esp, 8
test eax, eax
jg 0x41c32b
mov al, 1
jmp 0x41c32d
xor al, al
test al, al
cmove edi, dword [ebp - 0x10c]
mov dword [ebp - 0x134], edi
lea edx, [ebp - 0x30]
mov dword [ebp - 0x11c], 0
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0x80000000
sub ecx, 1
je 0x41c3be
sub ecx, 1
je 0x41c3b0
mov dword [ebp - 0x114], 0x80000000
sub eax, 1
je 0x41c3be
sub eax, 1
je 0x41c3b0
mov dword [ebp - 0x114], 1
jmp 0x41c3c9
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x118], eax
jmp 0x41c3c9
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x138]
call fcn.0040c450
test al, al
je 0x41c4da
push str.last_session_crashed
lea ecx, [ebp - 0x30]
call fcn.00410a10
cmp byte [eax], 4
jne 0x41c4da
push str.last_session_crashed
lea ecx, [ebp - 0x30]
call fcn.00410a10
mov ecx, eax
cmp byte [ecx], 4
jne 0x41c5d1
cmp byte [ecx + 8], 0
je 0x41c4da
lea ecx, [ebp - 0x30]
call fcn.0040c580
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0xf8]
call fcn.0041e4c0
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x10c], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.00423333
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 8
jb 0x41c4d3
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c4c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c623
push ecx
push edx
call fcn.00423be2
add esp, 8
mov al, 1
jmp 0x41c5a9
lea ecx, [ebp - 0x30]
call fcn.0040c580
jmp 0x41c4f0
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0xf8]
call fcn.0041e4c0
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x10c], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x10
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.00423333
add esp, 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 8
jb 0x41c5a7
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c59d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c628
push ecx
push edx
call fcn.00423be2
add esp, 8
xor al, al
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.00423ba4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042895f
call fcn.0042895f
call fcn.00413fc0
push eax
lea ecx, [ebp - 0x158]
call fcn.00407960
push eax
mov edx, str.type_must_be_boolean__but_is
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x140]
call fcn.00410680
add esp, 4
push eax
mov edx, 0x12e
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x174]
call fcn.0040a890
add esp, 4
lea eax, [ebp - 0x174]
push 0x455314
push eax
call fcn.004252c4
call fcn.0042895f
call fcn.0042895f
int3