Function at 0x401e20
Capabilities:
Get disk information
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], eax
call sym.___main
dec edi
jle 0x401fc5
mov ebx, 1
jmp 0x401e84
mov dword [esp], ecx
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.ucrtbase.dll_strlen]
cmp eax, 2
jne 0x401f1a
mov ecx, dword [ebp - 0x3c]
cmp byte [ecx + 1], 0x3a
jne 0x401f1a
inc ebx
cmp dword [ebp - 0x48], ebx
jle 0x401f80
mov eax, dword [ebp - 0x4c]
lea edi, [ebx*4]
lea esi, [eax + edi]
mov ecx, dword [esi]
cmp byte [ecx], 0x2d
jne 0x401e58
movsx eax, byte [ecx + 1]
lea edx, [ecx + 1]
test al, al
je 0x401f4c
mov byte [ebp - 0x3c], 0
mov ecx, dword [0x406004]
mov dword [ebp - 0x44], ecx
mov ecx, dword [section..bss]
mov dword [ebp - 0x40], ecx
xor ecx, ecx
jmp 0x401edc
mov byte [ebp - 0x3c], 1
movsx eax, byte [edx + 1]
inc edx
mov dword [ebp - 0x44], 1
test al, al
je 0x401f32
cmp al, 0x68
je 0x4020b8
cmp al, 0x75
je 0x401ec8
cmp al, 0x61
je 0x401f20
test cl, cl
nop
je 0x401efb
mov edi, dword [ebp - 0x40]
mov dword [section..bss], edi
cmp byte [ebp - 0x3c], 0
je 0x401f0a
mov edi, dword [ebp - 0x44]
mov dword [0x406004], edi
mov dword [esp + 4], eax
mov dword [esp], str.Unknown_option___c_n
call sym._wine_dbg_printf
call sym._usage
nop
movsx eax, byte [edx + 1]
inc edx
mov cl, 1
mov dword [ebp - 0x40], 1
test al, al
jne 0x401edc
test cl, cl
je 0x401f3e
mov eax, dword [ebp - 0x40]
mov dword [section..bss], eax
cmp byte [ebp - 0x3c], 0
je 0x401f4c
mov eax, dword [ebp - 0x44]
mov dword [0x406004], eax
mov dword [esp], esi
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
sub eax, ebx
shl eax, 2
mov dword [esp + 8], eax
lea eax, [ecx + edi + 4]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_memmove]
dec dword [ebp - 0x48]
cmp dword [ebp - 0x48], ebx
jg 0x401e84
nop
lea esi, [esi]
mov edx, dword [section..bss]
test edx, edx
jne 0x401fce
mov esi, dword [ebp - 0x48]
cmp esi, 1
je 0x402038
mov edi, dword [ebp - 0x4c]
mov ebx, 1
nop
mov eax, dword [edi + ebx*4]
movsx ax, byte [eax]
movzx eax, ax
call sym._eject_cd
test eax, eax
je 0x40202b
inc ebx
cmp ebx, esi
jne 0x401fa0
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_exit]
cmp dword [section..bss], 0
je 0x402038
mov ebx, dword [sym.imp.kernel32.dll_GetDriveTypeW]
lea esi, [ebp - 0x38]
mov edi, 0x63
lea esi, [esi]
movzx ecx, di
xor eax, eax
lea esi, [esi]
lea edi, [edi]
movzx edx, word [eax + 0x4040ba]
mov word [esi + eax], dx
add eax, 2
test edx, edx
jne 0x401ff0
mov dword [esp], esi
mov word [ebp - 0x38], cx
call ebx
sub esp, 4
cmp eax, 5
je 0x402020
inc edi
cmp edi, 0x7b
jne 0x401fe0
jmp 0x401fb8
mov eax, edi
call sym._eject_cd
test eax, eax
jne 0x402013
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
mov ebx, dword [sym.imp.kernel32.dll_GetDriveTypeW]
lea esi, [ebp - 0x38]
mov edi, 0x63
mov dword [ebp - 0x3c], 0
lea esi, [esi]
xor eax, eax
lea esi, [esi]
lea edi, [edi]
movzx edx, word [eax + 0x4040ba]
mov word [esi + eax], dx
add eax, 2
test edx, edx
jne 0x402060
mov dword [esp], esi
mov word [ebp - 0x38], di
call ebx
sub esp, 4
cmp eax, 5
jne 0x40208d
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4020f0
mov dword [ebp - 0x3c], edi
lea eax, [edi + 1]
cmp ax, 0x7b
movzx edi, ax
jne 0x402050
cmp dword [ebp - 0x3c], 0
jne 0x4020db
mov dword [esp], str.No_CD_drive_found_n
call sym._wine_dbg_printf
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
test cl, cl
je 0x4020c4
mov eax, dword [ebp - 0x40]
mov dword [section..bss], eax
cmp byte [ebp - 0x3c], 0
je 0x401f1a
mov eax, dword [ebp - 0x44]
mov dword [0x406004], eax
jmp 0x401f1a
mov eax, dword [ebp - 0x3c]
call sym._eject_cd
test eax, eax
jne 0x401fb8
jmp 0x40202b
mov dword [esp + 8], edi
movsx eax, byte [ebp - 0x3c]
mov dword [esp], str.Multiple_CD_drives_found___c:_and__c:___you_need_to_specify_the_one_you_want._n
mov dword [esp + 4], eax
call sym._wine_dbg_printf
jmp 0x40202b