Function at 0x418250
Capabilities:
Accept command line arguments
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 0x20], 0xc477
mov dword [ebp - 0x68], 0xc7e
mov dword [ebp - 0x28], 0x9e53
mov dword [ebp - 0x74], 0x4891
mov dword [ebp - 0x54], 0x40f3
mov dword [ebp - 0x4c], 0xa81c
mov dword [ebp - 0x18], 0xa7c0
mov dword [ebp - 0x14], 0x1031c
mov dword [ebp - 0x90], 0x1d4c
mov dword [ebp - 0x84], 0x10cbd
mov dword [ebp - 0x60], 0x8f8e
mov dword [ebp - 0x78], 0x16948
mov dword [ebp - 0x64], 0x908c
mov dword [ebp - 8], 0x8519
mov dword [ebp - 0x88], 0x886c
mov dword [ebp - 0x8c], 0x9ee
mov dword [ebp - 0xc], 0x14d5f
mov dword [ebp - 4], 0x13adf
mov dword [ebp - 0x9c], 0x2120
mov dword [ebp - 0x2c], 0x173b5
mov dword [ebp - 0x80], 0x9557
mov dword [ebp - 0x1c], 0xc952
mov dword [ebp - 0x10], 0x3ec7
mov dword [ebp - 0x30], 0x13f44
mov dword [ebp - 0x7c], 0xd1fd
mov eax, dword [ebp - 0x2c]
sub eax, 0xa266
push eax
mov ecx, dword [ebp + 0x14]
sub ecx, 0x132e2
push ecx
mov edx, dword [ebp - 0xc]
sub edx, 0x7e6b
push edx
mov eax, dword [ebp - 4]
sub eax, 0x8d63
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x403c
push ecx
call fcn.00416940
add esp, 0x14
mov edx, dword [ebp - 0x30]
sub edx, 1
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], 0
jmp 0x41836a
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x24]
sub ecx, 0x35a8
cmp dword [ebp - 0x24], ecx
jge 0x418430
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x14]
jge 0x418390
mov dword [ebp - 0x34], 1
jmp 0x418397
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x70]
jge 0x4183bd
mov dword [ebp - 0x38], 1
jmp 0x4183c4
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0x10]
jge 0x4183d5
mov dword [ebp - 0x3c], 1
jmp 0x4183dc
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x3c]
je 0x41842b
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x60]
jne 0x41842b
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x28]
jne 0x41842b
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 4]
jne 0x41842b
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x64]
jne 0x41842b
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [ebp - 0x10]
jne 0x41842b
push 0xb8fb
push 0x16bf
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
add esp, 8
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
jmp 0x418361
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x28]
jge 0x418441
mov dword [ebp - 0x40], 1
jmp 0x418448
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x20]
jge 0x418459
mov dword [ebp - 0x44], 1
jmp 0x418460
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x24]
jge 0x418471
mov dword [ebp - 0x48], 1
jmp 0x418478
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x40]
and eax, dword [ebp - 0x44]
and eax, dword [ebp - 0x48]
je 0x418625
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x80]
jge 0x418498
mov dword [ebp - 0x50], 1
jmp 0x41849f
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 4]
or eax, dword [ebp - 0x50]
je 0x418625
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jne 0x418625
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 8]
jne 0x418625
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x418625
mov ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x84]
jge 0x418625
mov edx, dword [ebp - 0x88]
cmp edx, dword [ebp - 0x10]
jne 0x418625
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x20]
jne 0x418625
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x18]
jne 0x418625
mov edx, dword [ebp - 0x8c]
cmp edx, dword [ebp - 0x10]
jne 0x418625
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x90]
jne 0x418625
push 0x9bb9
push 0xff
push 0x6a57
push 0x5df5
push 0x159b6
push 0x12fba
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x98]
jge 0x41858c
mov dword [ebp - 0x58], 1
jmp 0x418593
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 4]
jge 0x4185a4
mov dword [ebp - 0x5c], 1
jmp 0x4185ab
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x58]
and ecx, dword [ebp + 0xc]
and ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x5c]
or ecx, dword [ebp - 0x60]
je 0x418608
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x64]
jne 0x418608
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jne 0x418608
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x9c]
jne 0x418608
push 0xd16b
push 0x4a51
push 0x1ec8
push 0x52
push 0x18624
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add esp, 0x14
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
push 0x1044c
push 0x128fa
push 0x16bf1
push 0x9ba5
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0x10
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov esp, ebp
pop ebp
ret