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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457fa7
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x47706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4bc], ecx
push 0
push 0x10
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x498]
call fcn.00403f30
mov dword [ebp - 4], 0
push 0x46e674
lea ecx, [ebp - 0x468]
call fcn.00403f30
mov byte [ebp - 4], 1
push 0x46e678
lea ecx, [ebp - 0x468]
call fcn.0040b900
push str..lnk
lea ecx, [ebp - 0x468]
call fcn.0040b900
lea edx, [ebp - 0x468]
push edx
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x450]
push ecx
call fcn.00416700
add esp, 0xc
mov byte [ebp - 4], 2
sub esp, 0x18
mov edx, esp
mov eax, dword [ebp - 0x450]
mov dword [edx], eax
mov ecx, dword [ebp - 0x44c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x448]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x444]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x440]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x43c]
mov dword [edx + 0x14], ecx
push 0x46e698
push 2
push 0x47b0a0
call fcn.0040db30
add esp, 0x24
lea edx, [ebp - 0x450]
push edx
call fcn.00403760
add esp, 4
push 0x410
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004372f0
add esp, 0xc
push 0
push 2
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x480]
call fcn.00403f30
mov byte [ebp - 4], 3
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x480]
push ecx
lea edx, [ebp - 0x438]
push edx
call fcn.00416700
add esp, 0xc
mov byte [ebp - 4], 4
sub esp, 0x18
mov eax, esp
mov ecx, dword [ebp - 0x438]
mov dword [eax], ecx
mov edx, dword [ebp - 0x434]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x430]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x42c]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x428]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x424]
mov dword [eax + 0x14], edx
push 0x46e6f8
push 2
push 0x47b0a0
call fcn.0040db30
add esp, 0x24
lea eax, [ebp - 0x438]
push eax
call fcn.00403170
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x41cb22
lea edx, [ebp - 0x438]
push edx
call fcn.00403760
add esp, 4
push 0x46e694
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x4b0]
push ecx
call fcn.00409de0
add esp, 0xc
mov dword [ebp - 0x4b4], eax
mov edx, dword [ebp - 0x4b4]
push edx
lea ecx, [ebp - 0x438]
call fcn.00403e20
lea ecx, [ebp - 0x4b0]
call fcn.00403dd0
push 0x46e75c
lea ecx, [ebp - 0x438]
call fcn.0040b900
lea eax, [ebp - 0x438]
push eax
call fcn.00403170
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x41cb95
lea edx, [ebp - 0x438]
push edx
call fcn.004037f0
add esp, 4
mov dword [ebp - 0x4b8], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x438]
call fcn.00403dd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x480]
call fcn.00403dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.00403dd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x468]
call fcn.00403dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x498]
call fcn.00403dd0
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f4e5
mov esp, ebp
pop ebp
ret