Function at 0x401aaf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [ebp + 0xc]
mov byte [ebp - 9], al
mov dword [esp + 4], str.grubinst.exe___pause
lea eax, [ebp - 0x218]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x22c], eax
mov dword [esp + 4], 0x6f
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401b3d
mov dword [esp + 4], str.__read_only
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 4], 0x70
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401b92
mov dword [esp + 4], str.__verbose
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 4], 0x71
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401be7
mov dword [esp + 4], str.__no_backup_mbr
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 4], 0x72
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401c3c
mov dword [esp + 4], str.__mbr_disable_floppy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 4], 0x73
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401c91
mov dword [esp + 4], str.__mbr_disable_osbr
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 4], 0x75
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401ce6
mov dword [esp + 4], str.__duce
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 4], 0x74
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401d3b
mov dword [esp + 4], str.__boot_prevmbr_first
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 4], 0x76
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401d90
mov dword [esp + 4], str.__floppy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 0xc], 0x10
lea eax, [ebp - 0x228]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x77
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDlgItemTextA
sub esp, 0x10
test eax, eax
je 0x401e00
lea eax, [ebp - 0x228]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__time_out_s
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 0xc], 0x10
lea eax, [ebp - 0x228]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x78
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDlgItemTextA
sub esp, 0x10
test eax, eax
je 0x401e70
lea eax, [ebp - 0x228]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__hot_key_s
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov dword [esp + 4], 0x7d
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401f69
mov dword [esp + 4], str.__restore
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov eax, 0x200
sub eax, dword [ebp - 0x22c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDlgItemTextA
sub esp, 0x10
test eax, eax
jne 0x401f1a
mov dword [esp + 4], 0x1f4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004012f0
jmp 0x40224a
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 8]
add eax, edx
sub eax, 0x210
mov byte [eax], 0x20
lea eax, [ebp - 0x22c]
inc dword [eax]
lea eax, [ebp - 8]
add eax, dword [ebp - 0x22c]
sub eax, 0x210
mov byte [eax], 0
jmp 0x4020a0
mov dword [esp + 4], 0x7e
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_IsDlgButtonChecked
sub esp, 8
cmp eax, 1
jne 0x401fc3
mov dword [esp + 4], str.__restore_prevmbr
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
jmp 0x4020a0
mov dword [esp + 4], str.__save
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x22c]
neg eax
sub eax, dword [ebp - 0x230]
add eax, 0x200
mov dword [esp + 0xc], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 0x230]
add eax, dword [ebp - 0x22c]
lea eax, [edx + eax]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDlgItemTextA
sub esp, 0x10
test eax, eax
je 0x40208f
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 8]
add eax, edx
sub eax, 0x210
mov byte [eax], 0x20
lea eax, [ebp - 0x22c]
inc dword [eax]
lea eax, [ebp - 8]
add eax, dword [ebp - 0x22c]
sub eax, 0x210
mov byte [eax], 0
jmp 0x4020a0
lea eax, [ebp - 8]
add eax, dword [ebp - 0x22c]
sub eax, 0x210
mov byte [eax], 0
mov dword [esp + 0xc], 0x10
lea eax, [ebp - 0x228]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDlgItemTextA
sub esp, 0x10
test eax, eax
je 0x402136
cmp byte [ebp - 0x228], 0x2f
jle 0x402136
cmp byte [ebp - 0x228], 0x39
jg 0x402136
lea eax, [ebp - 0x228]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__install_partition_d
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov eax, 0x200
sub eax, dword [ebp - 0x22c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x79
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_GetDlgItemTextA
sub esp, 0x10
test eax, eax
je 0x4021b9
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea eax, [ebp - 0x22c]
add dword [eax], edx
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 8]
add eax, edx
sub eax, 0x210
mov byte [eax], 0x20
lea eax, [ebp - 0x22c]
inc dword [eax]
lea eax, [ebp - 8]
add eax, dword [ebp - 0x22c]
sub eax, 0x210
mov byte [eax], 0
mov eax, 0x200
sub eax, dword [ebp - 0x22c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x218]
add eax, dword [ebp - 0x22c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004015b6
test eax, eax
je 0x4021e9
jmp 0x40224a
cmp byte [ebp - 9], 0
je 0x402219
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40515c
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40224a
mov dword [esp + 4], 5
lea eax, [ebp - 0x218]
mov dword [esp], eax
call sub.KERNEL32.dll_WinExec
sub esp, 8
cmp eax, 0x1f
ja 0x40224a
mov dword [esp + 4], 0x1f8
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004012f0
leave
ret