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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a024e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x8d8
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84c], edx
mov dword [ebp - 0x854], ecx
xor eax, eax
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
push 0x800
push eax
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 1
push eax
call fcn.0043e790
add esp, 0xc
lea eax, [ebp - 0x818]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x41a9eb
xor esi, esi
jmp 0x41b051
lea ecx, [ebp - 0x818]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a9f4
sub ecx, edx
lea eax, [ebp - 0x818]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x830]
call fcn.00405ec0
lea ecx, [ebp - 0x86c]
call fcn.00415660
mov edi, eax
mov esi, SysReAllocString
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x820]
mov eax, esi
sub eax, ecx
cmp eax, 1
jb 0x41b071
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 1
cmovae eax, dword [ebp - 0x830]
push 0x4b5640
push ecx
push eax
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x884]
call fcn.00406830
push edi
lea eax, [ebp - 0x884]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x89c]
call fcn.00424290
lea eax, [ebp - 0x89c]
push eax
lea ecx, [ebp - 0x830]
call fcn.00405ae0
mov edx, dword [ebp - 0x888]
cmp edx, 8
jb 0x41aadd
mov ecx, dword [ebp - 0x89c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aad3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b076
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x870]
cmp edx, 8
jb 0x41ab21
mov ecx, dword [ebp - 0x884]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b076
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x858]
cmp edx, 8
jb 0x41ab65
mov ecx, dword [ebp - 0x86c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b076
push edx
push ecx
call fcn.0043d19d
add esp, 8
lea ecx, [ebp - 0x8e4]
call fcn.00414a40
mov edi, eax
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 4
call fcn.00414980
mov dword [ebp - 0x850], eax
mov byte [ebp - 4], 5
mov eax, esi
mov ecx, dword [ebp - 0x820]
sub eax, ecx
cmp eax, 1
jb 0x41b07b
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 1
cmovae eax, dword [ebp - 0x830]
push 0x4b5640
push ecx
push eax
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x86c]
call fcn.00406830
push dword [ebp - 0x850]
lea eax, [ebp - 0x86c]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x8cc]
call fcn.00424290
push 1
push 0x4b63e0
lea ecx, [ebp - 0x8cc]
mov byte [ebp - 4], 7
call fcn.00406370
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x89c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push edi
lea eax, [ebp - 0x89c]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b4]
call fcn.00424290
lea eax, [ebp - 0x8b4]
push eax
lea ecx, [ebp - 0x848]
call fcn.00405ae0
mov edx, dword [ebp - 0x8a0]
cmp edx, 8
jb 0x41ac9e
mov ecx, dword [ebp - 0x8b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b080
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x888]
cmp edx, 8
jb 0x41ace2
mov ecx, dword [ebp - 0x89c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41acd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b080
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x8b8]
cmp edx, 8
jb 0x41ad26
mov ecx, dword [ebp - 0x8cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b080
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x858]
mov dword [ebp - 0x8bc], 0
mov dword [ebp - 0x8b8], 7
mov word [ebp - 0x8cc], ax
cmp edx, 8
jb 0x41ad87
mov ecx, dword [ebp - 0x86c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b080
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x870]
cmp edx, 8
jb 0x41adcb
mov ecx, dword [ebp - 0x884]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41adc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b080
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x8d0]
mov dword [ebp - 0x874], 0
mov dword [ebp - 0x870], 7
mov word [ebp - 0x884], ax
cmp edx, 8
jb 0x41ae2c
mov ecx, dword [ebp - 0x8e4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ae22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b080
push edx
push ecx
call fcn.0043d19d
add esp, 8
lea ecx, [ebp - 0x8e4]
call fcn.00414a40
mov edi, eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x820]
sub esi, ecx
cmp esi, 1
jb 0x41b085
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 1
cmovae eax, dword [ebp - 0x830]
push 0x4b5640
push ecx
push eax
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b4]
call fcn.00406830
push edi
lea eax, [ebp - 0x8b4]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x86c]
call fcn.00424290
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x830]
call fcn.00405ae0
mov edx, dword [ebp - 0x858]
cmp edx, 8
jb 0x41aeec
mov ecx, dword [ebp - 0x86c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aee2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b08a
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x8a0]
cmp edx, 8
jb 0x41af30
mov ecx, dword [ebp - 0x8b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41af26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b08a
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x8d0]
cmp edx, 8
jb 0x41af74
mov ecx, dword [ebp - 0x8e4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41af6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b08a
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov ecx, dword [ebp - 0x854]
test ecx, ecx
je 0x41afa2
lea eax, [ebp - 0x830]
cmp ecx, eax
je 0x41afa2
cmp dword [ebp - 0x81c], 8
push dword [ebp - 0x820]
cmovae eax, dword [ebp - 0x830]
push eax
call fcn.00405ec0
mov ecx, dword [ebp - 0x84c]
test ecx, ecx
je 0x41afd0
lea eax, [ebp - 0x848]
cmp ecx, eax
je 0x41afd0
cmp dword [ebp - 0x834], 8
push dword [ebp - 0x838]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.00405ec0
mov edx, dword [ebp - 0x834]
mov esi, 1
cmp edx, 8
jb 0x41b015
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b00b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b08f
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov edx, dword [ebp - 0x81c]
cmp edx, 8
jb 0x41b051
mov ecx, dword [ebp - 0x830]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b047
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b08f
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004014a0
call fcn.00446380
call fcn.004014a0
call fcn.00446380
call fcn.004014a0
call fcn.00446380
call fcn.00446380
int3