Function at 0x408a00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x48]
test ecx, ecx
je 0x408a6f
lea ecx, [ebp - 0x14]
call fcn.00410cc0
mov ecx, dword [ebp - 0x48]
add ecx, 0x54
call fcn.00409d40
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x14]
call fcn.00409e40
push eax
push 0x12
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
lea ecx, [ebp - 0x14]
call fcn.00409d40
push eax
push 0x14
push 0
mov ecx, dword [ebp - 0x48]
call fcn.00406350
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x14]
call fcn.00401130
mov eax, dword [ebp - 0x38]
jmp 0x408e22
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x4c], 0
je 0x408a8d
push 0xb
push 0x14
push 0
mov ecx, dword [ebp - 0x48]
call fcn.00406170
xor eax, eax
jmp 0x408e22
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x408ab4
cmp dword [ebp - 0xc], 0
jne 0x408abe
mov eax, 1
jmp 0x408e22
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040a6f0
push 0x425b5c
lea ecx, [ebp - 0x10]
call fcn.0040a830
test eax, eax
je 0x408af2
push str._unmount
lea ecx, [ebp - 0x10]
call fcn.0040a830
test eax, eax
jne 0x408c8a
cmp dword [ebp - 4], 2
jne 0x408c69
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040a6f0
lea ecx, [ebp - 0x18]
call fcn.0040a790
sub eax, 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a7b0
movzx edx, ax
cmp edx, 0x22
jne 0x408b3d
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0040a790
sub eax, 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a7d0
lea ecx, [ebp - 0x18]
call fcn.0040a790
cmp eax, 3
jne 0x408bd2
push 1
lea ecx, [ebp - 0x18]
call fcn.0040a7b0
movzx eax, ax
cmp eax, 0x3a
jne 0x408bd2
push 2
lea ecx, [ebp - 0x18]
call fcn.0040a7b0
movzx ecx, ax
cmp ecx, 0x5c
jne 0x408bd2
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x48]
add ecx, 0x5c
call fcn.00409d40
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x20]
push edx
push 0
lea ecx, [ebp - 0x18]
call fcn.0040a7b0
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
call ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x408bcd
cmp dword [ebp - 0x20], 0
je 0x408bcd
push 0
lea ecx, [ebp - 0x18]
call fcn.00409d40
push eax
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00408620
jmp 0x408c61
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x48]
add ecx, 0x5c
call fcn.00409d40
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x28]
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.0040a7b0
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
call edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x408c61
cmp dword [ebp - 0x28], 0
je 0x408c61
lea ecx, [ebp - 0x18]
call fcn.00409d40
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
je 0x408c4a
push 0
lea ecx, [ebp - 0x18]
call fcn.00409d40
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.00408620
jmp 0x408c61
lea ecx, [ebp - 0x18]
call fcn.00409d40
push eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x38]
call edx
lea ecx, [ebp - 0x18]
call fcn.00403310
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x10]
call fcn.00403310
mov eax, dword [ebp - 0x3c]
jmp 0x408e22
push 0x425b84
lea ecx, [ebp - 0x10]
call fcn.0040a830
test eax, eax
je 0x408cac
push str._NewDriver
lea ecx, [ebp - 0x10]
call fcn.0040a830
test eax, eax
jne 0x408ce2
cmp dword [ebp - 4], 2
jne 0x408cc1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004088b0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x10]
call fcn.00403310
mov eax, dword [ebp - 0x40]
jmp 0x408e22
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 8]
call fcn.0040a6f0
lea ecx, [ebp - 8]
call fcn.0040a790
sub eax, 1
push eax
lea ecx, [ebp - 8]
call fcn.0040a7b0
movzx eax, ax
cmp eax, 0x22
jne 0x408d22
push 0x5c
lea ecx, [ebp - 8]
call fcn.0040a790
sub eax, 1
push eax
lea ecx, [ebp - 8]
call fcn.0040a7d0
cmp dword [ebp - 4], 1
jne 0x408d3d
push 0
push 0
lea ecx, [ebp - 8]
call fcn.00409d40
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00407b00
cmp dword [ebp - 4], 1
jle 0x408dfe
lea ecx, [ebp - 0x30]
call fcn.00402990
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040a800
lea ecx, [ebp - 0x30]
call fcn.0040a790
sub eax, 1
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a7b0
movzx eax, ax
cmp eax, 0x22
jne 0x408d90
push 0x5c
lea ecx, [ebp - 0x30]
call fcn.0040a790
sub eax, 1
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a7d0
mov byte [ebp - 0x29], 0
cmp dword [ebp - 4], 2
jle 0x408dd7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040a6f0
push 0x425bb4
lea ecx, [ebp - 0x34]
call fcn.0040a830
test eax, eax
je 0x408dcb
push str._GUI
lea ecx, [ebp - 0x34]
call fcn.0040a830
test eax, eax
jne 0x408dcf
mov byte [ebp - 0x29], 1
lea ecx, [ebp - 0x34]
call fcn.00403310
movzx eax, byte [ebp - 0x29]
push eax
lea ecx, [ebp - 0x30]
call fcn.00409d40
push eax
lea ecx, [ebp - 8]
call fcn.00409d40
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00407b00
lea ecx, [ebp - 0x30]
call fcn.00403310
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x44], 1
lea ecx, [ebp - 8]
call fcn.00403310
lea ecx, [ebp - 0x10]
call fcn.00403310
mov eax, dword [ebp - 0x44]
mov esp, ebp
pop ebp
ret 8