Function at 0x409f60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55638e
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.0053f7f0
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.deldrv.debug.ini
xor ebx, ebx
push ebx
push str.DebugLevel
mov edi, ecx
push str.Setup
mov dword [ebp - 0xc10], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, ebx
je 0x40a009
push str.deldrv.debug.ini
push 0x100
lea eax, [ebp - 0x210]
push eax
push 0x568928
push str.Class
push str.Setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x409ffb
lea edx, [ebp - 0x210]
push edx
push 2
jmp 0x409ffe
push ebx
push 1
push 1
push esi
call fcn.00403a90
add esp, 0x10
push ebx
push ebx
lea ecx, [ebp - 0x1050]
call fcn.0040cab0
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xbf4], ebx
mov dword [ebp - 0xc08], 0xc
mov byte [ebp - 0xbf9], 0
mov dword [edi + 0xf8], 0xffffffff
call fcn.004064f0
test eax, eax
jne 0x40a59e
mov ebx, 1
mov dword [ebp - 0xbf8], ebx
cmp dword [0x5deaa8], ebx
jle 0x40a1cd
mov eax, dword [0x5deab0]
mov ecx, dword [ebp - 0xbf8]
mov ebx, dword [eax + ecx*4]
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x40a07f
cmp eax, 0x2d
jne 0x40a1af
push 2
lea eax, [ebx + 2]
push 0x56ae84
push eax
call fcn.0053dcfd
add esp, 0xc
test eax, eax
jne 0x40a0f8
cmp word [ebx + 6], ax
lea esi, [ebx + 6]
je 0x40a0f8
lea ecx, [ebp - 0xc28]
call fcn.004479b0
push 0x2c
push esi
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 1
mov dword [ebp - 0xc00], 0
call fcn.00447da0
lea ecx, [ebp - 0xc28]
call fcn.00445fe0
cmp eax, 4
je 0x40a25a
push str.CDelDrvApp::InitInstance_Suicide_parameter_invalid__n
push 2
call fcn.00403ab0
add esp, 8
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 0
call fcn.004479c0
push 2
lea eax, [ebx + 2]
push 0x56ae10
push eax
call fcn.0053dcfd
add esp, 0xc
test eax, eax
jne 0x40a13d
cmp word [ebx + 6], ax
lea esi, [ebx + 6]
je 0x40a13d
test esi, esi
je 0x40a130
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40a121
sub eax, ecx
sar eax, 1
push eax
push esi
lea ecx, [edi + 0xbc]
call fcn.00404df0
push 3
push 0x56ae08
lea esi, [ebx + 2]
push esi
call fcn.0053dcfd
add esp, 0xc
test eax, eax
jne 0x40a177
push 0x10
lea edx, [ebp - 0xbf4]
push edx
add ebx, 8
push ebx
mov dword [ebp - 0xbf4], eax
call fcn.0053f49b
movzx eax, ax
mov dword [ebp - 0xbf4], eax
jmp 0x40a1ac
push 1
push 0x56ae04
push esi
call fcn.0053dcfd
add esp, 0xc
test eax, eax
jne 0x40a1af
push 0xa
lea ecx, [ebp - 0xbf4]
push ecx
add ebx, 4
push ebx
mov dword [ebp - 0xbf4], eax
call fcn.0053f49b
movzx edx, ax
mov dword [ebp - 0xbf4], edx
add esp, 0xc
mov eax, dword [ebp - 0xbf8]
inc eax
mov dword [ebp - 0xbf8], eax
cmp eax, dword [0x5deaa8]
jl 0x40a060
mov ebx, 1
mov eax, dword [ebp - 0xbf4]
push 0
push eax
mov ecx, edi
call fcn.004088f0
test eax, eax
jne 0x40a3a9
mov ecx, dword [edi + 0x120]
cmp dword [ecx - 0xc], eax
je 0x40a59e
mov eax, dword [edi + 0x11c]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x40a216
push 0
lea ecx, [edi + 0x11c]
call fcn.004045b0
mov eax, dword [edi + 0x120]
mov esi, dword [edi + 0x11c]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x40a23e
push 0
lea ecx, [edi + 0x120]
call fcn.004045b0
mov edx, dword [edi + 0x124]
mov ebx, dword [edi + 0x120]
push edx
push esi
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40a59e
push 0xa
lea eax, [ebp - 0xc00]
push eax
push 0
lea ecx, [ebp - 0xc28]
call fcn.00446210
push eax
call fcn.0053f49b
add esp, 0xc
push 1
lea ecx, [ebp - 0xc28]
mov dword [edi + 0x104], eax
call fcn.00446210
lea ebx, [edi + 0x108]
test eax, eax
jne 0x40a29a
xor ecx, ecx
jmp 0x40a2af
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40a2a0
sub ecx, esi
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00404df0
push 2
lea ecx, [ebp - 0xc28]
call fcn.00446210
lea esi, [edi + 0xbc]
test eax, eax
jne 0x40a2d3
xor ecx, ecx
jmp 0x40a2f5
mov ecx, eax
lea edi, [ecx + 2]
jmp 0x40a2e0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40a2e0
sub ecx, edi
mov edi, dword [ebp - 0xc10]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404df0
push 0xa
lea ecx, [ebp - 0xc00]
push ecx
push 3
lea ecx, [ebp - 0xc28]
call fcn.00446210
push eax
call fcn.0053f49b
mov edx, dword [edi + 0x104]
push edx
push str.CDelDrvApp::InitInstance_Suicide_m_SuicidePid__0x_1_lx__n
push 4
mov dword [edi + 0xfc], eax
call fcn.00403ab0
mov eax, dword [ebx]
push eax
push str.CDelDrvApp::InitInstance_Suicide_m_SuicideFile___1_n
push 4
call fcn.00403ab0
mov ecx, dword [esi]
push ecx
push str.CDelDrvApp::InitInstance_Suicide_m_strUninstallerGUID___1_n
push 4
call fcn.00403ab0
mov edx, dword [edi + 0xfc]
push edx
push str.CDelDrvApp::InitInstance_Suicide_m_bRestart__0x_1_d__n
push 4
call fcn.00403ab0
add esp, 0x3c
mov ecx, edi
call fcn.00408180
cmp dword [edi + 0xfc], 0
je 0x40a38b
push str.CDelDrvApp::InitInstance_Suicide_Restart_Windows..._n
push 5
call fcn.00403ab0
add esp, 8
call fcn.004146b0
lea ecx, [ebp - 0xc28]
mov dword [edi + 0xf8], 0
mov byte [ebp - 4], 0
call fcn.004479c0
jmp 0x40ac97
mov ecx, edi
mov byte [ebp - 0xbf9], 1
call fcn.004057a0
test eax, eax
jne 0x40a3c6
mov byte [ebp - 0xbf9], al
jmp 0x40a59e
call fcn.0044bf0f
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_GetClassInfoW]
lea ecx, [ebp - 0xc38]
push ecx
push str.__MFP_DelDrv__
push eax
call esi
test eax, eax
jne 0x40a415
call fcn.0044bf0f
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0xc38]
push edx
push str.32770
push eax
call esi
lea eax, [ebp - 0xc38]
push eax
mov dword [ebp - 0xc14], str.__MFP_DelDrv__
call dword [sym.imp.USER32.dll_RegisterClassW]
push str.deldrv.debug.ini
push 0
push str.MessageBoxDebug
push str.Setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40a466
mov eax, dword [edi + 0xb8]
mov ecx, ebx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x40a44f
push 0
lea ecx, [edi + 0xb8]
call fcn.004045b0
mov esi, dword [edi + 0xb8]
mov ecx, dword [section..data]
push esi
call fcn.00405570
jmp 0x40a59e
push 0x208
lea ecx, [ebp - 0x4f4]
push 0
push ecx
call fcn.0053e550
add esp, 0xc
push str.deldrv.debug.ini
push 0x104
lea edx, [ebp - 0x4f4]
push edx
push 0x56ab6c
push str.ShowMsgDlg
push str.Debug_Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x56ab34
lea eax, [ebp - 0x4f4]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a4d6
test dx, dx
je 0x40a4d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a4d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a4b0
xor eax, eax
jmp 0x40a4db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a50e
push eax
lea ecx, [ebp - 0x2ec]
call fcn.0043b500
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 2
call fcn.0044cc64
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 0
call fcn.0043b3a0
jmp 0x40a59e
mov esi, ebx
cmp dword [0x5deaa8], ebx
jle 0x40a573
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, edi
mov eax, dword [0x5deab0]
mov eax, dword [eax + esi*4]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x40a56a
cmp ecx, 0x2d
jne 0x40a56a
cmp word [eax + 2], cx
jne 0x40a56a
push 9
add eax, 4
push str.Advanced
push eax
call fcn.0053f81b
add esp, 0xc
test eax, eax
jne 0x40a56a
push eax
push str.Information
push str.Advanced_Mode_ON
push eax
call ebx
mov dword [ebp - 0xf9c], 1
inc esi
cmp esi, dword [0x5deaa8]
jl 0x40a520
lea ecx, [ebp - 0x1050]
call fcn.0040b6c0
mov dword [ebp - 0xc08], eax
mov eax, dword [ebp - 0xf98]
push eax
push str.m_nExitCode___d_n
mov dword [edi + 0xf8], eax
call fcn.00415550
add esp, 8
mov eax, dword [ebp - 0xc08]
xor ebx, ebx
dec eax
je 0x40a5bc
dec eax
je 0x40a5b5
sub eax, 0xa
jne 0x40a912
xor ebx, ebx
jmp 0x40a912
lea ecx, [ebp - 0xc0c]
call fcn.0043f020
mov byte [ebp - 4], 3
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a5e5
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbf4], eax
push 0x33
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0xbf4]
mov byte [ebp - 4], 4
call fcn.00404df0
push 1
push 0x56825c
lea ecx, [ebp - 0xbf4]
call fcn.00405330
mov eax, dword [edi + 0xbc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0xbf4]
call fcn.00405330
mov ecx, dword [edi + 0xbc]
cmp dword [ecx - 0xc], 0
mov esi, dword [ebp - 0xbf4]
je 0x40a685
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x40a669
push 0
lea ecx, [ebp - 0xbf4]
call fcn.004045b0
mov esi, dword [ebp - 0xbf4]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc0c]
call fcn.0043f030
test eax, eax
je 0x40a685
mov ebx, 1
jmp 0x40a687
xor ebx, ebx
cmp dword [ebp - 0xf90], 0
je 0x40a697
mov ebx, 1
jmp 0x40a6b4
cmp dword [edi + 0xf8], 0xfffffffe
je 0x40a6a7
mov ebx, 7
jmp 0x40a6b4
neg ebx
sbb ebx, ebx
and ebx, 0xf3
add ebx, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a6d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xc0c]
mov byte [ebp - 4], 0
call fcn.0043f640
cmp ebx, 0xff
jne 0x40a912
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a709
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbf4], eax
mov byte [ebp - 4], 5
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a739
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbf8], eax
mov ebx, 0x1389
push ebx
mov byte [ebp - 4], 6
call fcn.0044bffa
test eax, eax
je 0x40a76b
push ebx
push eax
lea ecx, [ebp - 0xbf8]
call fcn.00404cb0
mov eax, dword [edi + 0xb8]
push eax
push 0x568990
lea ecx, [ebp - 0xbf8]
call fcn.00404f20
mov edx, dword [section..data]
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x19], 0
jne 0x40a7a8
cmp dword [eax + 0xc], ebx
jae 0x40a79e
mov eax, dword [eax + 8]
jmp 0x40a7a2
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x40a794
mov eax, dword [edx + 8]
mov dword [ebp - 0xc08], ecx
cmp ecx, eax
je 0x40a7c2
cmp dword [ecx + 0xc], ebx
ja 0x40a7c2
lea eax, [ebp - 0xc08]
jmp 0x40a7ce
mov dword [ebp - 0xc00], eax
lea eax, [ebp - 0xc00]
mov eax, dword [eax]
cmp eax, dword [edx + 8]
je 0x40a7da
mov esi, dword [eax + 0x10]
jmp 0x40a7dc
xor esi, esi
push esi
call fcn.0044bffa
test eax, eax
je 0x40a7f3
push esi
push eax
lea ecx, [ebp - 0xbf4]
call fcn.00404cb0
mov eax, dword [edi + 0xb8]
push eax
push 0x568990
lea ecx, [ebp - 0xbf4]
call fcn.00404f20
mov edx, dword [section..data]
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x19], 0
jne 0x40a834
lea esp, [esp]
cmp dword [eax + 0xc], ebx
jae 0x40a82a
mov eax, dword [eax + 8]
jmp 0x40a82e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x40a820
mov eax, dword [edx + 8]
mov dword [ebp - 0xc08], ecx
cmp ecx, eax
je 0x40a84e
cmp dword [ecx + 0xc], ebx
ja 0x40a84e
lea eax, [ebp - 0xc08]
jmp 0x40a85a
mov dword [ebp - 0xc00], eax
lea eax, [ebp - 0xc00]
mov eax, dword [eax]
cmp eax, dword [edx + 8]
je 0x40a866
mov ebx, dword [eax + 0x14]
jmp 0x40a868
xor ebx, ebx
mov edi, dword [ebp - 0xbf4]
mov eax, 1
sub eax, dword [edi - 4]
or eax, dword [edi - 8]
jge 0x40a88e
push 0
lea ecx, [ebp - 0xbf4]
call fcn.004045b0
mov edi, dword [ebp - 0xbf4]
mov esi, dword [ebp - 0xbf8]
mov eax, 1
sub eax, dword [esi - 4]
or eax, dword [esi - 8]
jge 0x40a8b4
push 0
lea ecx, [ebp - 0xbf8]
call fcn.004045b0
mov esi, dword [ebp - 0xbf8]
push ebx
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x40a8cd
cmp eax, 6
je 0x40a8cd
xor ebx, ebx
jmp 0x40a8d2
mov ebx, 7
lea eax, [esi - 0x10]
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a8f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a912
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push str.CDelDrvApp::InitInstance_action__0x_1_lx__n
push 5
call fcn.00403ab0
mov ecx, ebx
and ecx, 1
push ecx
push str.CDelDrvApp::InitInstance___Complete______1_d__n
push 5
call fcn.00403ab0
mov edx, ebx
and edx, 2
push edx
push str.CDelDrvApp::InitInstance___DelAll________1_d__n
push 5
call fcn.00403ab0
mov esi, ebx
and esi, 4
push esi
push str.CDelDrvApp::InitInstance___DelAllInf_____1_d__n
push 5
call fcn.00403ab0
mov edi, ebx
and edi, 8
push edi
push str.CDelDrvApp::InitInstance___NoDevMsg______1_d__n
push 5
call fcn.00403ab0
mov al, bl
shr ebx, 1
not bl
and al, 1
mov byte [ebp - 0xc01], al
mov eax, dword [ebp - 0xc10]
add esp, 0x3c
and ebx, 1
mov dword [eax + 0x118], ebx
test esi, esi
je 0x40a9a0
lea ecx, [ebp - 0x1050]
mov dword [ebp - 0xfa0], 1
call fcn.0040b6c0
test edi, edi
je 0x40abbf
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a9c2
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbf8], eax
mov byte [ebp - 4], 7
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a9f2
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbf4], eax
mov ebx, 0xfa6
push ebx
mov byte [ebp - 4], 8
call fcn.0044bffa
test eax, eax
je 0x40aa24
push ebx
push eax
lea ecx, [ebp - 0xbf4]
call fcn.00404cb0
mov edi, dword [ebp - 0xc10]
mov eax, dword [edi + 0xb8]
push eax
push 0x568990
lea ecx, [ebp - 0xbf4]
call fcn.00404f20
mov edx, dword [section..data]
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x19], 0
jne 0x40aa67
cmp dword [eax + 0xc], ebx
jae 0x40aa5d
mov eax, dword [eax + 8]
jmp 0x40aa61
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x40aa53
mov eax, dword [edx + 8]
mov dword [ebp - 0xc08], ecx
cmp ecx, eax
je 0x40aa81
cmp dword [ecx + 0xc], ebx
ja 0x40aa81
lea eax, [ebp - 0xc08]
jmp 0x40aa8d
mov dword [ebp - 0xc00], eax
lea eax, [ebp - 0xc00]
mov eax, dword [eax]
cmp eax, dword [edx + 8]
je 0x40aa99
mov esi, dword [eax + 0x10]
jmp 0x40aa9b
xor esi, esi
push esi
call fcn.0044bffa
test eax, eax
je 0x40aab2
push esi
push eax
lea ecx, [ebp - 0xbf8]
call fcn.00404cb0
mov eax, dword [edi + 0xb8]
push eax
push 0x568990
lea ecx, [ebp - 0xbf8]
call fcn.00404f20
mov edx, dword [section..data]
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x19], 0
jne 0x40aaf4
jmp 0x40aae0
cmp dword [eax + 0xc], ebx
jae 0x40aaea
mov eax, dword [eax + 8]
jmp 0x40aaee
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x19], 0
je 0x40aae0
mov eax, dword [edx + 8]
mov dword [ebp - 0xc08], ecx
cmp ecx, eax
je 0x40ab0e
cmp dword [ecx + 0xc], ebx
ja 0x40ab0e
lea eax, [ebp - 0xc08]
jmp 0x40ab1a
mov dword [ebp - 0xc00], eax
lea eax, [ebp - 0xc00]
mov eax, dword [eax]
cmp eax, dword [edx + 8]
je 0x40ab26
mov ebx, dword [eax + 0x14]
jmp 0x40ab28
xor ebx, ebx
mov edi, dword [ebp - 0xbf8]
mov eax, 1
sub eax, dword [edi - 4]
or eax, dword [edi - 8]
jge 0x40ab4e
push 0
lea ecx, [ebp - 0xbf8]
call fcn.004045b0
mov edi, dword [ebp - 0xbf8]
mov esi, dword [ebp - 0xbf4]
mov eax, 1
sub eax, dword [esi - 4]
or eax, dword [esi - 8]
jge 0x40ab74
push 0
lea ecx, [ebp - 0xbf4]
call fcn.004045b0
mov esi, dword [ebp - 0xbf4]
push ebx
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ab9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xbf9], 0
je 0x40ac97
push 0
lea ecx, [ebp - 0xbf0]
call fcn.0043de40
cmp byte [ebp - 0xc01], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbf0]
je 0x40ac4f
cmp dword [ebp - 0xf94], 0
je 0x40ac43
push 1
call fcn.0043cf10
push 0
push 0
push 0x4332
push 0x4331
push 0x4268
lea ecx, [ebp - 0xbf0]
call fcn.0043e1a0
mov ecx, dword [ebp - 0xc10]
xor eax, eax
cmp dword [ebp - 0x53c], eax
sete al
push eax
push str.CDelDrvApp::InitInstance_m_bRestart___1_d__n
push 4
mov dword [ecx + 0xfc], eax
call fcn.00403ab0
add esp, 0xc
jmp 0x40ac74
push 0
push 0
push 0
push 0
push 0
jmp 0x40ac6f
push 1
call fcn.0043cf30
push 0
push 0
push 0x42ce
push 0x42cd
push 0x42cc
lea ecx, [ebp - 0xbf0]
call fcn.0043e1a0
call fcn.0044bf0f
mov eax, dword [eax + 0xc]
push eax
push str.__MFP_DelDrv__
call dword [sym.imp.USER32.dll_UnregisterClassW]
lea ecx, [ebp - 0xbf0]
mov byte [ebp - 4], 0
call fcn.00404ac0
lea ecx, [ebp - 0x1050]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b5c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret