Function at 0x408b90
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42be72
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x436a98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0x48]
test ecx, ecx
je 0x408c18
lea ecx, [ebp - 0x20]
call fcn.0040a4b0
mov dword [ebp - 4], 0
push 0x27f5
lea ecx, [ebp - 0x20]
call fcn.00403c00
lea ecx, [ebp - 0x20]
call fcn.00418500
push eax
push 0xd5
push 0x27dd
mov ecx, dword [ebp - 0x68]
call fcn.00407160
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00403df0
mov eax, dword [ebp - 0x54]
jmp 0x409161
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0x4c], 0
je 0x408c3f
push 0x27ff
push 0xd5
push 0x27dd
mov ecx, dword [ebp - 0x68]
call fcn.00407000
xor eax, eax
jmp 0x409161
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
je 0x408c66
cmp dword [ebp - 0x18], 0
jne 0x408c70
mov eax, 1
jmp 0x409161
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040afd0
mov dword [ebp - 4], 1
push 0x42dcb0
lea ecx, [ebp - 0x1c]
call fcn.0040b0e0
test eax, eax
je 0x408cab
push str._unmount
lea ecx, [ebp - 0x1c]
call fcn.0040b0e0
test eax, eax
jne 0x408e66
cmp dword [ebp - 0x10], 2
jne 0x408e3e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040afd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040b070
sub eax, 1
push eax
lea ecx, [ebp - 0x24]
call fcn.0040b090
movzx ecx, ax
cmp ecx, 0x22
jne 0x408cfa
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.0040b070
sub eax, 1
push eax
lea ecx, [ebp - 0x24]
call fcn.0040b0b0
lea ecx, [ebp - 0x24]
call fcn.0040b070
cmp eax, 3
jne 0x408d8f
push 1
lea ecx, [ebp - 0x24]
call fcn.0040b090
movzx edx, ax
cmp edx, 0x3a
jne 0x408d8f
push 2
lea ecx, [ebp - 0x24]
call fcn.0040b090
movzx eax, ax
cmp eax, 0x5c
jne 0x408d8f
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x58
call fcn.00418500
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x2c]
push ecx
push 0
lea ecx, [ebp - 0x24]
call fcn.0040b090
movzx edx, ax
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x408d8a
cmp dword [ebp - 0x2c], 0
je 0x408d8a
push 0
lea ecx, [ebp - 0x24]
call fcn.00418500
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.00408750
jmp 0x408e32
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x58
call fcn.00418500
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x34]
push edx
push 0
lea ecx, [ebp - 0x24]
call fcn.0040b090
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
call ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x408e32
cmp dword [ebp - 0x34], 0
je 0x408e32
lea ecx, [ebp - 0x24]
call fcn.00418500
push eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 0x3c]
call edx
test eax, eax
je 0x408e07
push 0
lea ecx, [ebp - 0x24]
call fcn.00418500
push eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00408750
jmp 0x408e32
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0x4c], 1
lea ecx, [ebp - 0x24]
call fcn.00418500
push eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 0x38]
call edx
mov eax, dword [ebp - 0x68]
mov dword [eax + 0x4c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00404a50
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x58], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404a50
mov eax, dword [ebp - 0x58]
jmp 0x409161
push 0x42dcd8
lea ecx, [ebp - 0x1c]
call fcn.0040b0e0
test eax, eax
je 0x408e8c
push str._eject
lea ecx, [ebp - 0x1c]
call fcn.0040b0e0
test eax, eax
jne 0x408f77
cmp dword [ebp - 0x10], 2
jne 0x408f4f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040afd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.0040b070
sub eax, 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040b090
movzx ecx, ax
cmp ecx, 0x22
jne 0x408edb
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.0040b070
sub eax, 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040b0b0
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x58
call fcn.00418500
mov dword [ebp - 0x74], eax
lea edx, [ebp - 0x40]
push edx
push 0
lea ecx, [ebp - 0x3c]
call fcn.0040b090
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
call ecx
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x408f43
cmp dword [ebp - 0x40], 0
je 0x408f43
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x4c], 1
push 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ecx + 0x30]
call eax
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0x4c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00404a50
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x5c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404a50
mov eax, dword [ebp - 0x5c]
jmp 0x409161
push 0x42dcf8
lea ecx, [ebp - 0x1c]
call fcn.0040b0e0
test eax, eax
je 0x408f99
push str._NewDriver
lea ecx, [ebp - 0x1c]
call fcn.0040b0e0
test eax, eax
jne 0x409002
cmp dword [ebp - 0x10], 2
jne 0x408fb0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.00408a10
jmp 0x408fda
push 0
push 0
mov edx, dword [ebp - 0x68]
push edx
push 0x407bc0
push 0
push 0
call fcn.0041c9fd
add esp, 0x18
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ad0
lea ecx, [ebp - 0x44]
call fcn.0040a3b0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404a50
mov eax, dword [ebp - 0x60]
jmp 0x409161
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040afd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0040b070
sub eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b090
movzx eax, ax
cmp eax, 0x22
jne 0x409046
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0040b070
sub eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b0b0
cmp dword [ebp - 0x10], 1
jne 0x409061
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00418500
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004081d0
cmp dword [ebp - 0x10], 1
jle 0x409132
lea ecx, [ebp - 0x4c]
call fcn.00403fe0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004047d0
lea ecx, [ebp - 0x4c]
call fcn.0040b070
sub eax, 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040b090
movzx eax, ax
cmp eax, 0x22
jne 0x4090b8
push 0x5c
lea ecx, [ebp - 0x4c]
call fcn.0040b070
sub eax, 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040b0b0
mov byte [ebp - 0x45], 0
cmp dword [ebp - 0x10], 2
jle 0x409107
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
lea ecx, [ebp - 0x50]
call fcn.0040afd0
mov byte [ebp - 4], 6
push 0x42dd28
lea ecx, [ebp - 0x50]
call fcn.0040b0e0
test eax, eax
je 0x4090f7
push str._GUI
lea ecx, [ebp - 0x50]
call fcn.0040b0e0
test eax, eax
jne 0x4090fb
mov byte [ebp - 0x45], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00404a50
movzx eax, byte [ebp - 0x45]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00418500
push eax
lea ecx, [ebp - 0x14]
call fcn.00418500
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004081d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.00404a50
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00404a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404a50
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8