Function at 0x40cbe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44342b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4563d4]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push edi
mov eax, dword [0x4563d4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
xor ebx, ebx
mov eax, SysReAllocString
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], 0xa0
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], vtable.CDriverDowngradeDlg.0
lea eax, [esp + 0x10]
mov dword [esp + 0xb0], ebx
call fcn.00404e30
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x40cc89
push eax
call fcn.0042d224
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x1f77
mov edx, 0x458d28
mov dword [esp + 0xb4], 1
call fcn.00418900
mov edx, dword [esp + 0x68]
mov edi, 8
cmp dword [esp + 0x7c], edi
jae 0x40ccce
lea edx, [esp + 0x68]
push ebx
push ebx
push 0x2067
push ebx
mov ecx, 2
call fcn.00405240
add esp, 0x10
cmp dword [esp + 0x7c], edi
jb 0x40ccf6
mov edx, dword [esp + 0x68]
push edx
call fcn.0042d224
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x2062
mov edx, 0x458d28
mov dword [esp + 0xb4], 2
call fcn.00418900
mov edx, dword [esp + 0x68]
cmp dword [esp + 0x7c], edi
jae 0x40cd36
lea edx, [esp + 0x68]
push ebx
push ebx
push 0x2067
push ebx
mov ecx, 2
call fcn.00405240
add esp, 0x10
cmp dword [esp + 0x7c], edi
jb 0x40cd5e
mov edx, dword [esp + 0x68]
push edx
call fcn.0042d224
add esp, 4
mov eax, 7
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov dword [esp + 0xb0], 3
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], ax
mov byte [esp + 0xb0], 4
mov eax, dword [0x458d08]
call fcn.004096c0
test al, al
jne 0x40cea5
xor eax, eax
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x14], eax
mov ecx, 0x2067
mov edx, 0x458d28
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], 0x28
call fcn.00418900
cmp dword [esp + 0x60], edi
jb 0x40ce14
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
jmp 0x40ce1c
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x84]
push ecx
push str.8193_8320
mov ecx, 0x458d28
mov dword [esp + 0x30], 0x7f02
call fcn.00418dd0
cmp dword [esp + 0x98], edi
jb 0x40ce51
mov edx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
jmp 0x40ce5c
lea eax, [esp + 0x84]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 4
cmp dword [esp + 0x28], ebx
je 0x40ce72
mov dword [esp + 0x24], 0x84
mov cx, word [0x458d2a]
mov edx, 0x3ff
and cx, dx
movzx eax, cx
cmp eax, 1
je 0x40ce8e
cmp eax, 0xd
jne 0x40ce96
or dword [esp + 0x24], 0x180000
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_MessageBoxIndirectW]
cmp dword [esp + 0x98], edi
jb 0x40cebe
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0042d224
add esp, 4
xor edx, edx
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], dx
cmp dword [esp + 0x60], edi
jb 0x40cef8
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042d224
add esp, 4
push ebx
push ebx
push 0x2067
push ebx
mov edx, str.8180_8325
mov ecx, 2
call fcn.00405240
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
lea edx, [esp + 0x4c]
push edx
mov ecx, 0x2094
mov edx, 0x458d28
mov dword [esp + 0xb4], 5
call fcn.00418900
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x60], edi
jae 0x40cf52
lea edx, [esp + 0x4c]
push ebx
push ebx
push 0x2067
push ebx
mov ecx, 2
call fcn.00405240
add esp, 0x10
cmp dword [esp + 0x60], edi
jb 0x40cf7a
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042d224
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
lea edx, [esp + 0x4c]
push edx
mov ecx, 0x208f
mov edx, 0x458d28
mov dword [esp + 0xb4], 6
call fcn.00418900
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x60], edi
jae 0x40cfba
lea edx, [esp + 0x4c]
push ebx
push ebx
push 0x2067
push ebx
xor ecx, ecx
call fcn.00405240
add esp, 0x10
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x60], edi
jb 0x40cfea
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042d224
add esp, 4
push 0x448a3c
mov ebx, str.IIF_ACCEPTED
lea ecx, [esi + 4]
call fcn.00413c30
xor eax, eax
mov ecx, 9
cmp dword [eax*8 + 0x457860], ecx
je 0x40d014
inc eax
cmp eax, 0xe
jb 0x40d003
jmp 0x40d029
mov ecx, dword [eax*8 + 0x457864]
push ecx
mov ebx, str.IIF_SETUPMODE
lea ecx, [esi + 4]
call fcn.00413c30
mov ecx, esi
call fcn.0040d190
xor eax, eax
cmp dword [eax*8 + 0x457860], 0xa
je 0x40d044
inc eax
cmp eax, 0xe
jb 0x40d032
jmp 0x40d059
mov edx, dword [eax*8 + 0x457864]
push edx
mov ebx, str.IIF_SETUPMODE
lea ecx, [esi + 4]
call fcn.00413c30
mov ecx, esi
call fcn.0040d190
xor eax, eax
mov ecx, 0xc
cmp dword [eax*8 + 0x457860], ecx
je 0x40d078
inc eax
cmp eax, 0xe
jb 0x40d067
jmp 0x40d08d
mov eax, dword [eax*8 + 0x457864]
push eax
mov ebx, str.IIF_SETUPMODE
lea ecx, [esi + 4]
call fcn.00413c30
mov ecx, esi
call fcn.0040d190
xor eax, eax
mov ecx, 0xb
jmp 0x40d0a0
cmp dword [eax*8 + 0x457860], ecx
je 0x40d0b1
inc eax
cmp eax, 0xe
jb 0x40d0a0
jmp 0x40d0c6
mov ecx, dword [eax*8 + 0x457864]
push ecx
mov ebx, str.IIF_SETUPMODE
lea ecx, [esi + 4]
call fcn.00413c30
mov ecx, esi
call fcn.0040d190
push 0xa
push 8
lea edx, [esp + 0x8c]
push edx
push 0xbc2
call fcn.0042e517
add esp, 0x10
lea eax, [esp + 0x84]
push eax
mov ebx, str.IIF_EXITCODE
lea ecx, [esi + 4]
call fcn.00413c30
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
xor eax, eax
cmp dword [eax*8 + 0x457860], 0xd
je 0x40d118
inc eax
cmp eax, 0xe
jb 0x40d106
jmp 0x40d12d
mov ecx, dword [eax*8 + 0x457864]
push ecx
mov ebx, str.IIF_SETUPMODE
lea ecx, [esi + 4]
call fcn.00413c30
mov ecx, esi
call fcn.0040d190
push 0xa
push 8
lea edx, [esp + 0x70]
push edx
push 5
call fcn.0042e517
add esp, 0x10
lea eax, [esp + 0x68]
push eax
mov ebx, str.IIF_EXITCODE
lea ecx, [esi + 4]
call fcn.00413c30
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0040d190
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0042d215
mov esp, ebp
pop ebp
ret