Function at 0x4193b0
Capabilities:
Delete registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55e4fb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1fc4
call fcn.00539330
mov eax, dword [0x5b4450]
xor eax, esp
mov dword [esp + 0x1fc0], eax
push ebx
push esi
push edi
mov eax, dword [0x5b4450]
xor eax, esp
push eax
lea eax, [esp + 0x1fd8]
mov dword fs:[0], eax
xor esi, esi
push esi
lea eax, [esp + 0x18]
mov ebx, ecx
mov edi, edx
push str.Tool_DeletePrinterStd
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x88], edi
call fcn.0040ac70
add esp, 0xc
push esi
push edi
push ebx
push str.hWnd___08x__lpszPrinter___s__bJob___d
mov ebx, 1
lea ecx, [esp + 0x24]
push ebx
push ecx
mov dword [esp + 0x1ff8], esi
call fcn.0040aed0
push 0x85e
lea eax, [esp + 0x178a]
xor edx, edx
push esi
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], esi
mov word [esp + 0x1790], dx
call fcn.005373f0
add esp, 0x24
push 0x40e
lea edx, [esp + 0x52a]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x50], ebx
mov word [esp + 0x530], cx
call fcn.005373f0
add esp, 0xc
push 0x40e
lea ecx, [esp + 0x11a]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], esi
mov word [esp + 0x120], ax
call fcn.005373f0
add esp, 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x58], ebx
call fcn.00442c4d
mov ebx, dword [eax + 4]
push 0x410
lea edx, [esp + 0x528]
push esi
push edx
mov dword [esp + 0x5c], ebx
call fcn.005373f0
add esp, 0xc
call fcn.0040bea0
push esi
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0xb4]
push esi
push 0x1004
push eax
mov dword [esp + 0x80], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x68], eax
cmp eax, esi
jle 0x419840
push esi
push esi
push 1
mov ecx, edi
call fcn.00416630
add esp, 0xc
cmp eax, 1
jne 0x419565
push 3
push str.return___08x
lea ecx, [esp + 0x1c]
push 2
push ecx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1fe0], 0xffffffff
call fcn.0040ae50
lea eax, [esi + 3]
jmp 0x419c91
xor eax, eax
cmp edi, esi
je 0x41957a
mov edx, dword [ebx + 0x5f4]
mov eax, dword [edx + 0xa4]
push edi
call eax
push 0x410
lea ecx, [esp + 0x118]
push esi
push ecx
mov dword [esp + 0x7c], eax
call fcn.005373f0
mov ebx, dword [sym.imp.WINSPOOL.DRV_EnumPrintersW]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
push 2
push esi
push 6
call ebx
test eax, eax
jne 0x4195c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x419c62
mov edx, dword [esp + 0x1c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x30], eax
cmp eax, esi
je 0x419745
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push 2
push esi
push 6
call ebx
test eax, eax
je 0x419654
xor ebx, ebx
cmp dword [esp + 0x28], ebx
jbe 0x419654
mov esi, dword [esp + 0x30]
add esi, 4
mov edx, dword [esi]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41961d
inc ebx
add esi, 0x54
cmp ebx, dword [esp + 0x28]
jb 0x419603
jmp 0x419654
imul ebx, ebx, 0x54
add ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 4]
cmp word [ecx], 0x5c
jne 0x419654
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x419654
mov eax, dword [ebx + 0x10]
push eax
lea ecx, [esp + 0x118]
push ecx
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push edx
call esi
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jne 0x419758
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 0xf000c
call dword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x419cdc
lea edx, [esp + 0x524]
mov ecx, edi
call fcn.00416d70
mov ecx, dword [esp + 0x2c]
cmp eax, 0xffffffff
jne 0x4196d7
push ecx
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
push 1
push str.return___08x
push 2
lea edx, [esp + 0x20]
push edx
jmp 0x419c70
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 3
push 0
mov dword [esp + 0x30], ebx
mov ebx, dword [sym.imp.WINSPOOL.DRV_GetPrinterDriverW]
push ecx
call ebx
test eax, eax
jne 0x419700
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41973a
mov ecx, dword [esp + 0x1c]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x34], eax
test eax, eax
je 0x41973a
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x38]
push 3
push 0
push eax
call ebx
test eax, eax
jne 0x4197f5
mov ecx, dword [esp + 0x34]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
push 1
push str.return___08x
push 2
lea eax, [esp + 0x20]
push eax
jmp 0x419c70
mov ebx, dword [sym.imp.WINSPOOL.DRV_EnumPrinterDriversW]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 3
push 0
push 0
call ebx
test eax, eax
jne 0x419783
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x419745
mov ecx, dword [esp + 0x1c]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4196c4
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push 3
push 0
push 0
call ebx
test eax, eax
je 0x4197f5
xor ebx, ebx
cmp dword [esp + 0x28], ebx
jbe 0x4197f5
mov esi, dword [esp + 0x38]
add esi, 4
jmp 0x4197d0
mov eax, dword [esi]
lea edx, [esp + 0x114]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x419826
inc ebx
add esi, 0x28
cmp ebx, dword [esp + 0x28]
jb 0x4197d0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x1c]
push 0
call fcn.0040c450
add esp, 4
cmp eax, 1
jne 0x419b3d
cmp dword [esp + 0x24], 0
je 0x4199af
mov eax, dword [esp + 0x38]
push eax
call esi
jmp 0x4199bd
mov eax, dword [esp + 0x38]
xor ecx, ecx
lea edx, [ebx + ebx*4]
mov word [esp + 0x524], cx
lea ecx, [eax + edx*8]
mov dword [esp + 0x34], ecx
jmp 0x4197ef
lea edx, [ebx + 0xf0]
push edx
push 0x58e1bc
call fcn.004252a0
add esp, 8
test al, al
je 0x419c62
mov ebx, dword [ebx + 0x140]
cmp dword [ebx + 0x28], esi
je 0x419c62
cmp dword [ebx + 0x48], esi
je 0x419c62
push edi
lea eax, [esp + 0x118]
push 0x208
push eax
call fcn.00535afa
mov ebx, dword [sym.imp.WINSPOOL.DRV_EnumPrinterDriversW]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push 3
push esi
push esi
call ebx
test eax, eax
jne 0x4198e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x4198e5
push 6
push str.return___08x
push 2
lea eax, [esp + 0x20]
push eax
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1fe0], 0xffffffff
call fcn.0040ae50
mov eax, 6
jmp 0x419c91
mov ecx, dword [esp + 0x1c]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x38], eax
cmp eax, esi
jne 0x41990a
push 6
push str.return___08x
push 2
lea edx, [esp + 0x20]
push edx
jmp 0x4198bf
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push 3
push esi
push esi
call ebx
test eax, eax
je 0x41997f
xor ebx, ebx
cmp dword [esp + 0x28], esi
jbe 0x41997f
mov edx, dword [esp + 0x38]
add edx, 4
mov dword [esp + 0x30], edx
jmp 0x419940
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
lea eax, [esp + 0x114]
push eax
push edx
call fcn.00533c47
add esp, 8
test eax, eax
je 0x419969
add dword [esp + 0x30], 0x28
inc ebx
cmp ebx, dword [esp + 0x28]
jb 0x419940
jmp 0x41997f
mov ecx, dword [esp + 0x38]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x34], eax
cmp eax, esi
jne 0x4197ef
push esi
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1fe0], 0xffffffff
call fcn.0040ae50
xor eax, eax
jmp 0x419c91
push ebx
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
call fcn.00442c4d
mov edi, dword [eax + 4]
mov dword [esp + 0x58], edi
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4199e3
push 0x80004005
call fcn.004010a0
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 + 0x1fe0], 1
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x419a15
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
push 2
mov byte [esp + 0x1fe4], 2
call fcn.00440235
test eax, eax
je 0x419a44
push 2
push eax
lea ecx, [esp + 0x2c]
call fcn.00401350
push 3
call fcn.00440235
test eax, eax
je 0x419a5f
push 3
push eax
lea ecx, [esp + 0x4c]
call fcn.00401350
mov esi, dword [esp + 0x44]
mov ecx, dword [edi + 0x140]
cmp dword [ecx + 0x28], 0
je 0x419aaa
mov edi, dword [edi + 0x144]
push esi
call fcn.004062a0
push 0x20
push 0xa
lea ebx, [esp + 0x2c]
call fcn.00408110
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx + 0x144]
push edx
call fcn.004062a0
mov edi, dword [ebx + 0x144]
push 0x58acc8
call fcn.004062a0
jmp 0x419abd
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
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.0040aed0
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0x1fe0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419af7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1fe0], 0
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 0x419b1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1fe0], 0xffffffff
call fcn.0040ae50
mov eax, 2
jmp 0x419c91
mov ecx, dword [ebx + 0xc]
push 1
push 0x40
lea edx, [esp + 0x9c]
call fcn.0040ce00
add esp, 8
test eax, eax
jne 0x419b7d
cmp dword [esp + 0x24], eax
je 0x419b77
mov ecx, dword [esp + 0x38]
push ecx
call esi
push 1
push str.return___08x
push 2
lea eax, [esp + 0x20]
push eax
jmp 0x419c70
push ebx
jmp 0x419738
xor eax, eax
lea ebx, [esp + 0x60]
mov dword [esp + 0x60], eax
mov byte [esp + 0x64], al
call fcn.00409ac0
push 0x820
lea ecx, [esp + 0x938]
push 0
push ecx
call fcn.005373f0
lea edx, [esp + 0x3c]
add esp, 0xc
push edx
lea edx, [esp + 0x938]
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00409ca0
mov esi, dword [esp + 0x54]
add esp, 4
cmp dword [esp + 0x68], 0
jle 0x419d1f
cmp dword [esp + 0x24], 0
jne 0x419cb5
cmp dword [esp + 0x4c], 0xa
mov ebx, dword [esi + 0x5f8]
jne 0x419c23
mov ecx, dword [esp + 0x2c]
call fcn.0041eb60
mov ebx, eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
test ebx, ebx
jne 0x419c0e
mov ecx, dword [esp + 0x30]
push ecx
push ebx
jmp 0x419c34
lea edx, [esp + 0x934]
mov ecx, edi
call fcn.00417700
call fcn.004096b0
jmp 0x419c48
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov ecx, dword [esp + 0x30]
push ecx
push ebx
push edi
lea edx, [esi + 0x5ec]
push edx
lea ecx, [esp + 0x944]
call fcn.0043c240
cmp dword [esp + 0x3c], 0
je 0x419c57
test eax, eax
je 0x419d1f
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 1
push str.return___08x
push 2
lea ecx, [esp + 0x20]
push ecx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1fe0], 0xffffffff
call fcn.0040ae50
mov eax, 1
mov ecx, dword [esp + 0x1fd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1fc0]
xor ecx, esp
call fcn.005337cb
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x5f8]
push 0
push edx
push edi
lea eax, [esi + 0x5ec]
push eax
xor ecx, ecx
call fcn.0043c240
test eax, eax
je 0x419d1f
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x419745
push 4
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x1fe0], 0xffffffff
call fcn.0040ae50
mov eax, 4
jmp 0x419c91
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x58]
call fcn.00401210
mov byte [esp + 0x1fe0], 3
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x419d52
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x1fe0], 4
mov eax, dword [esp + 0x54]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x68], esp
mov ebx, esp
push eax
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00417dc0
add esp, 8
cmp dword [esp + 0x68], 0
jle 0x41a049
lea ecx, [esp + 0x40]
call fcn.004011e0
lea ecx, [esp + 0x5c]
call fcn.004011e0
lea ecx, [esp + 0x60]
call fcn.004011e0
lea ecx, [esp + 0x84]
call fcn.004011e0
mov edx, dword [esp + 0x34]
mov byte [esp + 0x1fe0], 8
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x40]
call fcn.00401210
push 5
lea ecx, [esp + 0x24]
push ecx
mov bl, 9
lea ecx, [esp + 0x44]
mov byte [esp + 0x1fe8], bl
call fcn.00413980
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x1fe4], 0xa
call fcn.00401520
lea ecx, [esp + 0x20]
mov byte [esp + 0x1fe0], bl
call fcn.00401500
push edi
lea ecx, [esp + 0x50]
call fcn.00401210
push 2
push 0x58d4d0
push edi
mov byte [esp + 0x1fec], 0xb
call fcn.00534305
add esp, 0xc
test eax, eax
jne 0x419f20
mov edx, dword [esp + 0x4c]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x54]
call fcn.00413980
mov esi, dword [esp + 0x50]
push eax
add esi, 0xf8
lea ecx, [esp + 0x24]
push esi
push ecx
mov byte [esp + 0x1fec], 0xc
call fcn.00413a80
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x1fe4], 0xd
call fcn.00401520
lea ecx, [esp + 0x20]
call fcn.00401500
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1fe0], 0xb
call fcn.00401500
push esi
lea ecx, [esp + 0x60]
call fcn.00401520
mov esi, dword [esp + 0x40]
push esi
push SysReAllocString
call fcn.00414fb0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add esp, 8
push esi
push SysReAllocString
call ebx
push 0x5c
lea ecx, [esp + 0x44]
call fcn.00404d90
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x48]
call fcn.00413a00
mov byte [esp + 0x1fe0], 0xe
mov edi, dword [esp + 0x20]
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x419f0a
push edi
push esi
call ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1fe0], 0xb
call fcn.00401500
jmp 0x419fd6
push edi
lea ecx, [esp + 0x24]
call fcn.00401210
push eax
lea eax, [esi + 0xf4]
push eax
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0x1fec], 0xf
call fcn.00413a80
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x1fe4], 0x10
call fcn.00401520
lea ecx, [esp + 0x6c]
call fcn.00401500
lea ecx, [esp + 0x20]
mov byte [esp + 0x1fe0], 0xb
call fcn.00401500
lea edx, [esi + 0xf8]
push edx
lea ecx, [esp + 0x60]
call fcn.00401520
mov ebx, dword [esp + 0x40]
push ebx
push SysReAllocString
call fcn.00414fb0
add esp, 8
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push SysReAllocString
call ebx
lea eax, [esi + 0x5e8]
push str.CAPT
push eax
call fcn.00401940
add esp, 8
test al, al
je 0x419fd6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x419fd6
cmp dword [esi + 0x62c], 0
je 0x419fd6
mov esi, edi
call fcn.004242a0
mov edi, dword [esp + 0x5c]
mov esi, SysReAllocString
call fcn.00415170
cmp eax, 1
jne 0x41a000
push edi
push esi
call ebx
mov edi, str.SOFTWARECANON_
call fcn.00415170
cmp eax, 1
jne 0x41a000
push edi
push esi
call ebx
lea ecx, [esp + 0x4c]
call fcn.00401500
lea ecx, [esp + 0x3c]
call fcn.00401500
lea ecx, [esp + 0x84]
call fcn.00401500
lea ecx, [esp + 0x60]
call fcn.00401500
lea ecx, [esp + 0x5c]
call fcn.00401500
lea ecx, [esp + 0x40]
mov byte [esp + 0x1fe0], 4
call fcn.00401500
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
push ecx
call fcn.00414a00
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x41a088
mov dword [esp + 0x80], ebx
mov dword [esp + 0x44], 1
cmp dword [esp + 0x80], ebx
je 0x41a1c1
call fcn.00421d40
mov ebx, eax
jmp 0x41a1c6
lea edx, [esi + 0x5e8]
push str.CAPT
push edx
call fcn.00401940
add esp, 8
test al, al
je 0x41a0b5
cmp dword [esi + 0x62c], ebx
je 0x41a0b5
call fcn.00422180
test eax, eax
jne 0x41a0b5
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x30]
push eax
lea edx, [esp + 0x938]
mov ecx, edi
call fcn.0041a320
mov ecx, dword [esi + 0x140]
add esp, 4
mov dword [esp + 0x78], eax
cmp dword [ecx + 0x5c], ebx
jne 0x41a067
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 4]
call fcn.0040d250
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41a12a
call fcn.0040d790
lea eax, [esp + 0x20]
push eax
push 0x2001f
push 0
push str.SOFTWARECanonVDCSETUPVDCUser
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], 0
call edi
test eax, eax
jne 0x41a12a
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x48], eax
call ebx
call fcn.00410f60
test eax, eax
je 0x41a07c
call fcn.00410ba0
xor edx, edx
push 0x616
push edx
lea eax, [esp + 0x115e]
push eax
mov dword [esp + 0x48], 0
mov word [esp + 0x1160], dx
call fcn.005373f0
add esp, 0xc
push str.DIASUser
push str.SOFTWARECanonDIASSETUP
lea ecx, [esp + 0x115c]
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 0
lea eax, [esp + 0x1160]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41a07c
mov ecx, dword [esp + 0x3c]
xor edi, edi
push ecx
mov dword [esp + 0x78], edi
call ebx
mov dword [esp + 0x3c], edi
call fcn.00421d40
mov ebx, eax
jmp 0x41a1c6
mov ebx, 1
mov edi, dword [esp + 0x68]
test edi, edi
jle 0x41a1e2
cmp dword [esp + 0x24], 0
je 0x41a1dc
mov edx, dword [esp + 0x38]
push edx
jmp 0x41a1eb
mov eax, dword [esp + 0x34]
jmp 0x41a1ea
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41a1f1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esi + 0x644], 0
je 0x41a1ff
call fcn.00411c20
test edi, edi
jle 0x41a231
cmp dword [esp + 0x70], 1
jne 0x41a231
lea ecx, [esp + 0x176c]
call fcn.004168b0
cmp eax, 1
jne 0x41a231
mov ecx, dword [esi + 0x5f4]
mov eax, dword [ecx + 0x88]
lea edx, [esp + 0x176c]
push edx
call eax
mov eax, dword [esp + 0x48]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x80], esp
mov edi, esp
push eax
call fcn.004017c0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004183b0
add esp, 4
cmp dword [esp + 0x78], 0
jne 0x41a28c
push 6
push str.return___08x
lea ecx, [esp + 0x1c]
push 2
push ecx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x48]
call fcn.00401500
lea ecx, [esp + 0x54]
call fcn.00401500
jmp 0x4198c7
cmp dword [esp + 0x44], 0
je 0x41a2d2
cmp dword [esp + 0x74], 0
je 0x41a2d2
test ebx, ebx
je 0x41a2d2
cmp dword [esp + 0x58], 0
je 0x41a2d2
push 0
push str.return___08x
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x48]
call fcn.00401500
lea ecx, [esp + 0x54]
call fcn.00401500
jmp 0x419994
push 5
push str.return___08x
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.0040aed0
add esp, 0x10
lea ecx, [esp + 0x48]
call fcn.00401500
lea ecx, [esp + 0x54]
call fcn.00401500
lea ecx, [esp + 0x14]
mov dword [esp + 0x1fe0], 0xffffffff
call fcn.0040ae50
mov eax, 5
jmp 0x419c91