Function at 0x43eef0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6228
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x5f537c]
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
lea eax, [ecx + 0x300]
mov ecx, eax
mov dword [ebp - 0x4d8], eax
call fcn.004496e0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x438], 0
push 0
push eax
call fcn.0056c750
add esp, 0xc
mov dword [ebp - 0x42c], 0
lea eax, [ebp - 0x438]
push eax
push 0x10b
push 0
push str.SYSTEMCurrentControlSetServices
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x43f413
xor esi, esi
lea eax, [ebp - 0x420]
push 0x208
push esi
push eax
mov dword [ebp - 0x4dc], esi
call fcn.0056c750
add esp, 0xc
mov dword [ebp - 0x430], 0x104
lea eax, [ebp - 0x430]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x420]
push eax
push esi
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43f406
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [eax]
lea eax, [ebp - 0x434]
mov dword [ebp - 0x434], 0
push eax
push 1
push 0
lea eax, [ebp - 0x420]
mov dword [ebp - 0x428], 0
push eax
push dword [ebp - 0x438]
mov dword [ebp - 0x424], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f3a1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
push 0x5b4fc4
push dword [ebp - 0x434]
call ebx
test eax, eax
jne 0x43f389
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x43f064
cmp eax, 2
jne 0x43f389
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
push str.Type
push dword [ebp - 0x434]
call ebx
test eax, eax
jne 0x43f389
test dword [ebp - 0x428], 0xf
jne 0x43f389
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x43c]
push eax
push 1
push 0
push 0x5b4fdc
push dword [ebp - 0x434]
mov dword [ebp - 0x424], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
jne 0x43f251
push str.ServiceDll
push dword [ebp - 0x43c]
call ebx
test eax, eax
jne 0x43f244
lea ecx, [ebp - 0x48c]
call fcn.0041d2d0
push str.SYSTEMCurrentControlSetServices_
lea ecx, [ebp - 0x52c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x48c], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004059a0
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x50c]
push eax
call fcn.004033f0
push str.Parameters
push eax
lea eax, [ebp - 0x4f4]
mov byte [ebp - 4], 2
push eax
call fcn.004033f0
add esp, 0x18
lea ecx, [ebp - 0x488]
push eax
call fcn.0041ec80
lea ecx, [ebp - 0x4f4]
call fcn.00406670
lea ecx, [ebp - 0x50c]
call fcn.00406670
lea ecx, [ebp - 0x52c]
mov byte [ebp - 4], 0
call fcn.00406670
push 0xa
push str.ServiceDll
lea ecx, [ebp - 0x46c]
mov byte [ebp - 0x470], 1
call fcn.0040cb10
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f1b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.0040cb10
cmp dword [ebp - 0x440], 8
lea ecx, [ebp - 0x454]
mov edx, dword [ebp - 0x454]
lea edi, [ebp - 0x454]
mov eax, dword [ebp - 0x444]
cmovae ecx, edx
push fcn.0058041e
cmovae edi, edx
push edi
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x454]
cmovae ecx, edx
lea eax, [ebp - 0x510]
push ecx
push eax
call fcn.0041bc90
mov ecx, dword [ebp - 0x4d8]
lea eax, [ebp - 0x48c]
add esp, 0x14
push eax
call fcn.0044b670
lea ecx, [ebp - 0x48c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041eb00
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x43c]
call edi
jmp 0x43f389
push str.ImagePath
push dword [ebp - 0x434]
call ebx
test eax, eax
jne 0x43f389
lea ecx, [ebp - 0x48c]
call fcn.0041d2d0
push str.SYSTEMCurrentControlSetServices_
lea ecx, [ebp - 0x4f4]
mov dword [ebp - 4], 3
mov dword [ebp - 0x48c], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004059a0
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x52c]
push eax
call fcn.004033f0
add esp, 0xc
lea ecx, [ebp - 0x488]
push eax
call fcn.0041ec80
lea ecx, [ebp - 0x52c]
call fcn.00406670
lea ecx, [ebp - 0x4f4]
mov byte [ebp - 4], 3
call fcn.00406670
push 9
push str.ImagePath
lea ecx, [ebp - 0x46c]
mov byte [ebp - 0x470], 1
call fcn.0040cb10
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f2f5
sub eax, edx
lea ecx, [ebp - 0x454]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040cb10
cmp dword [ebp - 0x440], 8
lea ecx, [ebp - 0x454]
mov edx, dword [ebp - 0x454]
lea edi, [ebp - 0x454]
mov eax, dword [ebp - 0x444]
cmovae ecx, edx
push fcn.0058041e
cmovae edi, edx
push edi
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x454]
cmovae ecx, edx
lea eax, [ebp - 0x514]
push ecx
push eax
call fcn.0041bc90
mov ecx, dword [ebp - 0x4d8]
lea eax, [ebp - 0x48c]
add esp, 0x14
push eax
call fcn.0044b670
lea ecx, [ebp - 0x48c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041eb00
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x434]
call edi
mov esi, dword [ebp - 0x4dc]
mov dword [ebp - 0x434], 0
push 0x208
lea eax, [ebp - 0x420]
inc esi
push 0
push eax
mov dword [ebp - 0x4dc], esi
call fcn.0056c750
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056c750
add esp, 0x18
mov dword [ebp - 0x430], 0x104
lea eax, [ebp - 0x430]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x420]
push eax
push esi
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43efe0
push dword [ebp - 0x438]
call edi
jmp 0x43f4f9
call fcn.00484370
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43f4f9
push 0x6a
push str.d:jenkins.jenkinsworkspacegroup_clean_software_pm_software_pm_software_pm_ui_src_software_pm_ui_wnd.cc
lea ecx, [ebp - 0x4f4]
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4e0], 0xf
mov byte [ebp - 0x4f4], al
call fcn.0040ca10
push 3
push 0x5b1a28
lea ecx, [ebp - 0x50c]
mov dword [ebp - 4], 5
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x4f8], 0xf
mov byte [ebp - 0x50c], 0
call fcn.0040ca10
mov byte [ebp - 4], 6
call fcn.00484370
mov edi, eax
lea ecx, [ebp - 0x4d4]
push 0xfc7
lea eax, [ebp - 0x4f4]
push eax
lea eax, [ebp - 0x50c]
push eax
call fcn.00405a00
mov esi, eax
push str.ScanServices:
push esi
mov byte [ebp - 4], 7
call fcn.00406dc0
add esp, 8
mov ecx, esi
push ebx
call fcn.00406c20
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x4d4]
call fcn.004070e0
lea ecx, [ebp - 0x50c]
call fcn.00406620
lea ecx, [ebp - 0x4f4]
call fcn.00406620
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.0045a8ed
mov esp, ebp
pop ebp
ret