Function at 0x420860
Capabilities:
Create process on windows
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c6b1
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x60c9c8]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x248], ecx
call fcn.0043e2f8
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4208b3
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], edi
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4208e2
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 1
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420912
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push edi
push edx
mov byte [ebp - 4], 2
mov word [ebp - 0x218], cx
call fcn.00531fb0
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x288]
push eax
mov dword [ebp - 0x234], 0xffffffff
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x224], edi
call fcn.00531fb0
add esp, 0x18
mov dword [ebp - 0x28c], 0x44
test ebx, ebx
jne 0x420a10
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4209b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4209df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x420d8d
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x420a1e
mov edi, 1
push edi
mov edi, dword [ebp - 0x248]
mov ecx, edi
call fcn.0041ac80
test eax, eax
jne 0x420aab
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420a50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x420d8d
push 0x104
lea ecx, [ebp - 0x218]
push ebx
push ecx
call fcn.00533ecc
add esp, 0xc
test eax, eax
jne 0x420b3f
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420ae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x420d8d
mov eax, dword [edi + 0x140]
test eax, eax
je 0x420ba7
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x420ba7
mov ecx, dword [edi + 0x140]
push ebx
call fcn.00429240
mov eax, dword [edi + 0x140]
test eax, eax
je 0x420b70
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x8001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x140]
test eax, eax
je 0x420b8d
mov eax, dword [eax + 0x20]
push eax
push str._CPYDLGHDL:
lea edx, [ebp - 0x220]
push str._s_x
push edx
call fcn.004047a0
add esp, 0x10
cmp dword [0x60dfe0], 0
lea ecx, [ebp - 0x228]
je 0x420bbd
push str._SILENT
jmp 0x420bc2
push str._NOEULA
call fcn.00403770
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x228]
push str._SUBINSTALL
push eax
push ecx
push str.SOFTWARECanonIJAppInstaller
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push str._s__s__s__s_s
push eax
call fcn.004047a0
mov eax, dword [ebp - 0x21c]
add esp, 0x1c
cmp dword [eax - 4], 1
jle 0x420c15
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00402d60
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x420d02
mov edx, dword [ebp - 0x240]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x244]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x244]
push ecx
call esi
lea esi, [edi + 0x158]
mov edi, 1
push edi
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x230]
push ecx
push str.APPLICATION_COMPLETED
push str.SOFTWARECanonIJAppInstaller
mov ebx, 4
push 0x80000002
mov ecx, esi
mov dword [ebp - 0x224], ebx
call fcn.0040b080
test eax, eax
je 0x420d02
cmp dword [ebp - 0x22c], edi
jne 0x420d02
push edi
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x230]
push ecx
push str.REBOOT
push str.SOFTWARECanonIJAppInstaller
push 0x80000002
mov ecx, esi
mov dword [ebp - 0x224], ebx
call fcn.0040b080
test eax, eax
je 0x420d02
xor edx, edx
cmp dword [ebp - 0x22c], edi
sete dl
mov dword [ebp - 0x234], edx
push str.SOFTWARECanonIJAppInstaller
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x234]
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.00531f97
mov esp, ebp
pop ebp
ret 8