Function at 0x41e620
Capabilities:
Check os version
Delete registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x589ca5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1bec
call fcn.0055d880
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0x1be8], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x1c00]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov esi, ecx
mov edi, edx
push str.Tool_DeletePrinterStd
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], edi
call fcn.0044ca70
add esp, 0xc
push ebx
push edi
push esi
push str.hWnd___08x__lpszPrinter___s__bJob___d
mov edi, 1
lea eax, [esp + 0x24]
push edi
push eax
mov dword [esp + 0x1c20], ebx
call fcn.0044cd10
push 0x85e
lea edx, [esp + 0x13b2]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x58], ebx
mov word [esp + 0x13b8], cx
call fcn.0055ca80
add esp, 0x24
push 0x40e
lea ecx, [esp + 0x152]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x88], edi
mov word [esp + 0x158], ax
call fcn.0055ca80
add esp, 0xc
xor edx, edx
push ebx
mov eax, 0x5b69a4
lea esi, [esp + 0x98]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], dx
call fcn.00401d90
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x1c08], 2
call fcn.0046d2d8
mov esi, dword [eax + 4]
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0xb4]
push ebx
push ebx
push 0x1004
push eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x90], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
jle 0x41eb0d
mov esi, dword [esp + 0x2c]
push ebx
push edi
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.0041b830
add esp, 8
cmp eax, edi
jne 0x41e80f
push 3
push str.return___08x
lea ecx, [esp + 0x1c]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
cmp dword [esp + 0xa8], 8
jb 0x41e7d5
mov edx, dword [esp + 0x94]
push edx
call fcn.00461cb5
add esp, 4
xor eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
mov dword [esp + 0x1c08], 0xffffffff
call fcn.0044cc70
mov eax, 3
jmp 0x41f981
xor edi, edi
xor eax, eax
cmp esi, edi
je 0x41e81e
mov ecx, esi
call fcn.0045dcf0
mov esi, dword [sym.imp.WINSPOOL.DRV_EnumPrintersW]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
push edi
push 2
push edi
push 6
mov dword [esp + 0x9c], eax
call esi
test eax, eax
jne 0x41e8b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x41e8b7
push 1
push str.return___08x
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
cmp dword [esp + 0xa8], 8
jb 0x41e87d
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00461cb5
add esp, 4
mov dword [esp + 0xa4], edi
xor edx, edx
mov word [esp + 0x94], dx
mov dword [esp + 0xa8], 7
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c08], 0xffffffff
call fcn.0044cc70
mov eax, 1
jmp 0x41f981
mov eax, dword [esp + 0x34]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [esp + 0x20], ebx
cmp ebx, edi
jne 0x41e914
push 1
push str.return___08x
lea ecx, [esp + 0x1c]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
cmp dword [esp + 0xa8], 8
jb 0x41e8fe
mov edx, dword [esp + 0x94]
push edx
call fcn.00461cb5
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], edi
mov word [esp + 0x94], ax
jmp 0x41e88e
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
push ebx
push 2
push edi
push 6
call esi
test eax, eax
je 0x41e9a7
xor esi, esi
cmp dword [esp + 0x38], edi
jbe 0x41e9a7
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
add ebx, 4
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
push ecx
push edx
call edi
test eax, eax
je 0x41e95a
inc esi
add ebx, 0x54
cmp esi, dword [esp + 0x38]
jb 0x41e940
jmp 0x41e9a3
imul esi, esi, 0x54
add esi, dword [esp + 0x20]
mov ecx, dword [esi + 4]
cmp word [ecx], 0x5c
jne 0x41e97f
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41e97f
mov dword [esp + 0x28], 1
mov eax, dword [esi + 0x10]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41e987
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x98]
call fcn.00401d90
mov ebx, dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x28], 0
jne 0x41eb66
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x4c]
push ecx
xor esi, esi
push edi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], 0xf000c
call dword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
mov dword [esp + 0x30], eax
cmp eax, esi
jne 0x41eaaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x14]
cmp eax, 5
jne 0x41ea6d
push 4
push str.return___08x
push 2
push edx
call fcn.0044cd10
add esp, 0x10
cmp dword [esp + 0xa8], 8
jb 0x41ea33
mov eax, dword [esp + 0x94]
push eax
call fcn.00461cb5
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], cx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c08], 0xffffffff
call fcn.0044cc70
mov eax, 4
jmp 0x41f981
push 1
push str.return___08x
push 2
push edx
call fcn.0044cd10
add esp, 0x10
cmp dword [esp + 0xa8], 8
jb 0x41ea99
mov eax, dword [esp + 0x94]
push eax
call fcn.00461cb5
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], cx
jmp 0x41e88e
lea edx, [esp + 0x14c]
mov ecx, edi
call fcn.0041be90
cmp eax, 0xffffffff
jne 0x41eb66
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
push 1
push str.return___08x
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
cmp dword [esp + 0xa8], 8
jb 0x41eb01
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00461cb5
add esp, 4
mov dword [esp + 0xa4], esi
jmp 0x41e884
cmp dword [esi + 0xe8], edi
jne 0x41f920
mov esi, dword [esi + 0x130]
cmp byte [esi + 0x64], bl
je 0x41f920
cmp dword [esi + 0xb8], ebx
je 0x41f920
mov eax, dword [esp + 0x2c]
lea edx, [eax + 2]
jmp 0x41eb40
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41eb40
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x98]
call fcn.00401d90
mov dword [esp + 0x24], edi
jmp 0x41eb6b
xor ebx, ebx
lea edi, [ebx + 1]
mov esi, dword [sym.imp.WINSPOOL.DRV_EnumPrinterDriversW]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebx
push ebx
push 3
push ebx
push ebx
call esi
test eax, eax
jne 0x41ebfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x41ebfc
push 6
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
cmp dword [esp + 0xa8], 8
jb 0x41ebc2
mov eax, dword [esp + 0x94]
push eax
call fcn.00461cb5
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c08], 0xffffffff
call fcn.0044cc70
mov eax, 6
jmp 0x41f981
mov eax, dword [esp + 0x34]
mov byte [esp + 0x40], bl
cmp eax, ebx
jbe 0x41ec1c
lea edx, [esp + 0x40]
push edx
push ebx
lea ecx, [esp + 0x68]
push ecx
call fcn.00428fa0
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x38]
push ecx
push eax
push edx
push 3
push ebx
push ebx
call esi
test eax, eax
je 0x41eca1
xor esi, esi
cmp dword [esp + 0x38], ebx
jbe 0x41eca1
mov eax, dword [esp + 0x60]
add eax, 4
mov dword [esp + 0x20], eax
lea esp, [esp]
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x41ec68
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push eax
push edx
call fcn.00556d01
add esp, 8
test eax, eax
je 0x41ec8b
add dword [esp + 0x20], 0x28
add esi, edi
cmp esi, dword [esp + 0x38]
jb 0x41ec50
jmp 0x41eca1
mov ecx, dword [esp + 0x60]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*8]
mov dword [esp + 0x3c], esi
cmp esi, ebx
jne 0x41ed78
cmp dword [esp + 0x24], ebx
je 0x41ed1e
push ebx
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0044cd10
mov eax, dword [esp + 0x70]
add esp, 0x10
cmp eax, ebx
je 0x41eccd
push eax
call fcn.00461cb5
add esp, 4
cmp dword [esp + 0xa8], 8
jb 0x41ece7
mov eax, dword [esp + 0x94]
push eax
call fcn.00461cb5
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c08], 0xffffffff
call fcn.0044cc70
xor eax, eax
jmp 0x41f981
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
push edi
push str.return___08x
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.0044cd10
mov eax, dword [esp + 0x70]
add esp, 0x10
cmp eax, ebx
je 0x41ed4f
push eax
call fcn.00461cb5
add esp, 4
cmp dword [esp + 0xa8], 8
jb 0x41ed69
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00461cb5
add esp, 4
xor edx, edx
mov word [esp + 0x94], dx
jmp 0x41f959
mov ecx, dword [esi + 0x1c]
push ebx
call fcn.004115d0
add esp, 4
cmp eax, edi
jne 0x41ef54
call fcn.0046d2d8
mov edi, dword [eax + 4]
mov dword [esp + 0x54], edi
call fcn.00461e32
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41edb2
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1c08], 3
call fcn.00461e32
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41ede4
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
push 2
mov byte [esp + 0x1c0c], 4
call fcn.00461d28
cmp eax, ebx
je 0x41ee13
push 2
push eax
lea ecx, [esp + 0x2c]
call fcn.004035f0
push 3
call fcn.00461d28
cmp eax, ebx
je 0x41ee2e
push 3
push eax
lea ecx, [esp + 0x38]
call fcn.004035f0
mov esi, dword [esp + 0x30]
mov ecx, dword [edi + 0x130]
cmp byte [ecx + 0x64], bl
je 0x41ee7a
mov edi, dword [edi + 0x138]
push esi
call fcn.0040d0d0
push 0x20
push 0xa
lea ebx, [esp + 0x2c]
call fcn.0040edb0
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov edi, dword [ebx + 0x138]
push edx
call fcn.0040d0d0
mov edi, dword [ebx + 0x138]
push 0x5b7dbc
call fcn.0040d0d0
xor ebx, ebx
jmp 0x41ee8d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push 0x30
push esi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 2
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0044cd10
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0x1c08], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c08], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eeef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x41ef00
push eax
call fcn.00461cb5
add esp, 4
cmp dword [esp + 0xa8], 8
jb 0x41ef1a
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00461cb5
add esp, 4
xor edx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], dx
mov dword [esp + 0x1c08], 0xffffffff
call fcn.0044cc70
mov eax, 2
jmp 0x41f981
push 0x80
lea eax, [esp + 0xd0]
push ebx
push eax
call fcn.0055ca80
mov ecx, dword [esi + 0xc]
add esp, 0xc
push edi
push 0x40
lea edx, [esp + 0xd4]
call fcn.00411ff0
add esp, 8
test eax, eax
jne 0x41efe3
cmp dword [esp + 0x28], ebx
jne 0x41ef94
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
push edi
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0044cd10
mov eax, dword [esp + 0x70]
add esp, 0x10
cmp eax, ebx
je 0x41efba
push eax
call fcn.00461cb5
add esp, 4
cmp dword [esp + 0xa8], 8
jb 0x41efd4
mov eax, dword [esp + 0x94]
push eax
call fcn.00461cb5
add esp, 4
xor ecx, ecx
mov word [esp + 0x94], cx
jmp 0x41f959
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x5c], bl
lea ebx, [esp + 0x58]
call fcn.0040fbf0
push 0x820
lea edx, [esp + 0x560]
push 0
push edx
call fcn.0055ca80
lea eax, [esp + 0x2c]
add esp, 0xc
push eax
lea edx, [esp + 0x560]
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.0040fdd0
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x41f1df
mov ecx, dword [esp + 0x4c]
mov ebx, dword [ecx + 0x634]
xor eax, eax
cmp dword [esp + 0x28], eax
jne 0x41f112
call fcn.004588b0
test dword [eax + 0x14], 0x800
je 0x41f0a9
mov eax, edi
lea ecx, [esp + 0xb0]
call fcn.00401a40
lea edx, [esp + 0x55c]
mov byte [esp + 0x1c08], 5
mov ecx, dword [esp + 0x20]
push edx
push ecx
lea ebx, [esp + 0x50]
mov ecx, eax
call fcn.00419800
add esp, 8
lea esi, [esp + 0xb0]
mov ebx, eax
mov byte [esp + 0x1c08], 2
call fcn.004024e0
mov esi, dword [esp + 0x3c]
jmp 0x41f0d3
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
test edi, edi
je 0x41f0ce
mov ecx, dword [esp + 0x20]
push ebx
push edi
lea edx, [esp + 0x564]
call fcn.004547c0
mov ebx, eax
jmp 0x41f0d3
mov ebx, 0x57
cmp dword [esp + 0x30], 0
je 0x41f0e2
test ebx, ebx
je 0x41f1df
push 1
push str.return___08x
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
lea esi, [esp + 0x60]
call fcn.00457620
lea esi, [esp + 0x94]
call fcn.004024e0
jmp 0x41e899
cmp edi, eax
je 0x41f1a0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov byte [esp + 0x1c08], 6
test byte [0x60aea0], 1
jne 0x41f16b
or dword [0x60aea0], 1
mov byte [esp + 0x1c08], 7
call fcn.00458180
push 0x58b2e0
call fcn.005597b9
add esp, 4
mov byte [esp + 0x1c08], 6
xor eax, eax
test dword [0x60ac7c], 0x800
jne 0x41f188
cmp ebx, eax
je 0x41f188
xor edx, edx
xor ecx, ecx
mov ebx, edi
call fcn.00459780
jmp 0x41f194
push eax
push eax
mov ecx, edi
call fcn.0045db00
add esp, 8
mov byte [esp + 0x1c08], 2
test eax, eax
je 0x41f1df
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41f0e2
push 4
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
lea esi, [esp + 0x60]
call fcn.00457620
lea esi, [esp + 0x94]
call fcn.004024e0
jmp 0x41ea4f
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x54]
call fcn.00403340
mov byte [esp + 0x1c08], 8
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41f20e
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c08], 9
mov eax, dword [esp + 0x50]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x60], esp
mov ebx, esp
push eax
call fcn.00404900
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0041cef0
add esp, 8
cmp dword [esp + 0x24], 0
jne 0x41f5d3
lea ecx, [esp + 0x44]
call fcn.00404860
lea ecx, [esp + 0x28]
call fcn.00404860
lea ecx, [esp + 0x58]
call fcn.00404860
lea ecx, [esp + 0x90]
call fcn.00404860
mov byte [esp + 0x1c08], 0xd
mov edx, dword [esi + 4]
push edx
lea ecx, [esp + 0x78]
call fcn.00403340
push 5
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c10], 0xe
call fcn.0040a1c0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c0c], 0xf
call fcn.00404890
mov byte [esp + 0x1c08], 0xe
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f2e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x74]
call fcn.00403340
push 2
push 0x5b9f78
push edi
mov byte [esp + 0x1c14], 0x10
call fcn.0055943e
add esp, 0xc
test eax, eax
jne 0x41f3ef
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x78]
call fcn.0040a1c0
mov esi, dword [esp + 0x4c]
push eax
add esi, 0xf0
lea eax, [esp + 0x20]
push esi
push eax
mov byte [esp + 0x1c14], 0x11
call fcn.0040a2c0
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c0c], 0x12
call fcn.00404890
lea ecx, [esp + 0x1c]
call fcn.004037a0
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c08], 0x10
call fcn.004037a0
push esi
lea ecx, [esp + 0x2c]
call fcn.00404890
mov esi, dword [esp + 0x44]
push esi
push SysReAllocStringLen
call fcn.0041a0a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 8
push esi
push SysReAllocStringLen
call ebx
push 0x5c
lea ecx, [esp + 0x48]
call fcn.00418840
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040a240
mov byte [esp + 0x1c08], 0x13
mov edi, dword [esp + 0x1c]
mov esi, SysReAllocStringLen
call fcn.0041a290
cmp eax, 1
jne 0x41f3d9
push edi
push esi
call ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c08], 0x10
call fcn.004037a0
jmp 0x41f4ac
push edi
lea ecx, [esp + 0x20]
call fcn.00403340
mov esi, dword [esp + 0x4c]
push eax
lea edx, [esi + 0xec]
push edx
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x1c14], 0x14
call fcn.0040a2c0
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c0c], 0x15
call fcn.00404890
lea ecx, [esp + 0x78]
call fcn.004037a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c08], 0x10
call fcn.004037a0
lea ecx, [esi + 0xf0]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00404890
mov ebx, dword [esp + 0x44]
push ebx
push SysReAllocStringLen
call fcn.0041a0a0
add esp, 8
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push SysReAllocStringLen
call ebx
lea edx, [esi + 0x5d8]
push str.CAPT
push edx
call fcn.00404f40
add esp, 8
test al, al
je 0x41f4ac
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41f4ac
cmp dword [esi + 0x668], 0
je 0x41f4ac
mov esi, edi
call fcn.00427880
mov edi, dword [esp + 0x28]
mov esi, SysReAllocStringLen
call fcn.0041a290
cmp eax, 1
jne 0x41f4d8
mov eax, edi
push eax
push esi
call ebx
mov edi, str.SOFTWARECANON_
call fcn.0041a290
cmp eax, 1
jne 0x41f4d8
push edi
push esi
call ebx
mov byte [esp + 0x1c08], 0xe
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f500
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c08], 0xd
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f528
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c08], 0xc
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f553
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c08], 0xb
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f57b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c08], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c08], 9
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 4]
neg ecx
sbb ecx, ecx
and ecx, edi
push ecx
push edx
call fcn.00419ae0
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x41f5f7
xor eax, eax
jmp 0x41f734
mov edi, dword [esp + 0x4c]
lea eax, [edi + 0x5d8]
push str.CAPT
push eax
call fcn.00404f40
add esp, 8
test al, al
je 0x41f628
cmp dword [edi + 0x668], ebx
je 0x41f628
call fcn.00425750
test eax, eax
jne 0x41f628
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x560]
mov ecx, esi
call fcn.0041f9b0
mov edx, dword [edi + 0x130]
add esp, 4
mov dword [esp + 0x8c], eax
cmp byte [edx + 0x6c], bl
jne 0x41f72d
mov ecx, dword [esi + 4]
call fcn.00412470
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41f69e
call fcn.00412a70
lea eax, [esp + 0x1c]
push eax
push 0x2001f
push ebx
push str.SOFTWARECanonVDCSETUPVDCUser
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call edi
test eax, eax
jne 0x41f69e
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x80], ebx
call esi
call fcn.004163a0
test eax, eax
je 0x41f740
call fcn.00415fe0
push 0x616
lea eax, [esp + 0xd82]
xor edx, edx
push ebx
push eax
mov dword [esp + 0x48], ebx
mov word [esp + 0xd88], dx
call fcn.0055ca80
add esp, 0xc
push str.DIASUser
push str.SOFTWARECanonDIASSETUP
lea ecx, [esp + 0xd84]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [esp + 0x3c]
push edx
push 0x2001f
push ebx
lea eax, [esp + 0xd88]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41f740
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x8c], ebx
call esi
mov dword [esp + 0x3c], ebx
call fcn.00425310
mov ebx, eax
jmp 0x41f74e
mov eax, dword [esp + 0x84]
mov dword [esp + 0x7c], 1
cmp eax, ebx
je 0x41f749
call fcn.00425310
mov ebx, eax
jmp 0x41f74e
mov ebx, 1
mov edx, dword [esp + 0x4c]
cmp dword [edx + 0x690], 0
je 0x41f760
call fcn.004170f0
cmp dword [esp + 0x24], 0
jne 0x41f789
cmp dword [esp + 0x80], 1
jne 0x41f789
lea esi, [esp + 0x1394]
call fcn.0041baa0
cmp eax, 1
jne 0x41f789
mov ecx, esi
call fcn.0045da30
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x88], esp
mov edi, esp
push esi
call fcn.00404900
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0041d4e0
add esp, 4
cmp dword [esp + 0x8c], 0
jne 0x41f833
push 6
push str.return___08x
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
mov byte [esp + 0x1c08], 8
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f7f1
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x1c08], 2
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f819
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x60]
call fcn.00457620
lea esi, [esp + 0x94]
call fcn.004024e0
jmp 0x41ebde
cmp dword [esp + 0x7c], 0
je 0x41f891
cmp dword [esp + 0x88], 0
je 0x41f891
test ebx, ebx
je 0x41f891
cmp dword [esp + 0x54], 0
je 0x41f891
push 0
push str.return___08x
lea ecx, [esp + 0x1c]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x30]
call fcn.004037a0
lea ecx, [esp + 0x50]
call fcn.004037a0
lea esi, [esp + 0x60]
call fcn.00457620
lea esi, [esp + 0x94]
call fcn.004024e0
jmp 0x41ed03
push 5
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0044cd10
add esp, 0x10
mov byte [esp + 0x1c08], 8
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f8c8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x1c08], 2
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x60]
call fcn.00457620
lea esi, [esp + 0x94]
call fcn.004024e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c08], 0xffffffff
call fcn.0044cc70
mov eax, 5
jmp 0x41f981
push edi
push str.return___08x
lea ecx, [esp + 0x1c]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
cmp dword [esp + 0xa8], 8
jb 0x41f94f
mov edx, dword [esp + 0x94]
push edx
call fcn.00461cb5
add esp, 4
xor eax, eax
mov word [esp + 0x94], ax
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x1c08], 0xffffffff
call fcn.0044cc70
mov eax, edi
mov ecx, dword [esp + 0x1c00]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1be8]
xor ecx, esp
call fcn.0055649d
mov esp, ebp
pop ebp
ret