Function at 0x4225b4
Capabilities:
Get common file path
Get disk information
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff994
mov eax, 0x4b35f8
push ebx
push esi
push edi
lea ebx, [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
call fcn.0049af0c
mov word [ebp - 0x14], 8
push edi
mov edx, dword [ebx]
push edx
call fcn.00455648
add esp, 8
inc dword [ebp - 8]
mov ecx, dword [ebx]
mov dword [ecx], 0x4b38e8
mov eax, dword [ebx]
mov dword [eax + 0xd6], esi
mov edx, dword [ebx]
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0xce], ecx
mov eax, dword [ebx]
mov edx, dword [ebp + 0x18]
mov dword [eax + 0xd2], edx
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0xca], eax
push 0x47
push 0
mov edx, dword [ebx]
add edx, 0x7f
push edx
call fcn.00498630
add esp, 0xc
mov ecx, dword [ebx]
add ecx, 0x7f
push esi
push edi
mov edi, ecx
mov eax, edi
mov esi, str.P1V250
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
mov edx, dword [ebx]
pop esi
add edx, 0xb5
push esi
push edi
mov edi, edx
mov esi, 0x4b388e
mov eax, edi
movsb byte es:[edi], byte [esi]
pop edi
mov edx, dword [ebx]
mov ecx, dword [ebp + 0x1c]
pop esi
push esi
push edi
mov edi, ecx
add edx, 0x98
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
pop edi
pop esi
mov word [eax + 0xb3], 0
mov edx, dword [ebx]
mov word [edx + 0xc4], 0
mov ecx, dword [ebx]
mov word [ecx + 0xb1], 0
mov eax, dword [ebx]
mov dword [eax + 0xda], edi
mov edx, dword [ebx]
mov byte [edx + 0xe2], 0
mov ecx, dword [ebx]
xor edx, edx
mov dword [ecx + 0x23], 0xa8c0
mov eax, dword [ebx]
mov dword [eax + 0x1f], edx
mov eax, dword [ebx]
mov dword [eax + 0x1b], edx
xor eax, eax
mov ecx, dword [ebx]
mov dword [ecx + 0x2b], eax
mov edx, dword [ebx]
mov dword [edx + 0x27], eax
push 0x51
call fcn.004a4fc0
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0xc6], eax
push 0
push 0
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0x4b388f
call sub.KERNEL32.dll_GetVolumeInformationA
test eax, eax
je 0x422728
mov eax, dword [ebp - 0x28]
push eax
push 0x4b3893
mov edx, dword [ebx]
add edx, 0xb5
push edx
call fcn.0049d914
add esp, 0xc
jmp 0x422796
push pe_nt_image_headers32
lea ecx, [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_GetWindowsDirectoryA
test eax, eax
je 0x422796
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x23c]
push edx
call fcn.0049f51c
add esp, 8
test eax, eax
jne 0x422796
lea ecx, [ebp - 0x246]
push ecx
call fcn.004a9328
pop ecx
test eax, eax
je 0x422796
mov edx, dword [eax]
push edx
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax + 8]
push edx
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 0x10]
inc edx
push edx
mov eax, dword [eax + 0x14]
push eax
push str._02d_02d_02d_02d_02d_02d
mov ecx, dword [ebx]
add ecx, 0xb5
push ecx
call fcn.0049d914
add esp, 0x20
mov eax, dword [ebp + 0x20]
push eax
lea edx, [ebp - 0x648]
push edx
lea ecx, [ebp - 0x3b]
push ecx
call fcn.0045063c
add esp, 0xc
cmp byte [ebp - 0x648], 0
je 0x422807
lea eax, [ebp - 0x648]
push eax
lea edx, [ebp - 0x3b]
push edx
call fcn.0045035c
add esp, 8
test eax, eax
je 0x4227ea
mov ecx, dword [ebx]
mov dword [ecx + 0x1b], 2
push 0
push 0
push 0x407
push esi
call sub.USER32.dll_PostMessageA
jmp 0x422934
mov eax, dword [ebx]
mov dword [eax + 0x1b], 0xfffffffe
push 0
push 0
push 0x407
push esi
call sub.USER32.dll_PostMessageA
jmp 0x422934
push 0
call fcn.004a99ac
pop ecx
mov edi, eax
test edi, edi
jg 0x42281a
mov edi, 0x12ceec50
xor eax, eax
lea edx, [ebp - 0x66c]
mov dword [ebp - 0x664], eax
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x66c], eax
mov dword [ebp - 0x660], 0xf
mov dword [ebp - 0x65c], 3
mov dword [ebp - 0x658], 0x66
push edx
call fcn.004a9350
pop ecx
cmp edi, eax
jle 0x422898
mov ecx, dword [ebx]
mov dword [ecx + 0x1b], 0xfffffffd
mov eax, dword [ebx]
mov dword [eax + 0xde], 1
push 0
push 0x36ee80
mov edx, dword [ebx]
push edx
call fcn.00455708
add esp, 0xc
push 0
push 0
push 0x407
push esi
call sub.USER32.dll_PostMessageA
jmp 0x422934
mov ecx, dword [ebx]
xor eax, eax
mov dword [ecx + 0xde], eax
lea ecx, [ebp - 0x648]
mov edx, dword [ebp + 0x20]
push edx
push 0x9f
push ecx
push 0x4b388e
push str.TryOut
push 0x4b38b0
call sub.KERNEL32.dll_GetPrivateProfileStringA
push str.Crippled
lea eax, [ebp - 0x648]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x42290a
mov edx, dword [ebx]
mov dword [edx + 0xde], 1
push 0
push 0x36ee80
mov ecx, dword [ebx]
push ecx
call fcn.00455708
add esp, 0xc
push 0
push 1
push 0x407
push esi
call sub.USER32.dll_PostMessageA
jmp 0x422934
push 0
push 2
push 0x407
push esi
call sub.USER32.dll_PostMessageA
push 0
push 0x493e0
mov eax, dword [ebx]
push eax
call fcn.00455708
add esp, 0xc
mov edx, dword [ebx]
push edx
mov ecx, dword [edx]
call dword [ecx + 4]
pop ecx
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret