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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529239
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], 1
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004f31f0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x27c]
add esp, 0xc
push eax
push 0x10
push 0
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
js 0x42c1bf
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x27c]
call esi
test eax, eax
je 0x42c1bf
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x42c149
jmp 0x42c140
add eax, 2
cmp word [eax], 0
jne 0x42c140
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041b3d0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x260]
call fcn.00430e30
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x42c184
mov eax, dword [eax]
push eax
call fcn.0049e3f0
add esp, 4
cmp dword [ebp - 0x24c], 8
jb 0x42c1a4
push dword [ebp - 0x260]
call fcn.004db8b0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
jb 0x42c1bf
push dword [ebp - 0x230]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x248]
lea eax, [ebp + 8]
mov dword [ebp - 0x238], 0
push eax
call fcn.00407b90
xor eax, eax
mov byte [ebp - 4], 5
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004f31f0
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
push 2
push 0
call edi
test eax, eax
js 0x42c348
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x27c]
call esi
test eax, eax
je 0x42c348
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x42c279
lea ecx, [ecx]
add eax, 2
cmp word [eax], 0
jne 0x42c270
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041b3d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x260]
call fcn.00430e30
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebp - 0x21c], 8
jb 0x42c2c6
push dword [ebp - 0x230]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ebp - 0x260]
lea eax, [ebp + 0x20]
mov dword [ebp - 0x220], 0
push eax
lea ecx, [ebp - 0x278]
call fcn.00430e30
add esp, 4
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x280]
mov ecx, eax
mov dword [ebp - 0x280], 0
call fcn.004300d0
cmp dword [ebp - 0x264], 8
jb 0x42c32d
push dword [ebp - 0x278]
call fcn.004db8b0
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x24c], 8
jb 0x42c348
push dword [ebp - 0x260]
call fcn.004db8b0
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004f31f0
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push 0xb
push 0
call edi
test eax, eax
js 0x42c43e
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x280]
call esi
test eax, eax
je 0x42c43e
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x42c3cc
add eax, 2
cmp word [eax], 0
jne 0x42c3c3
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041b3d0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 0xc
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x278]
call fcn.00430e30
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x42c407
mov eax, dword [eax]
push eax
call fcn.0049e3f0
add esp, 4
cmp dword [ebp - 0x264], 8
jb 0x42c427
push dword [ebp - 0x278]
call fcn.004db8b0
add esp, 4
cmp dword [ebp - 0x21c], 8
jb 0x42c43e
push dword [ebp - 0x230]
call fcn.004db8b0
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x42c455
push dword [ebp - 0x248]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x42c483
push dword [ebp + 8]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x42c4a8
push dword [ebp + 0x20]
call fcn.004db8b0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret