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

Disassembly:
push 0x244
mov eax, 0x4f64ce
call fcn.004d1301
mov edi, ecx
lea esi, [edi + 4]
xor ebx, ebx
mov dword [ebp - 0x23c], edi
mov dword [edi], ebx
mov dword [ebp - 0x228], esi
call fcn.004029fa
lea esi, [edi + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x240], esi
call fcn.004029fa
mov byte [ebp - 4], 1
call fcn.0048214a
lea ecx, [edi + 0x28]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov dword [edi + 0x2c], ebx
lea esi, [edi + 0x34]
mov byte [ebp - 4], 2
call fcn.004029fa
mov byte [ebp - 4], 3
mov dword [edi + 0x30], ebx
mov dword [edi + 0x20], ebx
xor esi, esi
jmp 0x4771e1
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push dword [esi + 0x54dc9c]
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00402d09
push 0x5091ec
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00402a1b
push dword [esi + 0x54dc98]
lea eax, [ebp - 0x238]
push eax
call fcn.00402d09
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 5
call fcn.00423a6f
mov eax, dword [ebp - 0x21c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x250], esp
mov edi, esp
call fcn.00401311
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x238]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x234], esp
mov edi, esp
call fcn.00401311
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 4], 5
call fcn.004401c2
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
mov edi, eax
mov byte [ebp - 4], 7
call fcn.0044021b
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.0040980c
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
call fcn.004012f9
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004012f9
add esi, 8
cmp esi, 0x118
jb 0x4771df
lea ecx, [ebp - 0x21c]
call fcn.00492dd8
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
mov edi, 0x5091ec
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004062ff
pop ecx
pop ecx
push str.desktop
lea esi, [ebp - 0x230]
call fcn.00478108
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.00478143
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 0xb
call fcn.0040980c
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.004012f9
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004012f9
lea ecx, [ebp - 0x21c]
call fcn.00492e7f
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004062ff
pop ecx
pop ecx
push str.desktop_user
lea esi, [ebp - 0x230]
call fcn.00478108
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00478143
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 0xe
call fcn.0040980c
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.004012f9
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004012f9
lea ebx, [ebp - 0x21c]
call fcn.004c09e9
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.004062ff
pop ecx
pop ecx
push str.phone_helper
lea esi, [ebp - 0x230]
call fcn.00478108
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00478143
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 0x11
call fcn.0040980c
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.004012f9
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004012f9
xor ebx, ebx
lea ecx, [ebp - 0x21c]
call fcn.0048afb1
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.004062ff
pop ecx
pop ecx
push str.exedir
lea esi, [ebp - 0x230]
call fcn.00478108
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.00478143
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
call fcn.0040980c
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.004012f9
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004012f9
mov ebx, 0x400000
lea ecx, [ebp - 0x21c]
call fcn.0048afb1
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.004062ff
pop ecx
pop ecx
push str.dlldir
lea esi, [ebp - 0x230]
call fcn.00478108
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0x16
call fcn.00478143
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 0x17
call fcn.0040980c
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.004012f9
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004012f9
push str.productid
lea eax, [ebp - 0x21c]
push eax
call fcn.00402d09
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x240]
mov byte [ebp - 4], 0x18
call fcn.00409427
push 0x502d10
push eax
call fcn.00402d46
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x23c]
call fcn.004d1384
ret