Function at 0x465b20
Capabilities:
Persist via windows service
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0e3a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x53d100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], edi
call fcn.004bc4b7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x465b71
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x74], esp
mov esi, esp
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x34], edi
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00465520
add esp, 4
cmp eax, edi
je 0x465cc9
mov ecx, dword [ebp + 0x14]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x70], esi
call fcn.004bc4b7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x465be5
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x465c1e
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c463d
cmp eax, edi
je 0x465c38
push ebx
push eax
mov ecx, esi
call fcn.00424e82
jmp 0x465c38
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
call fcn.004cb5ea
add esp, 4
push eax
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov ecx, esi
call fcn.004253ae
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x70], esp
mov dword [ebp - 0x70], esi
call fcn.004bc4b7
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x465c5f
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.General
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x465c98
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c463d
cmp eax, edi
je 0x465cb2
push ebx
push eax
mov ecx, esi
call fcn.00424e82
jmp 0x465cb2
push str.General
call fcn.004cb5ea
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.004253ae
mov byte [ebp - 4], 4
push 1
mov byte [ebp - 4], 2
call fcn.0047d3f0
add esp, 0x10
jmp 0x46698c
mov ebx, dword [ebp + 0x1c]
push edi
push edi
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x5c]
push edx
push edi
push edi
lea eax, [ebp - 0x60]
push eax
push edi
push edi
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x46698c
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, edi
je 0x465d1c
push edi
lea edx, [ebp - 0x1c]
push edx
call fcn.00424881
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x50007c
call fcn.004247ea
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.Wow6432Node
call fcn.004247ea
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0047c770
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00488d00
add esp, 8
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00424f10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465d90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], edi
jne 0x465e32
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push ecx
push ecx
lea esi, [ebx - 0x10]
mov dword [ebp - 0x74], esp
mov edi, esp
push esi
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004659b0
add esp, 8
cmp dword [ebx - 0xc], 0
mov byte [ebp - 0xd], 1
je 0x465e2f
push ecx
mov dword [ebp - 0x74], esp
mov edi, esp
push esi
call fcn.0042541f
add esp, 4
add eax, 0x10
push 0x543260
mov dword [edi], eax
call fcn.0047bf50
add esp, 8
test eax, eax
jne 0x465e2f
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.__RegDiff_PostScan_RecurseDirs:_new_key__adding_to_NewKeys:__s
call fcn.004247ea
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.004247ea
push 1
mov byte [ebp - 4], 6
call fcn.0047d3f0
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, 0x543260
call fcn.00424bae
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004cb944
add esp, 4
push 0xa28
mov dword [ebp - 0x58], eax
call fcn.004cb944
add esp, 4
mov esi, eax
push 0xa28
mov dword [ebp - 0x14], esi
call fcn.004cb944
add esp, 4
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], edi
jmp 0x465e70
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0xa28
test edi, edi
jne 0x465eb4
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x38]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4668d6
mov edx, dword [ebp - 0x18]
push esi
push 0x514
push edx
call fcn.004cf976
add esp, 0xc
mov edi, esi
call fcn.00485a90
jmp 0x465ef3
cmp edi, 1
jne 0x4668d6
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4668d6
mov edx, dword [ebp - 0x18]
push esi
push 0x514
push edx
call fcn.004cf976
add esp, 0xc
mov edi, esi
call fcn.00485b10
cmp dword [ebp + 0x10], 0
je 0x465ff1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465f02
mov ecx, dword [ebp + 8]
sub eax, edx
sar eax, 1
push ecx
mov ecx, dword [ebp + 0x10]
mov edi, eax
mov ebx, esi
call fcn.004994e0
add esp, 4
mov dword [ebp - 0x54], eax
test eax, eax
je 0x465f68
cmp dword [ebp - 0x30], 0
mov edi, dword [eax + 0x24]
mov byte [edi], 1
jne 0x46671b
mov eax, dword [ebp + 0x1c]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x40], 0
call fcn.00465420
add esp, 8
test al, al
je 0x4668c5
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [edi + 8]
je 0x4668c5
push 4
push 1
call fcn.004cc3aa
add esp, 8
mov dword [ebp - 0x40], eax
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465b67
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
push ecx
mov byte [ebp - 4], 0xa
mov edi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x78], edi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465b67
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xb
test esi, esi
je 0x465ffd
test esi, 0xffff0000
jne 0x466001
movzx esi, si
push esi
call fcn.004c463d
test eax, eax
je 0x466013
push esi
push eax
mov ecx, edi
call fcn.00424e82
jmp 0x466013
mov dword [ebp - 0x54], 0
jmp 0x465f68
xor eax, eax
jmp 0x46600a
push esi
call fcn.004cb5ea
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.004253ae
mov byte [ebp - 4], 0xc
mov esi, dword [ebp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x78], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x466047
cmp eax, dword [esi]
jne 0x466047
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x466082
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x466a0f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004cb072
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00465360
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00488c10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4660c1
push esi
call fcn.004cb5ea
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004253ae
push esi
call fcn.004cb867
add esp, 4
mov edi, dword [ebp - 0x30]
xor eax, eax
test edi, edi
jne 0x4660cf
mov eax, 1
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
push 0
push 0
push 0
push 4
push esi
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
mov eax, 1
call fcn.004997c0
push esi
call fcn.004cb867
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x466128
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x78], esp
mov esi, esp
push eax
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004659b0
add esp, 8
mov byte [ebp - 0xd], 1
test edi, edi
jne 0x4666f5
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x14]
mov eax, ebx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466141
mov esi, dword [ebp - 0x58]
sub eax, edx
xor ecx, ecx
sar eax, 1
lea edx, [ebp - 0x40]
push edx
mov edx, dword [ebp + 0x1c]
push esi
mov word [ebx + eax*2 - 0xa], cx
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, dword [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4666f5
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
push esi
push eax
mov eax, dword [ebp + 0x14]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x78], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
mov dword [edi], eax
mov edi, dword [0x543228]
add esp, 4
mov ecx, ebx
call fcn.00475dc0
mov ecx, dword [ebp - 0x34]
add esp, 0x10
test ecx, ecx
je 0x4663a6
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
cmp edx, 1
jne 0x466354
test eax, eax
jbe 0x466354
shr eax, 1
mov edi, eax
call fcn.004bc4b7
push eax
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.004252c8
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x78], esp
mov esi, esp
push eax
xor ebx, ebx
lea edi, [ebp - 0x24]
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004754a0
add esp, 4
test eax, eax
je 0x46625a
mov edx, edi
push edx
lea eax, [ebp - 0x64]
push str._CAMEYO_VAR_
push eax
call fcn.00424a8e
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00424f10
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466255
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 1
mov esi, dword [ebp - 0x24]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x466274
mov ecx, edi
push ecx
lea ecx, [ebp - 0x24]
call fcn.0042254c
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
lea edx, [edi + edi]
mov edi, dword [ebp - 0x18]
push edx
push esi
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4662cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x14]
push eax
push edi
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.RegDiff_PostScan_RecurseDirs:_failed_setting_ExportHive_SZ_value__s_s__LE_d
call fcn.004247ea
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.004247ea
push 1
mov byte [ebp - 4], 0xd
call fcn.0047d3f0
add esp, 0x18
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004cb5cb
add esp, 8
test eax, eax
jl 0x466a14
cmp eax, dword [esi - 8]
jg 0x466a14
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
je 0x466332
mov edx, dword [ebp + 0x14]
push esi
push edi
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.RegDiff_PostScan_RecurseDirs:_setting_variablized_SZ_value__s_s_s__ExportHive_
call fcn.004247ea
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.004247ea
push 1
mov byte [ebp - 4], 0xd
call fcn.0047d3f0
add esp, 0x18
add esi, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4663a6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x4663a6
push eax
push esi
mov esi, dword [ebp - 0x18]
push edx
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4663a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
push eax
push esi
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.RegDiff_PostScan_RecurseDirs:_failed_setting_ExportHive_value__s_s__LE_d
call fcn.004247ea
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.004247ea
push 1
mov byte [ebp - 4], 0xa
call fcn.0047d3f0
add esp, 0x18
cmp dword [ebp - 0x28], 1
jne 0x4666f5
mov eax, dword [ebp + 0x14]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov esi, esp
push eax
call fcn.0042541f
lea edx, [ebp - 0x50]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00478620
add esp, 0xc
mov byte [ebp - 4], 0x12
mov eax, dword [ebp + 0x14]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov esi, esp
push eax
call fcn.0042541f
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x44]
add esp, 4
push eax
call fcn.00478540
add esp, 0xc
push 0x45
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x13
call fcn.004249d9
mov byte [ebp - 4], 0x14
mov ebx, dword [ebp - 0x20]
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 1
push eax
mov dword [ebp - 0x20], ebx
call fcn.004cb335
add esp, 8
test eax, eax
je 0x466492
push 0x51
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp + 0x14]
call fcn.004249d9
mov dword [ebp - 4], 0x15
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
or ebx, 2
push eax
mov dword [ebp - 0x20], ebx
call fcn.004cb335
add esp, 8
test eax, eax
je 0x466492
push 0x4b
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249d9
mov eax, dword [eax]
push str.Registry_CurrentUser_SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 4
push eax
mov dword [ebp - 0x20], ebx
call fcn.004cb335
add esp, 8
mov byte [ebp - 0xe], 0
test eax, eax
jne 0x466496
mov byte [ebp - 0xe], 1
test bl, 4
je 0x4664c0
mov eax, dword [ebp - 0x68]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [ebp - 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4664c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0x14
test bl, 2
je 0x4664f1
mov eax, dword [ebp - 0x6c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4664f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0x13
test bl, 1
je 0x466522
mov eax, dword [ebp - 0x70]
and ebx, 0xfffffffe
add eax, 0xfffffff0
mov dword [ebp - 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466522
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xe], 0
je 0x466574
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004cb335
add esp, 8
test eax, eax
jne 0x466574
mov eax, dword [ebp + 0x14]
push 0x543244
push 0x543240
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov edi, esp
push eax
mov esi, 0x54323c
call fcn.0042541f
mov edx, dword [ebp + 0x1c]
add esp, 4
add eax, 0x10
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00448fe4
add esp, 0x10
push 0x33
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249d9
mov eax, dword [eax]
push str.RegistryMACHINESystemCurrentControlSetServices_
push eax
call fcn.004cb335
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x74]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4665b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46661f
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004cb335
add esp, 8
test eax, eax
jne 0x46661f
mov edx, dword [ebp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.RegDiff_PostScan_RecurseDirs:_new_Service_found_in__s
call fcn.004247ea
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.004247ea
push 1
mov byte [ebp - 4], 0x13
call fcn.0047d3f0
push 0x5024b0
call fcn.004cb5ea
add esp, 0x14
push eax
push 0x5024b0
mov ecx, 0x543278
call fcn.004253ae
mov eax, dword [ebp - 0x50]
push str.RegistryMACHINESOFTWAREClasses
push eax
call fcn.004cb335
mov edi, dword [ebp - 0x44]
add esp, 8
test eax, eax
jne 0x4666b2
mov eax, dword [edi - 0xc]
cmp eax, 1
jle 0x4666b2
test eax, eax
jl 0x466a14
movzx eax, word [edi]
cmp ax, 0x2e
jne 0x4666b2
mov eax, dword [ebp - 0x14]
mov ecx, 0x50007c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46667e
test dx, dx
je 0x46667a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46667e
add eax, 4
add ecx, 4
test dx, dx
jne 0x466658
xor eax, eax
jmp 0x466683
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4666b2
push 0x54327c
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x7c], esp
mov esi, esp
push eax
call fcn.0042541f
mov ecx, dword [ebp + 0x20]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00448a05
mov edi, dword [ebp - 0x44]
add esp, 0xc
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x12
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4666d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4666f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
cmp dword [ebp - 0x30], 1
jne 0x4668c5
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465b67
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
push ecx
mov byte [ebp - 4], 0x17
mov edi, esp
mov dword [ebp - 0x7c], esp
mov dword [ebp - 0x78], edi
call fcn.004bc4b7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465b67
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x18
test esi, esi
je 0x4667a2
test esi, 0xffff0000
jne 0x4667a6
movzx esi, si
push esi
call fcn.004c463d
test eax, eax
je 0x4667b8
push esi
push eax
mov ecx, edi
call fcn.00424e82
jmp 0x4667b8
xor eax, eax
jmp 0x4667af
push esi
call fcn.004cb5ea
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.004253ae
mov byte [ebp - 4], 0x19
mov esi, dword [ebp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x78], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4667ec
cmp eax, dword [esi]
jne 0x4667ec
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x466827
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x466a0f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004cb072
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.00465360
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x18]
push edi
call fcn.004ad8c0
mov ebx, dword [ebp - 0x40]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4668a2
mov eax, dword [ebp + 0x18]
push edi
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov edi, esp
push eax
call fcn.0042541f
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1a
lea eax, [ebx - 0x10]
mov dword [ebp - 0x78], esp
mov edi, esp
push eax
call fcn.0042541f
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp + 0xc]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
mov eax, dword [ebp + 8]
push edx
push eax
mov byte [ebp - 4], 0x17
call fcn.00465b20
add esp, 0x1c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4668c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
inc dword [ebp - 0x48]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x30]
jmp 0x465e75
inc edi
cmp edi, 1
mov dword [ebp - 0x30], edi
jle 0x465e70
push esi
call fcn.004cb867
mov ecx, dword [ebp - 0x18]
add esp, 4
push ecx
call fcn.004cb867
mov edx, dword [ebp - 0x58]
add esp, 4
push edx
call fcn.004cb867
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x466912
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x466969
mov edi, dword [eax + 0x14]
test edi, edi
je 0x466969
mov ebx, dword [edi + 0x24]
cmp byte [ebx], 0
jne 0x466962
push 4
push 1
call fcn.004cc3aa
mov edx, dword [ebp + 0xc]
add esp, 8
push 0
mov esi, eax
mov eax, dword [ebx + 4]
push 0
push 0
or eax, 2
push 4
mov dword [esi], eax
mov ecx, dword [edi + 8]
push esi
push ecx
push edx
mov eax, 1
call fcn.004997c0
push esi
call fcn.004cb867
add esp, 4
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x466920
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46698c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4669af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4669d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4669f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00422541
push 0x80070057
call fcn.00422000
int3