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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445618
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x45b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
cmp byte [ebx + 0x48], 0
je 0x415b4d
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0
call edi
push 0x27f5
call fcn.004111c0
add esp, 4
test eax, eax
je 0x415b20
movzx ecx, word [eax]
add eax, 2
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
jmp 0x415b22
xor esi, esi
push esi
push 0xd5
push 0x27dd
mov ecx, ebx
call fcn.00417940
push esi
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 0x4c], 0
je 0x415b7d
push 0x27ff
push 0xd5
push 0x27dd
call fcn.004177f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x10], 0
mov edi, eax
mov dword [ebp + 0xc], edi
je 0x415f03
test edi, edi
je 0x415f03
push dword [edi]
lea ecx, [ebp - 0x34]
call fcn.004135a0
mov esi, dword [ebp - 0x34]
push 0x447f4c
push esi
mov dword [ebp - 4], 0
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415e0b
push str._unmount
push esi
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415e0b
push 0x447f74
push esi
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415d8e
push str._eject
push esi
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415d8e
push 0x447cc4
push esi
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415d53
push str._NewDriver
push esi
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415d53
push dword [edi]
lea ecx, [ebp - 0x18]
call fcn.004135a0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 3
mov eax, dword [esi - 8]
mov dword [ebp - 0x30], eax
cmp word [esi + eax*2 - 2], 0x22
jne 0x415c7a
lea ecx, [ebp - 0x18]
call fcn.00410030
mov esi, dword [ebp - 0x18]
mov ecx, 0x5c
mov eax, dword [ebp - 0x30]
mov word [esi + eax*2 - 2], cx
mov eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x415c94
push 0
push 0
push esi
mov ecx, ebx
call fcn.00415270
mov eax, dword [ebp - 0x10]
cmp eax, 1
jle 0x415d3f
mov eax, dword [0x45b014]
mov dword [ebp - 0x14], eax
push dword [edi + 4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00413700
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 8]
mov dword [ebp - 0x30], eax
cmp word [edi + eax*2 - 2], 0x22
jne 0x415cda
lea ecx, [ebp - 0x14]
call fcn.00410030
mov edi, dword [ebp - 0x14]
mov ecx, 0x5c
mov eax, dword [ebp - 0x30]
mov word [edi + eax*2 - 2], cx
cmp dword [ebp - 0x10], 2
mov byte [ebp - 0x24], 0
jle 0x415d28
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push dword [eax + 8]
call fcn.004135a0
mov ebx, dword [ebp - 0x28]
push 0x447cf4
push ebx
call fcn.00429bb2
add esp, 8
test eax, eax
je 0x415d19
push str._GUI
push ebx
call fcn.00429bb2
add esp, 8
test eax, eax
jne 0x415d1d
mov byte [ebp - 0x24], 1
lea ecx, [ebp - 0x28]
call fcn.0040fe20
mov ebx, dword [ebp - 0x38]
push dword [ebp - 0x24]
mov ecx, ebx
push edi
push esi
call fcn.00415270
lea ecx, [ebp - 0x14]
call fcn.0040fe20
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x18]
call fcn.0040fe20
jmp 0x415efb
cmp dword [ebp - 0x10], 2
jne 0x415d68
push dword [edi + 4]
mov ecx, ebx
call fcn.00415850
jmp 0x415ef4
push 0
push 0
push ebx
push 0x4154f0
push 0
push 0
call fcn.00429ef3
add esp, 0x18
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x3c]
call fcn.00413610
jmp 0x415ef4
cmp dword [ebp - 0x10], 2
jne 0x415ef4
push dword [edi + 4]
lea ecx, [ebp - 0x1c]
call fcn.004135a0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov esi, dword [eax - 8]
cmp word [eax + esi*2 - 2], 0x22
jne 0x415dca
lea ecx, [ebp - 0x1c]
call fcn.00410030
mov eax, dword [ebp - 0x1c]
mov ecx, 0x5c
mov word [eax + esi*2 - 2], cx
mov edx, dword [ebx + 0x58]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
movzx eax, word [eax]
push esi
mov ecx, dword [edx]
push eax
push edx
call dword [ecx + 0x24]
test eax, eax
jne 0x415e03
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x415e03
mov dword [ebx + 0x4c], 1
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x30]
mov dword [ebx + 0x4c], 0
lea ecx, [ebp - 0x1c]
jmp 0x415eef
cmp dword [ebp - 0x10], 2
jne 0x415ef4
push dword [edi + 4]
lea ecx, [ebp - 0x24]
call fcn.004135a0
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 1
mov eax, dword [esi - 8]
mov dword [ebp - 0x3c], eax
cmp word [esi + eax*2 - 2], 0x22
jne 0x415e4d
lea ecx, [ebp - 0x24]
call fcn.00410030
mov esi, dword [ebp - 0x24]
mov ecx, 0x5c
mov eax, dword [ebp - 0x3c]
mov word [esi + eax*2 - 2], cx
cmp dword [esi - 8], 3
jne 0x415e94
cmp word [esi + 2], 0x3a
jne 0x415e94
cmp word [esi + 4], 0x5c
jne 0x415e94
mov edx, dword [ebx + 0x58]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movzx eax, word [esi]
push edi
mov ecx, dword [edx]
push eax
push edx
call dword [ecx + 0x24]
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x415eec
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x415eec
push 0
push esi
push eax
mov ecx, ebx
call fcn.00413ce0
jmp 0x415eec
mov edx, dword [ebx + 0x58]
lea edi, [ebp - 0x20]
mov dword [ebp - 0x20], 0
movzx eax, word [esi]
push edi
mov ecx, dword [edx]
push eax
push edx
call dword [ecx + 0x24]
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x415eec
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x415eec
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x3c]
test eax, eax
je 0x415ed4
push 0
push esi
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.00413ce0
jmp 0x415eec
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x4c], 1
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dword [ebx + 0x4c], 0
lea ecx, [ebp - 0x24]
call fcn.0040fe20
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x34]
call fcn.0040fe20
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8