Function at 0x408b20
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x448032
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x45b680]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b680]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebp
call fcn.004010e0
lea ecx, [ebp + 0x74]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x28c], ebx
call fcn.0040ac90
mov dword [esp + 0x284], 0xffffffff
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x408bb3
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
push ecx
call fcn.00403c40
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call fcn.00411e4d
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00411e4d
add esp, 4
lea ecx, [esp + 0x38]
push ecx
push ebp
call fcn.004094a0
mov dword [esp + 0x284], 1
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x408c59
push str.CCheckNDISPortDlg::RemovedCdroms.empty
call edi
xor ecx, ecx
push 0x30
mov eax, str.CZDServWorker::DetectCdrom___found_removed_cdrom
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
call fcn.00404f90
mov edx, esi
push edx
mov byte [esp + 0x288], 2
call fcn.004089b0
mov byte [esp + 0x284], 1
cmp dword [esp + 0x30], 8
jb 0x408c59
mov eax, dword [esp + 0x1c]
push eax
call fcn.00411e4d
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push ebp
call fcn.00408f70
push eax
add ebp, 0x8c
push ebp
mov byte [esp + 0x28c], 3
call fcn.0040ac90
mov byte [esp + 0x284], 1
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x408cad
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
push edx
call fcn.00403c40
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.00411e4d
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00411e4d
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
je 0x408ee3
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x408d01
call fcn.0042e83a
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
call fcn.00401ec0
add esp, 4
test al, al
jne 0x408d70
push str.IsCdromReady_is_not_ready
call edi
xor edx, edx
push 0x1e
mov eax, str.IsCdromReady_is_not_ready
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.00404f90
mov eax, esi
push eax
mov byte [esp + 0x288], 4
call fcn.004089b0
cmp dword [esp + 0x30], 8
jb 0x408d62
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00411e4d
add esp, 4
lea esi, [esp + 0x38]
call fcn.00402b50
jmp 0x408f3a
push str.CCheckNDISPortDlg::m_PlugedCdroms_not_empty
call edi
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x408d95
call fcn.0042e83a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00404200
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004099e0
cmp al, bl
je 0x408e8d
push str.start_UninstallSelf
call edi
push 0x206
lea edx, [esp + 0x72]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x78], cx
call fcn.004308e0
add esp, 0xc
push 0x104
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edi, [esp + 0x6c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x408e04
mov ecx, 9
mov esi, str.UninstallSelf.exe
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
movsw word es:[edi], word [esi]
jne 0x408e3c
call fcn.0042e83a
mov ebp, dword [ebp + 0xc]
add ebp, 0x10
push ebp
lea ecx, [esp + 0x18]
push str.DRIVER::
push ecx
call fcn.0040aae0
mov eax, dword [eax]
add esp, 0xc
push ebx
push ebx
push eax
lea edx, [esp + 0x78]
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x408e94
push str.New_version
call edi
xor ecx, ecx
push 0x2f
mov eax, str.CZDServWorker::DetectCdrom___found_pluged_cdrom
lea esi, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
call fcn.00404f90
mov edx, esi
push edx
mov byte [esp + 0x288], 5
call fcn.004089b0
mov byte [esp + 0x284], 1
cmp dword [esp + 0x68], 8
jb 0x408ee3
mov eax, dword [esp + 0x54]
push eax
call fcn.00411e4d
add esp, 4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
add eax, 0x74
push eax
add ecx, 0xa4
push ecx
call fcn.0040ac90
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x408f21
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x48]
push edx
call fcn.00403c40
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.00411e4d
add esp, 4
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.00411e4d
add esp, 4
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0042de55
add esp, 0x274
ret 4