Function at 0x41f4e0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a0cb4
mov eax, dword fs:[0]
push eax
sub esp, 0xd4c
mov eax, dword [0x8ca144]
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 ebx, ecx
mov dword [ebp - 0xd40], ebx
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.0074fc20
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0xa18]
push 0x5c
push eax
call fcn.0074ef34
add esp, 8
test eax, eax
je 0x41f559
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xc58]
push 0xaa
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x41f57b
mov edx, dword [edx]
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41f580
lea edi, [ebp - 0xa18]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41f596
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xc58]
call fcn.00402680
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0074fc20
add esp, 0xc
lea eax, [ebp - 0xc70]
push 0xa9
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
jb 0x41f5f1
mov eax, dword [eax]
lea ecx, [ebp - 0xa18]
push ecx
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x8b08c8
push str.test
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xc70]
call fcn.00402680
mov esi, dword [ebx + 0x28]
mov ecx, ebx
call fcn.00417340
mov ecx, dword [ebx + 0x4c]
add esi, eax
mov dword [ebp - 0xd44], eax
mov dword [ebp - 0xd48], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
call edx
test eax, eax
jle 0x41ff86
xor eax, eax
mov dword [ebp - 0xd1c], 0
mov dword [ebp - 0xd3c], 0
mov dword [ebp - 0xd34], 0
mov dword [ebp - 0xd38], 0
mov dword [ebp - 0xa1c], 7
mov dword [ebp - 0xa20], 0
mov word [ebp - 0xa30], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xd2c], eax
mov dword [ebp - 0xd28], eax
mov dword [ebp - 0xd24], eax
mov eax, dword [ebx + 0x4c]
mov byte [ebp - 4], 1
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0xd50], eax
cmp esi, eax
je 0x41ff7b
nop
mov edi, dword [esi + 0x18]
lea eax, [ebp - 0xc88]
push 0x36
push eax
mov dword [ebp - 0xd30], edi
mov dword [ebp - 0xd4c], edi
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x41f6f0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb80]
call fcn.004026c0
mov eax, dword [edi]
lea ecx, [ebp - 0xb80]
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
mov eax, dword [eax + 0x1c]
call eax
mov ebx, eax
lea ecx, [ebp - 0xb80]
mov dword [ebp - 0xd20], ebx
call fcn.00402680
lea ecx, [ebp - 0xc88]
mov byte [ebp - 4], 1
call fcn.00402680
lea eax, [ebp - 0xca0]
push 0x35
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x41f753
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa60]
call fcn.004026c0
mov eax, dword [edi]
lea ecx, [ebp - 0xa60]
push ecx
mov ecx, edi
mov byte [ebp - 4], 5
mov eax, dword [eax + 0x1c]
call eax
lea ecx, [ebp - 0xa60]
mov edi, eax
call fcn.00402680
lea ecx, [ebp - 0xca0]
mov byte [ebp - 4], 1
call fcn.00402680
test edi, edi
je 0x41f809
lea eax, [ebp - 0xcb8]
push 0xd5
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
jb 0x41f7b3
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x41f7c0
mov edi, dword [edi]
nop dword [eax + eax]
mov cx, word [edi]
cmp cx, word [eax]
jne 0x41f7e6
test cx, cx
je 0x41f7e2
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x41f7e6
add edi, 4
add eax, 4
test cx, cx
jne 0x41f7c0
xor eax, eax
jmp 0x41f7eb
sbb eax, eax
or eax, 1
test eax, eax
lea ecx, [ebp - 0xcb8]
sete bl
call fcn.00402680
test bl, bl
jne 0x41ff0d
mov ebx, dword [ebp - 0xd20]
xor eax, eax
mov dword [ebp - 0xa34], 7
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
mov byte [ebp - 4], 6
test ebx, ebx
je 0x41f842
cmp dword [ebx + 0x14], 8
jb 0x41f836
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0xa48]
call fcn.004027d0
cmp dword [ebp - 0xd34], 0
mov dword [ebp - 0xd20], 1
je 0x41f917
lea eax, [ebp - 0xc40]
mov dword [ebp - 0xd20], 0
push 0xd5
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 7
jb 0x41f887
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa90]
call fcn.004026c0
lea eax, [ebp - 0xcd0]
mov byte [ebp - 4], 8
push 0x35
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 9
jb 0x41f8b8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa78]
call fcn.004026c0
mov ebx, dword [ebp - 0xd30]
lea ecx, [ebp - 0xa90]
push ecx
lea ecx, [ebp - 0xa78]
mov byte [ebp - 4], 0xa
push ecx
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 8]
call eax
lea ecx, [ebp - 0xa78]
call fcn.00402680
lea ecx, [ebp - 0xcd0]
call fcn.00402680
lea ecx, [ebp - 0xa90]
call fcn.00402680
lea ecx, [ebp - 0xc40]
mov byte [ebp - 4], 6
call fcn.00402680
jmp 0x41f91d
mov ebx, dword [ebp - 0xd30]
mov ecx, str.test
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f94e
test dx, dx
je 0x41f94a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f94e
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f928
xor eax, eax
jmp 0x41f953
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41fa11
lea eax, [ebp - 0xd00]
mov dword [ebp - 0xd20], 1
push 0xd4
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x41f989
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xac0]
call fcn.004026c0
lea eax, [ebp - 0xce8]
mov byte [ebp - 4], 0xc
push 0x35
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xd
jb 0x41f9ba
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xaa8]
call fcn.004026c0
mov eax, dword [ebx]
lea ecx, [ebp - 0xac0]
push ecx
lea ecx, [ebp - 0xaa8]
mov byte [ebp - 4], 0xe
push ecx
mov eax, dword [eax + 8]
mov ecx, ebx
call eax
lea ecx, [ebp - 0xaa8]
call fcn.00402680
lea ecx, [ebp - 0xce8]
call fcn.00402680
lea ecx, [ebp - 0xac0]
call fcn.00402680
lea ecx, [ebp - 0xd00]
mov byte [ebp - 4], 6
call fcn.00402680
cmp dword [ebp - 0xd38], 0
je 0x41fbf8
mov eax, dword [ebp - 0xd3c]
inc eax
mov dword [ebp - 0xd3c], eax
cmp eax, dword [ebp - 0xd44]
jg 0x41fbf8
cmp dword [ebp - 0xa20], 0
sete al
test al, al
je 0x41faea
mov eax, dword [ebp - 0xd28]
sub eax, dword [ebp - 0xd2c]
sar eax, 2
test eax, eax
jle 0x41faea
dec eax
push eax
push 0
call fcn.0073a6e6
mov ecx, dword [ebp - 0xd2c]
add esp, 8
mov edi, dword [ecx + eax*4]
lea eax, [ebp - 0xd18]
push 0x36
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xf
jb 0x41fa96
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xad8]
call fcn.004026c0
mov eax, dword [edi]
lea ecx, [ebp - 0xad8]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 0x1c]
call eax
lea ecx, [ebp - 0xad8]
mov edi, eax
call fcn.00402680
lea ecx, [ebp - 0xd18]
mov byte [ebp - 4], 6
call fcn.00402680
test edi, edi
je 0x41faea
cmp dword [edi + 0x14], 8
jb 0x41fade
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0xa30]
call fcn.004027d0
cmp dword [ebp - 0xa20], 0
sete al
test al, al
jne 0x41fbf8
lea eax, [ebp - 0xb98]
push 0xee
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [ebp - 0xa1c], 8
lea ecx, [ebp - 0xa30]
lea edx, [ebp - 0xa48]
mov byte [ebp - 4], 0x11
cmovae ecx, dword [ebp - 0xa30]
cmp dword [ebp - 0xa34], 8
cmovae edx, dword [ebp - 0xa48]
cmp dword [eax + 0x14], 8
jb 0x41fb48
mov eax, dword [eax]
push ecx
push edx
push eax
push str._s_s___s
call fcn.00736730
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb98]
call fcn.00402680
cmp dword [ebp - 0xa1c], 8
lea eax, [ebp - 0xa30]
lea ecx, [ebp - 0xaf0]
cmovae eax, dword [ebp - 0xa30]
push eax
call fcn.004026c0
lea eax, [ebp - 0xbb0]
mov byte [ebp - 4], 0x12
push 0x38
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x13
jb 0x41fbac
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb08]
call fcn.004026c0
mov eax, dword [ebx]
lea ecx, [ebp - 0xaf0]
push ecx
lea ecx, [ebp - 0xb08]
mov byte [ebp - 4], 0x14
push ecx
mov eax, dword [eax + 8]
mov ecx, ebx
call eax
lea ecx, [ebp - 0xb08]
call fcn.00402680
lea ecx, [ebp - 0xbb0]
call fcn.00402680
lea ecx, [ebp - 0xaf0]
mov byte [ebp - 4], 6
call fcn.00402680
push str.InstallShowMode
lea ecx, [ebp - 0xb68]
call fcn.004026c0
mov eax, dword [ebx]
lea ecx, [ebp - 0xb68]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x15
mov eax, dword [eax + 0x1c]
call eax
lea ecx, [ebp - 0xb68]
mov dword [ebp - 0xd58], eax
mov byte [ebp - 4], 6
call fcn.00402680
lea eax, [ebp - 0xc28]
push 0xc3
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x16
jb 0x41fc55
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb50]
call fcn.004026c0
mov eax, dword [ebx]
lea ecx, [ebp - 0xb50]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x17
mov eax, dword [eax + 0x1c]
call eax
lea ecx, [ebp - 0xb50]
call fcn.00402680
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 6
call fcn.00402680
lea eax, [ebp - 0xbc8]
push 0x37
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x18
jb 0x41fcb0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb38]
call fcn.004026c0
mov eax, dword [ebx]
lea ecx, [ebp - 0xb38]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x19
mov eax, dword [eax + 0x1c]
call eax
mov ebx, eax
lea ecx, [ebp - 0xb38]
mov dword [ebp - 0xd54], ebx
call fcn.00402680
lea ecx, [ebp - 0xbc8]
mov byte [ebp - 4], 6
call fcn.00402680
lea eax, [ebp - 0xbe0]
push 0x35
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1a
jb 0x41fd13
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb20]
call fcn.004026c0
mov edi, dword [ebp - 0xd30]
lea ecx, [ebp - 0xb20]
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x1b
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
call eax
lea ecx, [ebp - 0xb20]
mov edi, eax
call fcn.00402680
lea ecx, [ebp - 0xbe0]
mov byte [ebp - 4], 6
call fcn.00402680
test edi, edi
je 0x41fdca
lea eax, [ebp - 0xbf8]
push 0xd5
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
jb 0x41fd79
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x41fd81
mov edi, dword [edi]
mov cx, word [edi]
cmp cx, word [eax]
jne 0x41fda7
test cx, cx
je 0x41fda3
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x41fda7
add edi, 4
add eax, 4
test cx, cx
jne 0x41fd81
xor eax, eax
jmp 0x41fdac
sbb eax, eax
or eax, 1
test eax, eax
lea ecx, [ebp - 0xbf8]
sete bl
call fcn.00402680
test bl, bl
jne 0x41fefe
mov ebx, dword [ebp - 0xd54]
test ebx, ebx
je 0x41fe39
lea eax, [ebp - 0xc10]
push 0xd4
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
jb 0x41fdee
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x41fdf6
mov ebx, dword [ebx]
mov cx, word [ebx]
cmp cx, word [eax]
jne 0x41fe1c
test cx, cx
je 0x41fe18
mov cx, word [ebx + 2]
cmp cx, word [eax + 2]
jne 0x41fe1c
add ebx, 4
add eax, 4
test cx, cx
jne 0x41fdf6
xor eax, eax
jmp 0x41fe21
sbb eax, eax
or eax, 1
test eax, eax
lea ecx, [ebp - 0xc10]
sete bl
call fcn.00402680
test bl, bl
jne 0x41fefe
mov ecx, dword [ebp - 0xd58]
test ecx, ecx
jne 0x41fe4b
mov ebx, dword [ebp - 0xd1c]
jmp 0x41fe8d
cmp dword [ecx + 0x14], 8
jb 0x41fe53
mov ecx, dword [ecx]
mov eax, str.show
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41fe7e
test dx, dx
je 0x41fe7a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41fe7e
add ecx, 4
add eax, 4
test dx, dx
jne 0x41fe58
xor eax, eax
jmp 0x41fe83
sbb eax, eax
or eax, 1
mov ebx, dword [ebp - 0xd1c]
test eax, eax
jne 0x41fe94
inc ebx
mov dword [ebp - 0xd1c], ebx
cmp dword [ebp - 0xd20], 0
je 0x41feaf
lea eax, [ebp - 0xd4c]
push eax
lea ecx, [ebp - 0xd2c]
call fcn.004265b0
mov ecx, dword [ebp - 0xd40]
mov edx, 1
mov eax, dword [ebp - 0xd34]
cmp ebx, dword [ecx + 0x28]
cmovge eax, edx
cmp dword [ebp - 0xd44], 0
mov dword [ebp - 0xd34], eax
jle 0x41feee
cmp ebx, dword [ebp - 0xd48]
jge 0x41feee
mov ecx, dword [ebp - 0xd38]
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xd38], ecx
lea ecx, [ebp - 0xa48]
mov byte [ebp - 4], dl
call fcn.00402680
jmp 0x41ff13
lea ecx, [ebp - 0xa48]
mov byte [ebp - 4], 1
call fcn.00402680
mov ebx, dword [ebp - 0xd1c]
mov ecx, dword [ebp - 0xd40]
add esi, 0x1c
mov eax, dword [ecx + 0x4c]
mov eax, dword [eax + 8]
mov dword [ebp - 0xd50], eax
cmp esi, eax
jne 0x41f6c0
test ebx, ebx
je 0x41ff3b
mov dword [ecx + 0x20], 1
mov ecx, dword [ebp - 0xd2c]
test ecx, ecx
je 0x41ff7b
mov eax, dword [ebp - 0xd24]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [ebp - 0xd2c]
call fcn.00425bc0
mov dword [ebp - 0xd2c], 0
mov dword [ebp - 0xd28], 0
mov dword [ebp - 0xd24], 0
lea ecx, [ebp - 0xa30]
call fcn.00402680
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.006e70bb
mov esp, ebp
pop ebp
ret