Function at 0x41dfe0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519ed3
mov eax, dword fs:[0]
push eax
sub esp, 0x718
mov eax, dword [0x56617c]
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
push 0x44
lea eax, [ebp - 0x468]
mov dword [ebp - 0x588], 0
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x468]
call fcn.0041ad80
cmp dword [ebp - 0x430], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x41e056
lea ecx, [ebp - 0x434]
call fcn.0041a760
mov dword [ebp - 0x42c], 0xffffffff
mov dword [ebp - 0x428], 0xffffffff
push 0x44
lea eax, [ebp - 0x4ac]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x4ac]
call fcn.0041ad80
cmp dword [ebp - 0x474], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x41e0ad
lea ecx, [ebp - 0x478]
call fcn.0041a760
mov dword [ebp - 0x470], 0xffffffff
mov dword [ebp - 0x46c], 0xffffffff
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x50
lea eax, [ebp - 0x4fc]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x4fc]
push eax
call fcn.0041f1c0
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4fc]
call fcn.0041f010
mov byte [ebp - 4], 3
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x78]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.0041a9d0
lea eax, [ebp - 0x5d0]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0xd8]
call fcn.0041a900
lea ecx, [ebp - 0x5d0]
call fcn.0041c2a0
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 2
call fcn.0041c2a0
push 0
push 0
push 0x104
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 0x4fc]
lea ecx, [ebp - 0x4fc]
push 0
push 0
push 0
push 0
call dword [eax + 0x7c]
push eax
call fcn.00505b46
add esp, 0x24
lea eax, [ebp - 0x424]
lea ecx, [ebp - 0x5d0]
push eax
call fcn.0041f320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5d0]
mov eax, dword [ebp - 0x5d0]
call dword [eax + 0x78]
push eax
lea ecx, [ebp - 0x614]
call fcn.0041a9d0
lea eax, [ebp - 0x614]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x94]
call fcn.0041a900
lea ecx, [ebp - 0x614]
call fcn.0041c2a0
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 2
call fcn.0041c2a0
mov eax, dword [ebp - 0x468]
lea ecx, [ebp - 0x468]
push 0x6a
call dword [eax + 8]
mov eax, dword [ebp - 0x4ac]
lea ecx, [ebp - 0x4ac]
push 0x6c
call dword [eax + 8]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x44
lea eax, [ebp - 0x584]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x584]
push eax
call fcn.0041f320
lea edx, [ebp - 0x584]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x658]
call fcn.004e7410
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x5d0]
push ecx
mov ecx, eax
call fcn.0041ef50
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5d0]
mov eax, dword [ebp - 0x5d0]
lea ebx, [edi + 0x11c]
call dword [eax + 0x78]
push eax
lea ecx, [ebp - 0x614]
call fcn.0041a9d0
lea eax, [ebp - 0x614]
mov byte [ebp - 4], 0xa
push eax
mov ecx, ebx
call fcn.0041a900
lea ecx, [ebp - 0x614]
call fcn.0041c2a0
lea ecx, [ebp - 0x5d0]
call fcn.0041c2a0
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 7
call fcn.0041c2a0
lea eax, [ebp - 0x614]
mov ecx, eax
mov dword [ebp - 0x588], eax
call fcn.0041ad80
cmp dword [ebp - 0x5dc], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x41e31a
lea ecx, [ebp - 0x5e0]
call fcn.0041a760
mov dword [ebp - 0x5d8], 0xffffffff
mov dword [ebp - 0x5d4], 0xffffffff
push ebx
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 0xb
call fcn.0041a900
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x614]
mov eax, dword [ebp - 0x614]
call dword [eax + 0x78]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.0041a9d0
lea eax, [ebp - 0x5d0]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0x16c]
call fcn.0041a900
lea ecx, [ebp - 0x5d0]
call fcn.0041c2a0
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 7
call fcn.0041c2a0
push 0x44
lea eax, [ebp - 0x540]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x614]
call fcn.0041ad80
cmp dword [ebp - 0x5dc], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x41e3c9
lea ecx, [ebp - 0x5e0]
call fcn.0041a760
mov dword [ebp - 0x5d8], 0xffffffff
mov dword [ebp - 0x5d4], 0xffffffff
push ebx
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 0xe
call fcn.0041a900
lea edx, [ebp - 0x614]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x724]
call fcn.004e7410
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x540]
push ecx
mov ecx, eax
call fcn.0041ef50
lea ecx, [ebp - 0x724]
call fcn.0041c2a0
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 0x13
call fcn.0041c2a0
lea edx, [ebp - 0x540]
lea ecx, [ebp - 0x5d0]
call fcn.004e7410
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x5d0]
mov eax, dword [ebp - 0x5d0]
call dword [eax + 0x78]
push eax
lea ecx, [ebp - 0x658]
call fcn.0041a9d0
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [edi + 0x16c]
call fcn.0041a900
lea ecx, [ebp - 0x658]
call fcn.0041c2a0
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 0x13
call fcn.0041c2a0
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x6e0]
call fcn.0041f320
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x69c]
call fcn.004e7410
push str.Save_
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 0x17
push ecx
mov ecx, eax
call fcn.0041eea0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x5d0]
mov eax, dword [ebp - 0x5d0]
lea ebx, [edi + 0x1bc]
call dword [eax + 0x78]
push eax
lea ecx, [ebp - 0x658]
call fcn.0041a9d0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x658]
mov ecx, ebx
push eax
call fcn.0041a900
lea ecx, [ebp - 0x658]
call fcn.0041c2a0
lea ecx, [ebp - 0x5d0]
call fcn.0041c2a0
lea ecx, [ebp - 0x69c]
call fcn.0041c2a0
lea ecx, [ebp - 0x6e0]
mov byte [ebp - 4], 0x13
call fcn.0041c2a0
mov eax, dword [edi + 0x50]
lea ecx, [edi + 0x50]
push 0x66
call dword [eax + 8]
push 0xf4
call fcn.004fe2bc
mov esi, eax
mov dword [ebp - 0x58c], esi
push 0xf4
push 0
push esi
mov byte [ebp - 4], 0x1a
call fcn.005001b0
add esp, 0x10
lea ecx, [ebp - 0x5d0]
call fcn.0041ad80
cmp dword [ebp - 0x598], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x41e5a2
lea ecx, [ebp - 0x59c]
call fcn.0041a760
mov dword [ebp - 0x594], 0xffffffff
mov dword [ebp - 0x590], 0xffffffff
push ebx
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 4], 0x1b
call fcn.0041a900
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0x1c
push eax
lea eax, [ebp - 0x69c]
mov dword [ebp - 0x588], 0x79
push eax
lea ecx, [ebp - 0x5d0]
call fcn.0041ef50
push str..xml
lea ecx, [ebp - 0x6e0]
mov dword [ebp - 4], 0x1d
push ecx
mov ecx, eax
mov dword [ebp - 0x588], 0x7b
call fcn.0041eea0
mov dword [ebp - 4], 0x1e
mov ecx, eax
mov edx, dword [eax]
mov dword [ebp - 0x588], 0x7f
call dword [edx + 0x78]
push eax
mov ecx, esi
call fcn.0041f960
lea ecx, [ebp - 0x6e0]
mov dword [edi + 0x274], eax
call fcn.0041c2a0
lea ecx, [ebp - 0x69c]
call fcn.0041c2a0
lea ecx, [ebp - 0x5d0]
mov dword [ebp - 4], 0x13
call fcn.0041c2a0
mov ecx, dword [edi + 0x274]
call fcn.0041fc10
lea ecx, [ebp - 0x540]
call fcn.0041c2a0
lea ecx, [ebp - 0x584]
call fcn.0041c2a0
lea ecx, [ebp - 0x4b8]
call fcn.0041f520
lea ecx, [ebp - 0x4fc]
call fcn.0041c2a0
lea ecx, [ebp - 0x4ac]
call fcn.0041c2a0
lea ecx, [ebp - 0x468]
call fcn.0041c2a0
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.004fe27d
mov esp, ebp
pop ebp
ret