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

Disassembly:
push 0x244
mov eax, 0x4a330c
call fcn.00487961
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.004082a4
lea esi, [edi + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x240], esi
call fcn.004082a4
mov byte [ebp - 4], 1
call fcn.0046539e
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.004082a4
mov byte [ebp - 4], 3
mov dword [edi + 0x30], ebx
mov dword [edi + 0x20], ebx
xor esi, esi
jmp 0x4649bb
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 + 0x4deca4]
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.00405f0e
push 0x4b3f7c
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00405fe7
push dword [esi + 0x4deca0]
lea eax, [ebp - 0x238]
push eax
call fcn.00405f0e
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 5
call fcn.00423349
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.0043fd90
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
mov edi, eax
mov byte [ebp - 4], 7
call fcn.0043fde9
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.00408b23
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 0x4649b9
lea ecx, [ebp - 0x21c]
call fcn.00469f94
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
mov edi, 0x4b3f7c
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040548e
pop ecx
pop ecx
push str.desktop
lea esi, [ebp - 0x230]
call fcn.004653fa
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.00465435
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 0xb
call fcn.00408b23
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.0046a03b
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040548e
pop ecx
pop ecx
push str.desktop_user
lea esi, [ebp - 0x230]
call fcn.004653fa
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00465435
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 0xe
call fcn.00408b23
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.00467016
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0040548e
pop ecx
pop ecx
push str.exedir
lea esi, [ebp - 0x230]
call fcn.004653fa
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0x10
call fcn.00465435
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
mov byte [ebp - 4], 0x11
call fcn.00408b23
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.00467016
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push edi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0040548e
pop ecx
pop ecx
push str.dlldir
lea esi, [ebp - 0x230]
call fcn.004653fa
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
push ecx
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.00465435
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
lea ebx, [ebp - 0x24c]
call fcn.00408b23
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.00405f0e
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x240]
mov byte [ebp - 4], 0x15
call fcn.004086f4
push 0x4ade80
push eax
call fcn.00405140
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x23c]
call fcn.004879e4
ret