Function at 0x41cad0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x45834b
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.00441390
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0x1028], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46be4c]
xor eax, esp
push eax
lea eax, [esp + 0x1040]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1050]
mov ebx, dword [esp + 0x1054]
xor esi, esi
mov edi, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], edi
call fcn.004316f5
mov ecx, dword [eax + 4]
push 0x208
lea edx, [esp + 0xe4]
push esi
push edx
mov dword [esp + 0x64], ecx
call fcn.004413c0
push esi
push esi
push edi
push ebx
call fcn.0040d520
add esp, 0x1c
cmp eax, edi
jne 0x41cb8c
cmp dword [esp + 0x1058], esi
jne 0x41cb8c
lea eax, [esi + 3]
jmp 0x41d9cf
push ebx
call fcn.0040d780
push 0x208
mov dword [esp + 0x70], eax
lea eax, [esp + 0x2f0]
push esi
push eax
call fcn.004413c0
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push 2
push esi
push 6
call sub.WINSPOOL.DRV_EnumPrintersA
test eax, eax
jne 0x41cbd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x41cbd8
mov eax, edi
jmp 0x41d9cf
mov eax, dword [esp + 0x1c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
cmp ebp, esi
je 0x41cbd1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push ebp
push 2
push esi
push 6
call sub.WINSPOOL.DRV_EnumPrintersA
test eax, eax
je 0x41cc65
xor esi, esi
cmp dword [esp + 0x3c], esi
jbe 0x41cc65
lea edi, [ebp + 4]
mov ecx, dword [edi]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41cc30
add esi, 1
add edi, 0x54
cmp esi, dword [esp + 0x3c]
jb 0x41cc14
jmp 0x41cc65
imul esi, esi, 0x54
mov edx, dword [esi + ebp + 4]
add esi, ebp
cmp byte [edx], 0x5c
jne 0x41cc65
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41cc65
mov ecx, dword [esi + 0x10]
push ecx
lea edx, [esp + 0x2ec]
push edx
mov dword [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.004048c0
xor esi, esi
cmp dword [esp + 0x38], esi
mov edi, eax
mov dword [esp + 0x2c], edi
jne 0x41cd69
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 0xf000c
call sub.WINSPOOL.DRV_OpenPrinterA
mov ebp, eax
cmp ebp, esi
je 0x41d15c
cmp edi, 2
je 0x41cccd
cmp edi, 3
je 0x41cccd
lea edx, [esp + 0xe0]
push edx
push ebx
call fcn.00411e20
jmp 0x41ccdf
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xe0]
push eax
push ecx
call fcn.0040e010
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x41cd55
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push esi
push esi
push 3
push esi
push ecx
mov dword [esp + 0x34], esi
call sub.WINSPOOL.DRV_GetPrinterDriverA
test eax, eax
jne 0x41cd12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41cd55
mov eax, dword [esp + 0x1c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0x14]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x41cfdb
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push eax
push ebx
push 3
push 0
push ecx
call sub.WINSPOOL.DRV_GetPrinterDriverA
test eax, eax
jne 0x41ce05
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x14]
push edx
call sub.WINSPOOL.DRV_ClosePrinter
mov eax, 1
jmp 0x41d9cf
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push 3
push esi
push esi
call sub.WINSPOOL.DRV_EnumPrinterDriversA
test eax, eax
jne 0x41cd91
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41cfe1
mov edx, dword [esp + 0x1c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x40], edi
je 0x41cfe1
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
push edi
push 3
push esi
push esi
call sub.WINSPOOL.DRV_EnumPrinterDriversA
test eax, eax
je 0x41cdfd
cmp dword [esp + 0x3c], esi
jbe 0x41cdfd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add edi, 4
jmp 0x41cde0
mov ecx, dword [edi]
lea eax, [esp + 0x2e8]
push eax
push ecx
call ebx
test eax, eax
je 0x41ce3b
add esi, 1
add edi, 0x28
cmp esi, dword [esp + 0x3c]
jb 0x41cde0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x54]
mov edx, dword [ebx + 0x1c]
push 0
push 0
push ecx
push esi
push edx
call fcn.00408e30
add esp, 0x14
cmp eax, 1
jne 0x41cf9b
cmp dword [esp + 0x38], 0
je 0x41ce5b
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x41ce6c
mov eax, dword [esp + 0x40]
lea edx, [esi + esi*4]
lea ebx, [eax + edx*8]
mov byte [esp + 0xe0], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ebx
jmp 0x41ce01
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x14]
push ecx
call sub.WINSPOOL.DRV_ClosePrinter
call fcn.004316f5
mov ebp, dword [eax + 4]
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ce8e
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
mov dword [esp + 0x1048], 0
call fcn.004317f7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cec3
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x48], esi
push 2
mov byte [esp + 0x104c], 1
call fcn.004317cb
test eax, eax
je 0x41cef6
push 2
push eax
lea ecx, [esp + 0x38]
call fcn.004019c0
mov edi, dword [esp + 0x30]
push 3
call fcn.004317cb
test eax, eax
je 0x41cf11
push 3
push eax
lea ecx, [esp + 0x50]
call fcn.004019c0
mov esi, dword [esp + 0x48]
mov ecx, dword [ebp + 0x128]
cmp dword [ecx + 0x24], 0
je 0x41cf37
mov ecx, dword [ebp + 0x12c]
push esi
call fcn.00403910
mov ecx, dword [ebp + 0x12c]
push edi
call fcn.00403910
jmp 0x41cf46
mov edx, dword [esp + 0x18]
push 0x30
push esi
push edi
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
add esi, 0xfffffff0
mov byte [esp + 0x1048], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cf6a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x1048], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cf91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x41d9cf
mov edx, dword [ebx + 0xc]
push 1
lea ecx, [esp + 0xa4]
push ecx
push edx
call fcn.00404a10
add esp, 0xc
test eax, eax
jne 0x41cfeb
cmp dword [esp + 0x38], eax
je 0x41cfd0
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
jmp 0x41d9cf
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x14]
push ecx
call sub.WINSPOOL.DRV_ClosePrinter
mov eax, 1
jmp 0x41d9cf
lea eax, [esp + 0xe0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41cff5
sub eax, edx
je 0x41d061
test byte [esp + 0x24], 8
je 0x41d061
lea edx, [esp + 0xe0]
push edx
push 0
call fcn.0040c980
add esp, 8
test eax, eax
jne 0x41d061
cmp dword [esp + 0x38], eax
je 0x41d040
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 1
jmp 0x41d9cf
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x14]
push ecx
call sub.WINSPOOL.DRV_ClosePrinter
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 1
jmp 0x41d9cf
lea edx, [esp + 0x98]
xor eax, eax
push edx
push esi
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], al
call fcn.00404180
push 0x410
mov dword [esp + 0x24], eax
lea eax, [esp + 0x808]
push 0
push eax
call fcn.004413c0
push 0x410
lea ecx, [esp + 0x814]
push ecx
push esi
call fcn.004044e0
add esp, 0x20
cmp dword [esp + 0x38], 0
mov edi, eax
jne 0x41d147
test edi, edi
je 0x41d0dd
mov eax, dword [esp + 0x2c]
cmp eax, 6
je 0x41d105
cmp eax, 0xa
jne 0x41d0dd
lea eax, [esp + 0x7fc]
push eax
push esi
call fcn.0040dd10
add esp, 8
xor esi, esi
cmp dword [esp + 0x2c], 0xa
jne 0x41d0f7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00413810
add esp, 4
test eax, eax
jne 0x41d115
mov edx, dword [esp + 0x14]
push edx
call sub.WINSPOOL.DRV_DeletePrinter
mov ebp, eax
jmp 0x41d124
lea edx, [esp + 0x7fc]
push edx
push esi
call fcn.0040dca0
jmp 0x41d0da
mov eax, dword [esp + 0x54]
push eax
call fcn.00404070
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x14]
push ecx
call sub.WINSPOOL.DRV_ClosePrinter
test ebp, ebp
je 0x41d136
test esi, esi
je 0x41d174
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
jmp 0x41d9cf
push esi
call sub.WINSPOOL.DRV_DeletePrinterConnectionA
test eax, eax
jne 0x41d174
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 5
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x41d9cf
test edi, edi
mov esi, dword [esp + 0x2c]
je 0x41d19b
cmp esi, 6
je 0x41d186
cmp esi, 0xa
jne 0x41d19b
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x7fc]
push eax
push ecx
call fcn.00417080
add esp, 8
cmp esi, 2
je 0x41d1a5
cmp esi, 3
jne 0x41d1fc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x8c]
push edx
call esi
test eax, eax
je 0x41d1fc
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x7c]
push eax
call edi
lea ecx, [esp + 0x7c]
push ecx
call ebp
push 1
push 0
push 0
push 0
lea edx, [esp + 0x8c]
push edx
call esi
test eax, eax
jne 0x41d1d8
lea ecx, [esp + 0x20]
call fcn.00401630
lea ecx, [esp + 0x34]
mov dword [esp + 0x1048], 2
call fcn.00401630
lea ecx, [esp + 0x24]
call fcn.00401630
lea ecx, [esp + 0x5c]
call fcn.00401630
mov eax, dword [ebx + 4]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x104c], 5
call fcn.004027b0
push 5
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x1050], 6
call fcn.004072d0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x104c], 7
call fcn.00402020
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x1048], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 4]
push ecx
lea ecx, [esp + 0x50]
call fcn.004027b0
lea ecx, [esp + 0x30]
call fcn.00401630
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x30]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
mov byte [esp + 0x1054], 9
call fcn.004015c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00410300
mov eax, dword [esp + 0x34]
add esp, 8
cmp eax, 2
je 0x41d498
cmp eax, 3
je 0x41d498
mov esi, dword [esp + 0x54]
push esi
lea ecx, [esp + 0x30]
call fcn.004027b0
push 2
push 0x45d5bc
mov bl, 0xc
push esi
mov byte [esp + 0x1054], bl
call fcn.00443529
add esp, 0xc
test eax, eax
jne 0x41d3f4
mov eax, dword [esp + 0x2c]
mov eax, dword [eax - 0xc]
add eax, 0xffffffff
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x34]
call fcn.004072d0
mov esi, dword [esp + 0x58]
push eax
add esi, 0xe4
lea edx, [esp + 0x1c]
push esi
push edx
mov byte [esp + 0x1054], 0xd
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x104c], 0xe
call fcn.00402020
lea ecx, [esp + 0x18]
call fcn.00401660
lea ecx, [esp + 0x44]
mov byte [esp + 0x1048], bl
call fcn.00401660
push esi
lea ecx, [esp + 0x38]
call fcn.00402020
mov edi, dword [esp + 0x20]
push edi
push 0x80000001
call fcn.0040ce00
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 8
push edi
push 0x80000001
call esi
push 0x5c
lea ecx, [esp + 0x24]
call fcn.00401410
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
call fcn.00407350
mov ebp, dword [esp + 0x18]
push ebp
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x41d3e6
push ebp
push 0x80000001
call esi
lea ecx, [esp + 0x18]
call fcn.00401660
jmp 0x41d47a
push esi
lea ecx, [esp + 0x1c]
call fcn.004027b0
mov esi, dword [esp + 0x58]
push eax
lea ecx, [esi + 0xe0]
push ecx
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x1054], 0xf
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x104c], 0x10
call fcn.00402020
lea ecx, [esp + 0x44]
call fcn.00401660
lea ecx, [esp + 0x18]
mov byte [esp + 0x1048], bl
call fcn.00401660
add esi, 0xe4
push esi
lea ecx, [esp + 0x38]
call fcn.00402020
mov edi, dword [esp + 0x20]
push edi
push 0x80000001
call fcn.0040ce00
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 8
push edi
push 0x80000001
call esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1048], 9
call fcn.00401660
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
jmp 0x41d695
cmp dword [esp + 0x18], 1
jne 0x41d4af
lea eax, [esp + 0x98]
push eax
call fcn.00404340
add esp, 4
mov ecx, dword [esp + 0x50]
push 0x45d77c
push ecx
call fcn.00440d82
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 8
test eax, eax
je 0x41d519
mov edx, dword [esp + 0x50]
push 0x45d77c
push edx
call fcn.00440d82
add esp, 8
test eax, eax
je 0x41d500
mov edi, dword [esp + 0x58]
mov eax, dword [edi + 0xb8]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00413470
add esp, 8
test eax, eax
jge 0x41d51d
mov ecx, dword [ebx + 4]
push ecx
call fcn.00411b20
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
add esp, 4
jmp 0x41d667
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push edx
lea ecx, [esp + 0x2c]
call fcn.004027b0
push eax
lea eax, [edi + 0xe0]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x1054], 0xa
call fcn.0040ef70
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x104c], 0xb
call fcn.00402020
lea ecx, [esp + 0x44]
call fcn.00401660
lea ecx, [esp + 0x28]
mov byte [esp + 0x1048], 9
call fcn.00401660
lea edx, [edi + 0xe4]
push edx
lea ecx, [esp + 0x38]
call fcn.00402020
lea eax, [edi + 0xf0]
push eax
lea ecx, [esp + 0x28]
call fcn.00402020
add edi, 0xec
push edi
lea ecx, [esp + 0x60]
call fcn.00402020
mov edi, dword [esp + 0x20]
push edi
push 0x80000002
call fcn.0040ce00
add esp, 8
push edi
push 0x80000002
call esi
mov ebp, dword [esp + 0x34]
push ebp
push 0x80000002
call fcn.0040cf30
add esp, 8
cmp eax, 1
je 0x41d5e0
call fcn.00412c30
test eax, eax
jne 0x41d651
jmp 0x41d5e8
push ebp
push 0x80000002
call esi
mov ecx, dword [esp + 0x24]
push ecx
push 0x80000002
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x41d60b
mov edx, dword [esp + 0x24]
push edx
push 0x80000002
call esi
mov eax, dword [esp + 0x5c]
push eax
push 0x80000002
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x41d62e
mov ecx, dword [esp + 0x5c]
push ecx
push 0x80000002
call esi
push str.SOFTWARECANON_
push 0x80000002
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x41d651
push str.SOFTWARECANON_
push 0x80000002
call esi
push edi
push 0x80000001
call fcn.0040ce00
add esp, 8
push edi
push 0x80000001
call esi
cmp dword [esp + 0x18], 0
je 0x41d695
lea edx, [esp + 0x98]
push edx
push str.EnumLPTENUM
call fcn.0040e5a0
lea eax, [esp + 0xa0]
push eax
push str.EnumUSBPRINT
call fcn.0040e5a0
add esp, 0x10
push ebp
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x41d6d3
push ebp
push 0x80000001
call esi
push str.SOFTWARECANON_
push 0x80000001
call fcn.0040cf30
add esp, 8
cmp eax, 1
jne 0x41d6d3
push str.SOFTWARECANON_
push 0x80000001
call esi
mov ecx, dword [esp + 0x54]
mov edx, dword [ebx + 4]
push ecx
push edx
call fcn.0040cc30
add esp, 8
test eax, eax
jne 0x41d7d1
mov ecx, ebx
call fcn.0041bc90
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 4]
push 0
push eax
call fcn.00408150
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 8
test eax, eax
je 0x41d749
call fcn.00409470
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push str.SOFTWARECanonVDCSETUPVDCUser
push 0x80000002
mov dword [esp + 0x2c], 0
call esi
test eax, eax
jne 0x41d749
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x4c], eax
call ebp
call fcn.004087e0
test eax, eax
je 0x41d7d9
call fcn.0040b180
push 0x30b
lea eax, [esp + 0x4f5]
push 0
push eax
mov dword [esp + 0x34], 0
mov byte [esp + 0x4fc], 0
call fcn.004413c0
push str.DIASUser
push str.SOFTWARECanonDIASSETUP
lea ecx, [esp + 0x504]
push 0x45ce28
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea edx, [esp + 0x28]
push edx
push 0x2001f
push 0
lea eax, [esp + 0x4fc]
push eax
push 0x80000002
call esi
test eax, eax
jne 0x41d7d9
mov ecx, dword [esp + 0x28]
xor esi, esi
push ecx
mov dword [esp + 0x64], esi
call ebp
mov dword [esp + 0x28], esi
jmp 0x41d7d9
mov dword [esp + 0x48], 1
cmp dword [esp + 0x38], 0
je 0x41d7e7
mov edx, dword [esp + 0x40]
push edx
jmp 0x41d7e8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x58]
cmp dword [eax + 0x3dc], 0
je 0x41d804
call fcn.00406de0
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x68], 1
jne 0x41d833
lea ecx, [esp + 0xc0c]
push ecx
call fcn.0040d910
add esp, 4
cmp eax, 1
jne 0x41d833
push 0
push eax
lea edx, [esp + 0xc14]
push edx
call fcn.0040d320
add esp, 0xc
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x6c], esp
mov ebp, esp
push esi
call fcn.004015c0
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.0040fc70
add esp, 4
cmp dword [esp + 0x64], 0
je 0x41d8ba
cmp dword [esp + 0x48], 0
je 0x41d8ba
cmp dword [esp + 0x60], 0
je 0x41d8ba
cmp dword [esp + 0x6c], 0
je 0x41d8ba
lea ecx, [esp + 0x30]
call fcn.00401660
lea ecx, [esp + 0x4c]
call fcn.00401660
lea ecx, [esp + 0x50]
call fcn.00401660
lea ecx, [esp + 0x5c]
call fcn.00401660
lea ecx, [esp + 0x24]
call fcn.00401660
lea ecx, [esp + 0x34]
call fcn.00401660
lea ecx, [esp + 0x20]
call fcn.00401660
xor eax, eax
jmp 0x41d9cf
mov byte [esp + 0x1048], 8
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d8db
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x1048], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d903
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x1048], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d92b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x1048], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d953
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1048], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d97b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x1048], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d9a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [esp + 0x1048], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d9ca
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 5
mov ecx, dword [esp + 0x1040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1028]
xor ecx, esp
call fcn.0044027a
add esp, 0x1038
ret