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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495939
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4bd034]
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
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x26c], edi
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x268], 1
push eax
call fcn.00429240
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea esi, [ebp - 0x220]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x488bd0
sub esi, ecx
mov ecx, dword [edi + 0x14]
sar esi, 1
mov dword [ebp - 0x258], ecx
cmp esi, ecx
ja 0x488c16
mov ebx, edi
cmp ecx, 8
jb 0x488bf5
mov ebx, dword [edi]
mov dword [edi + 0x10], esi
lea eax, [ebp - 0x220]
add esi, esi
push esi
push eax
push ebx
call fcn.00428cc0
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x488d22
cmp esi, 0x7ffffffe
ja 0x489148
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x488c40
mov dword [ebp - 0x254], connect
mov eax, 0xfffffffe
jmp 0x488c85
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x488c60
mov dword [ebp - 0x254], connect
mov eax, 0xfffffffe
jmp 0x488c85
lea eax, [ecx + edx]
cmp ebx, eax
cmovb ebx, eax
mov dword [ebp - 0x254], ebx
lea eax, [ebx + 1]
cmp eax, 0x7fffffff
ja 0x489143
add eax, eax
cmp eax, 0x1000
jb 0x488cac
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x489143
push ecx
call fcn.00427324
add esp, 4
test eax, eax
je 0x489157
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x488cbf
test eax, eax
je 0x488cbd
push eax
call fcn.00427324
add esp, 4
mov ebx, eax
jmp 0x488cbf
xor ebx, ebx
mov eax, dword [ebp - 0x254]
mov dword [edi + 0x10], esi
add esi, esi
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x220]
push esi
push eax
push ebx
call fcn.00428cc0
mov ecx, dword [ebp - 0x258]
xor eax, eax
add esp, 0xc
mov word [ebx + esi], ax
cmp ecx, 8
jb 0x488d20
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x488d16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489157
mov eax, edx
push ecx
push eax
call fcn.004272f3
add esp, 8
mov dword [edi], ebx
mov edx, edi
lea ecx, [ebp - 0x238]
call fcn.00489170
mov dword [ebp - 4], 1
mov esi, dword [edi + 0x14]
mov eax, esi
mov ebx, dword [edi + 0x10]
sub eax, ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], esi
cmp eax, 1
jb 0x488d74
lea ecx, [ebx + 1]
mov eax, edi
mov dword [edi + 0x10], ecx
cmp esi, 8
jb 0x488d60
mov eax, dword [edi]
mov edx, 0x5c
mov word [eax + ebx*2], dx
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x488eb3
mov edx, SysReAllocString
mov eax, edx
sub eax, ebx
cmp eax, 1
jb 0x48914d
lea eax, [ebx + 1]
mov ebx, eax
mov dword [ebp - 0x254], eax
or ebx, 7
cmp ebx, edx
jbe 0x488da1
mov ebx, edx
mov eax, 0xfffffffe
jmp 0x488dd5
mov ecx, esi
mov eax, edx
shr ecx, 1
sub eax, ecx
cmp esi, eax
jbe 0x488db6
mov ebx, edx
mov eax, 0xfffffffe
jmp 0x488dd5
lea eax, [esi + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
cmp eax, 0x7fffffff
ja 0x489143
add eax, eax
cmp eax, 0x1000
jb 0x488dfc
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x489143
push ecx
call fcn.00427324
add esp, 4
test eax, eax
je 0x48915c
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x488e0f
test eax, eax
je 0x488e0d
push eax
call fcn.00427324
add esp, 4
mov esi, eax
jmp 0x488e0f
xor esi, esi
mov eax, dword [ebp - 0x254]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x258]
add eax, eax
mov dword [edi + 0x14], ebx
cmp dword [ebp - 0x25c], 8
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x258], ebx
jb 0x488e93
mov ebx, dword [edi]
push ebx
push esi
call fcn.00428cc0
mov eax, dword [ebp - 0x258]
mov ecx, 0x5c
add esp, 0xc
mov word [eax], cx
xor ecx, ecx
mov eax, dword [ebp - 0x254]
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x25c]
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x488e87
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x48915c
mov ebx, edx
push ecx
push ebx
call fcn.004272f3
add esp, 8
jmp 0x488eb1
push edi
push esi
call fcn.00428cc0
mov eax, 0x5c
add esp, 0xc
mov word [ebx], ax
xor ecx, ecx
mov eax, dword [ebp - 0x254]
mov word [esi + eax*2], cx
mov dword [edi], esi
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.0040a523
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x254], eax
jb 0x488edc
mov ecx, dword [eax]
mov dword [ebp - 0x254], ecx
mov ebx, dword [eax + 0x10]
mov edx, dword [edi + 0x14]
mov eax, edx
mov esi, dword [edi + 0x10]
sub eax, esi
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x264], edx
cmp ebx, eax
ja 0x488f44
mov dword [ebp - 0x25c], edi
lea eax, [esi + ebx]
mov dword [edi + 0x10], eax
mov ecx, edi
cmp edx, 8
jb 0x488f1a
mov ecx, dword [edi]
mov dword [ebp - 0x25c], ecx
lea eax, [ebx + ebx]
push eax
push dword [ebp - 0x254]
lea eax, [ecx + esi*2]
push eax
call fcn.00428cc0
mov eax, dword [ebp - 0x25c]
lea ecx, [esi + ebx]
add esp, 0xc
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4890b3
mov ecx, SysReAllocString
mov eax, ecx
sub eax, esi
cmp eax, ebx
jb 0x489152
lea eax, [esi + ebx]
mov ebx, eax
mov dword [ebp - 0x25c], eax
or ebx, 7
cmp ebx, ecx
jbe 0x488f70
mov ebx, ecx
mov eax, 0xfffffffe
jmp 0x488fa4
mov eax, edx
shr eax, 1
sub ecx, eax
cmp edx, ecx
jbe 0x488f86
mov ebx, SysReAllocString
mov eax, 0xfffffffe
jmp 0x488fa4
add eax, edx
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
cmp eax, 0x7fffffff
ja 0x489143
add eax, eax
cmp eax, 0x1000
jb 0x488fd1
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x489143
push ecx
call fcn.00427324
add esp, 4
test eax, eax
je 0x489157
mov edx, dword [ebp - 0x264]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x488fea
test eax, eax
je 0x488fe8
push eax
call fcn.00427324
mov edx, dword [ebp - 0x264]
add esp, 4
mov esi, eax
jmp 0x488fea
xor esi, esi
mov eax, dword [ebp - 0x25c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x258]
mov dword [edi + 0x14], ebx
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x260]
push ecx
lea ebx, [eax + eax]
mov dword [ebp - 0x260], ebx
lea eax, [ecx + esi]
mov dword [ebp - 0x258], eax
cmp edx, 8
jb 0x489086
mov ebx, dword [edi]
push ebx
push esi
call fcn.00428cc0
add esp, 0xc
push dword [ebp - 0x260]
push dword [ebp - 0x254]
push dword [ebp - 0x258]
call fcn.00428cc0
mov eax, dword [ebp - 0x25c]
xor ecx, ecx
add esp, 0xc
mov word [esi + eax*2], cx
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x48907a
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x489157
mov ebx, edx
push ecx
push ebx
call fcn.004272f3
add esp, 8
jmp 0x4890b1
push edi
push esi
call fcn.00428cc0
add esp, 0xc
push ebx
push dword [ebp - 0x254]
push dword [ebp - 0x258]
call fcn.00428cc0
mov eax, dword [ebp - 0x25c]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
mov dword [edi], esi
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x4890ef
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4890e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489157
push edx
push ecx
call fcn.004272f3
add esp, 8
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x489125
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48911b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48915c
push edx
push ecx
call fcn.004272f3
add esp, 8
mov eax, edi
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.004272e5
mov esp, ebp
pop ebp
ret
call fcn.004021c5
call fcn.0040206f
call fcn.0040206f
call fcn.0040206f
call fcn.0043239f
call fcn.0043239f
int3