Function at 0x430b40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cb52
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x608554]
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
mov dword [ebp - 0xa4], ecx
push ecx
push str.CheckPrinterDriverInstall::CheckInUseOfDriver
lea ecx, [ebp - 0x80]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x430bc9
test byte [ecx + 0x1c], 1
je 0x430bc9
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5caa20
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x12
call fcn.00401840
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x88], esi
call fcn.0055b16f
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.0047bff0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00481aa0
mov ecx, dword [0x6184f0]
push 0x5c79bc
push str.RETCODE
mov ecx, dword [ecx + 0x1c]
call fcn.004f6860
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0xd4]
call fcn.0055b63e
mov eax, dword [0x6184f0]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x94], ebx
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x430c79
test byte [ecx + 0x1c], 4
je 0x430c79
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5caa20
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
lea ecx, [esi + 0x13]
call fcn.004018a0
mov ecx, dword [0x608f30]
add esp, 0x10
xor edi, edi
test ebx, ebx
jle 0x430ec5
xor ebx, ebx
mov dword [ebp - 0x84], ebx
nop dword [eax + eax]
test esi, esi
jne 0x430ec5
mov eax, dword [0x6184f0]
mov eax, dword [eax + 4]
mov edx, dword [eax + 4]
cmp edi, dword [edx + 4]
jge 0x430cc2
lea esi, [edx + 0x5c7264]
mov dword [eax + 0x14], 1
mov dword [eax + 8], edi
add esi, ebx
mov ecx, dword [0x608f30]
jmp 0x430cc4
xor esi, esi
cmp ecx, 0x608f30
je 0x430d06
test byte [ecx + 0x1c], 4
je 0x430d06
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5caa20
push edi
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x14
call fcn.00430650
mov ecx, dword [0x608f30]
add esp, 0x14
test esi, esi
je 0x430f30
cmp dword [esi + 4], 0
je 0x430ea6
lea ecx, [ebp - 0xb8]
call fcn.0055b16f
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 3
push eax
lea eax, [esi + 8]
mov ecx, 0x618568
push eax
call fcn.00449d80
mov dword [ebp - 0x88], eax
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x430d88
test byte [edx + 0x1c], 4
je 0x430d88
cmp dword [0x608f68], 8
mov ecx, 0x608f54
push dword [ebp - 0xb0]
cmovae ecx, dword [0x608f54]
push ecx
push dword [edx + 0x14]
mov ecx, 0x15
push dword [edx + 0x10]
mov edx, 0x5caa20
call fcn.004018a0
add esp, 0x10
cmp dword [ebp - 0xb0], 0
jle 0x430e91
mov eax, dword [0x6184f4]
push ecx
push str.CBaseOSSpec::CheckICCColorProfile
lea ecx, [ebp - 0x48]
mov ebx, dword [eax + 4]
call fcn.0040a480
mov byte [ebp - 4], 4
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x430df5
test byte [ecx + 0x1c], 1
je 0x430df5
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5dd2b8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x90
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
mov edx, dword [ebx + 8]
xor esi, esi
test edx, edx
je 0x430e17
mov eax, dword [edx]
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, edx
call dword [eax + 0x84]
mov ecx, dword [0x608f30]
mov esi, eax
mov byte [ebp - 0x44], 1
cmp ecx, 0x608f30
je 0x430e56
test byte [ecx + 0x1c], 1
je 0x430e56
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5dd2b8
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x91
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0040a570
test esi, esi
je 0x430e8b
push 0x2d
push dword [0x6184fc]
call fcn.00502d80
mov eax, 0x80010018
mov dword [0x6183ec], 0x18
add esp, 8
mov dword [ebp - 0x88], eax
mov ebx, dword [ebp - 0x84]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.0055b186
mov ecx, dword [0x608f30]
mov esi, dword [ebp - 0x88]
inc edi
add ebx, 0x413c
mov dword [ebp - 0x84], ebx
cmp edi, dword [ebp - 0x94]
jl 0x430c90
push 0
lea ecx, [ebp - 0x20c]
call fcn.004cb260
xor ebx, ebx
mov byte [ebp - 4], 5
mov edx, dword [0x608f30]
xor edi, edi
mov dword [ebp - 0x8c], ebx
cmp dword [ebp - 0x94], ebx
jle 0x4312ea
mov dword [ebp - 0x90], ebx
test esi, esi
jne 0x431285
mov eax, dword [0x6184f0]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 4]
cmp ebx, dword [ecx + 4]
jge 0x430f60
mov dword [eax + 8], ebx
mov ebx, dword [ebp - 0x90]
add ebx, 0x5c7264
mov dword [eax + 0x14], 1
mov edx, dword [0x608f30]
add ebx, ecx
jmp 0x430f62
push 0x2d
push dword [0x6184fc]
call fcn.00502d80
mov ecx, dword [0x608f30]
mov esi, 0x80010018
add esp, 8
mov dword [ebp - 0x88], esi
mov dword [0x6183ec], 0x18
jmp 0x430eac
xor ebx, ebx
mov eax, dword [ebx]
cmp eax, 6
je 0x431262
cmp edx, 0x608f30
je 0x430fbb
test byte [edx + 0x1c], 4
je 0x430fbb
cmp dword [0x608f68], 8
mov ecx, 0x608f54
push eax
cmovae ecx, dword [0x608f54]
lea eax, [ebx + 0x418]
push eax
push dword [ebp - 0x8c]
push ecx
push dword [edx + 0x14]
mov ecx, 0x16
push dword [edx + 0x10]
mov edx, 0x5caa20
call fcn.004305a0
mov edx, dword [0x608f30]
add esp, 0x18
mov eax, dword [ebx + 4]
cmp eax, 2
je 0x430fcc
cmp eax, 3
jne 0x431262
mov ecx, dword [0x6184f4]
lea eax, [ebx + 0x828]
push eax
mov ecx, dword [ecx + 4]
call fcn.0050ac80
test eax, eax
je 0x4311b8
cmp dword [0x618500], 1
je 0x4311b8
mov dword [ebp - 0x98], 0
test edi, edi
jne 0x43110e
call fcn.00550b4e
test eax, eax
je 0x4313b4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
mov eax, 0x5c6930
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x84]
test eax, 0xffff0000
jne 0x431046
movzx eax, ax
push eax
call fcn.00403020
jmp 0x431052
push 0
push 0x5c6930
call fcn.00403bb0
push 0x3b
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 7
call fcn.00403020
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0xe4]
add edi, 0xfffffff0
lea esi, [eax - 0x10]
cmp esi, edi
je 0x4310c9
cmp dword [edi + 0xc], 0
jl 0x4310ba
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x4310ba
mov ecx, esi
call fcn.00403af0
mov dword [ebp - 0xa0], eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4310af
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xa0]
add eax, 0x10
mov dword [ebp - 0xe4], eax
jmp 0x4310c9
push dword [eax - 0xc]
lea ecx, [ebp - 0xe4]
push eax
call fcn.00403bb0
push 0
lea ecx, [ebp - 0x20c]
call fcn.004cb490
push 0
lea ecx, [ebp - 0x164]
call fcn.00558c8a
push 5
lea ecx, [ebp - 0x20c]
call fcn.00558c8a
mov edi, 1
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43110e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 4
push 0
push 0
push ebx
push 0x430a20
call fcn.0055c3f2
mov esi, eax
test esi, esi
je 0x4311aa
push dword [esi + 0x2c]
mov dword [esi + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [esi + 0x2c]
call ebx
cmp eax, 0x102
jne 0x431191
nop
push 1
push 0
push 0
push 0
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x431183
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push dword [esi + 0x2c]
call ebx
cmp eax, 0x102
je 0x431150
lea eax, [ebp - 0x98]
push eax
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
mov eax, dword [ebp - 0x98]
mov esi, dword [ebp - 0x88]
jmp 0x4311ce
mov ecx, dword [ebp - 0xa4]
lea eax, [ebx + 0x418]
push 0
push 1
push eax
call fcn.00433ff0
test eax, eax
je 0x43125c
test edi, edi
je 0x431237
mov eax, dword [ebp - 0x20c]
mov edx, dword [eax + 0x18c]
cmp eax, vtable.CBaseDlgWait.0
jne 0x4313a7
cmp dword [ebp - 0xdc], 0
je 0x431220
mov ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x431220
push 1
call fcn.005587e1
mov eax, dword [ebp - 0x178]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.0055422f
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0x20c]
call fcn.00553dff
xor edi, edi
push 0x2d
push dword [0x6184fc]
call fcn.00502d80
mov esi, 0x80010018
mov dword [0x6183ec], 0x18
add esp, 8
mov dword [ebp - 0x88], esi
mov edx, dword [0x608f30]
mov ebx, dword [ebp - 0x8c]
add dword [ebp - 0x90], 0x413c
inc ebx
mov dword [ebp - 0x8c], ebx
cmp ebx, dword [ebp - 0x94]
jl 0x430ef8
test edi, edi
je 0x4312ea
mov eax, dword [ebp - 0x20c]
mov edx, dword [eax + 0x18c]
cmp eax, vtable.CBaseDlgWait.0
jne 0x4313be
cmp dword [ebp - 0xdc], 0
je 0x4312cf
mov ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x4312cf
push 1
call fcn.005587e1
mov eax, dword [ebp - 0x178]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.0055422f
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0x20c]
call fcn.00553dff
mov edx, dword [0x608f30]
mov byte [ebp - 0x7c], 1
cmp edx, 0x608f30
je 0x431329
test byte [edx + 0x1c], 1
je 0x431329
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov ecx, 0x17
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5caa20
call fcn.004018a0
add esp, 0x10
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0xe4]
mov dword [ebp - method.CBaseDlgWait.virtual_0], vtable.CBaseDlgWait.0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431355
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x164]
call fcn.00559a0b
lea ecx, [ebp - 0x20c]
call fcn.00558cff
lea ecx, [ebp - 0x9c]
call fcn.0047c0c0
lea ecx, [ebp - 0xd4]
call fcn.0055b186
lea ecx, [ebp - 0x80]
call fcn.0040a570
mov eax, esi
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.0056d977
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20c]
call edx
jmp 0x43122a
push 0x80004005
call fcn.004013a0
lea ecx, [ebp - 0x20c]
call edx
jmp 0x4312d9