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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff994
mov eax, 0x4b5160
push ebx
push esi
push edi
lea ebx, [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
call fcn.0049d698
mov word [ebp - 0x14], 8
push edi
push dword [ebx]
call fcn.00454dac
add esp, 8
inc dword [ebp - 8]
mov edx, dword [ebx]
mov dword [edx], 0x4b53b8
mov ecx, dword [ebx]
mov dword [ecx + 0xd6], esi
mov eax, dword [ebx]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0xce], edx
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xd2], eax
mov edx, dword [ebx]
mov ecx, dword [ebp + 0x20]
mov dword [edx + 0xca], ecx
push 0x47
push 0
mov eax, dword [ebx]
add eax, 0x7f
push eax
call fcn.0049adbc
add esp, 0xc
mov edx, dword [ebx]
add edx, 0x7f
push esi
push edi
mov edi, edx
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, 0x4b534e
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.004a78f4
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 0x4b534f
call sub.KERNEL32.dll_GetVolumeInformationA
test eax, eax
je 0x421ea7
mov eax, dword [ebp - 0x28]
push eax
push 0x4b5353
mov edx, dword [ebx]
add edx, 0xb5
push edx
call fcn.004a00a0
add esp, 0xc
jmp 0x421f0f
push pe_nt_image_headers32
lea ecx, [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_GetWindowsDirectoryA
test eax, eax
je 0x421f0f
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x23c]
push edx
call fcn.004a1ca8
add esp, 8
test eax, eax
jne 0x421f0f
lea ecx, [ebp - 0x246]
push ecx
call fcn.004abc64
pop ecx
test eax, eax
je 0x421f0f
push dword [eax]
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov edx, dword [eax + 0x10]
inc edx
push edx
push dword [eax + 0x14]
push str._02d_02d_02d_02d_02d_02d
mov eax, dword [ebx]
add eax, 0xb5
push eax
call fcn.004a00a0
add esp, 0x20
push dword [ebp + 0x20]
lea ecx, [ebp - 0x648]
push ecx
lea eax, [ebp - 0x3a]
push eax
call fcn.0044ffeb
add esp, 0xc
cmp byte [ebp - 0x648], 0
je 0x421f7f
lea edx, [ebp - 0x648]
push edx
lea ecx, [ebp - 0x3a]
push ecx
call fcn.0044fd38
add esp, 8
test eax, eax
je 0x421f62
mov eax, dword [ebx]
mov dword [eax + 0x1b], 2
push 0
push 0
push 0x407
push esi
call sub.USER32.dll_PostMessageA
jmp 0x4220a8
mov edx, dword [ebx]
mov dword [edx + 0x1b], 0xfffffffe
push 0
push 0
push 0x407
push esi
call sub.USER32.dll_PostMessageA
jmp 0x4220a8
push 0
call fcn.004ac2e8
pop ecx
mov edi, eax
test edi, edi
jg 0x421f92
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], 0x1e
mov dword [ebp - 0x65c], 6
mov dword [ebp - 0x658], 0x65
push edx
call fcn.004abc8c
pop ecx
cmp edi, eax
jle 0x42200f
mov ecx, dword [ebx]
mov dword [ecx + 0x1b], 0xfffffffd
mov eax, dword [ebx]
mov dword [eax + 0xde], 1
push 0
push 0x36ee80
push dword [ebx]
call fcn.00454e67
add esp, 0xc
push 0
push 0
push 0x407
push esi
call sub.USER32.dll_PostMessageA
jmp 0x4220a8
mov edx, dword [ebx]
xor ecx, ecx
lea eax, [ebp - 0x648]
mov dword [edx + 0xde], ecx
push dword [ebp + 0x20]
push 0x9f
push eax
push 0x4b534e
push str.TryOut
push 0x4b5370
call sub.KERNEL32.dll_GetPrivateProfileStringA
push str.Crippled
lea edx, [ebp - 0x648]
push edx
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x42207f
mov ecx, dword [ebx]
mov dword [ecx + 0xde], 1
push 0
push 0x36ee80
push dword [ebx]
call fcn.00454e67
add esp, 0xc
push 0
push 1
push 0x407
push esi
call sub.USER32.dll_PostMessageA
jmp 0x4220a8
push 0
push 2
push 0x407
push esi
call sub.USER32.dll_PostMessageA
push 0
push 0x493e0
push dword [ebx]
call fcn.00454e67
add esp, 0xc
mov eax, dword [ebx]
push eax
mov edx, dword [eax]
call dword [edx + 4]
pop ecx
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret