Function at 0x472d80
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a159b
mov eax, dword fs:[0]
push eax
sub esp, 0xac0
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push str.OperateService::StartPrintBuddyProcess
lea ecx, [ebp - 0xa6c]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x472e04
test byte [ecx + 0x1c], 1
je 0x472e04
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cf518
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x3d
call fcn.00401840
add esp, 0xc
push 0x208
lea eax, [ebp - 0x234]
mov dword [ebp - 0xa70], 0
push 0
push eax
call fcn.00571c00
movups xmm0, xmmword [str.InstalledPath]
mov eax, dword [0x5cf0c4]
push 0x800
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xa34]
movups xmmword [ebp - 0x2c], xmm0
push 0
movq xmm0, qword [0x5cf0bc]
push eax
mov dword [ebp - 0xa74], 0
movq qword [ebp - 0x1c], xmm0
call fcn.00571c00
push str.SoftwareCanonPrint_BuddyIIInstall
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.005746e6
add esp, 0x24
lea eax, [ebp - 0xa70]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x234]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47304e
lea eax, [ebp - 0xa74]
mov dword [ebp - 0xa78], 1
push eax
lea eax, [ebp - 0xa34]
mov dword [ebp - 0xa74], 0x800
push eax
lea eax, [ebp - 0xa78]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xa70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa70]
test eax, eax
je 0x472f97
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x472f45
test byte [ecx + 0x1c], 2
je 0x472f45
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa6c]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cf518
push esi
mov ecx, 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0xa68], 1
cmp ecx, 0x608f30
je 0x47319d
test byte [ecx + 0x1c], 1
je 0x47319d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x3f
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x473205
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x47304e
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x472ffc
test byte [ecx + 0x1c], 2
je 0x472ffc
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa6c]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cf518
push esi
mov ecx, 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0xa68], 1
cmp ecx, 0x608f30
je 0x47319d
test byte [ecx + 0x1c], 1
je 0x47319d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x41
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x473205
push str.NBadmin.exe
lea eax, [ebp - 0xa34]
push 0x400
push eax
call fcn.00574a48
add esp, 0xc
mov dword [ebp - 0xacc], 0x44
xor eax, eax
mov dword [ebp - 0xaa0], 1
mov word [ebp - 0xa8a], ax
xorps xmm0, xmm0
mov eax, 5
movlpd qword [ebp - 0xac8], xmm0
mov word [ebp - 0xa9c], ax
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0xacc]
movlpd qword [ebp - 0xac0], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xa34]
movlpd qword [ebp - 0xab8], xmm0
push eax
push 0
movlpd qword [ebp - 0xab0], xmm0
movlpd qword [ebp - 0xaa8], xmm0
movlpd qword [ebp - 0xa9a], xmm0
movlpd qword [ebp - 0xa92], xmm0
movups xmmword [ebp - 0xa88], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4731a1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x47315a
test byte [ecx + 0x1c], 2
je 0x47315a
cmp dword [0x608f68], 8
lea ecx, [ebp - 0xa6c]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5cf518
push esi
mov ecx, 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
mov ecx, dword [0x608f30]
add esp, 0x10
mov byte [ebp - 0xa68], 1
cmp ecx, 0x608f30
je 0x47319d
test byte [ecx + 0x1c], 1
je 0x47319d
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x43
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x473205
push dword [ebp - 0xa88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa84]
call esi
mov byte [ebp - 0xa68], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x473200
test byte [ecx + 0x1c], 1
je 0x473200
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov edx, 0x5cf518
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x44
call fcn.004018a0
add esp, 0x10
mov esi, 1
lea ecx, [ebp - 0xa6c]
call fcn.0040a570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret