Function at 0x465d20
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 0x4f139a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x53f100]
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.004bcd4c
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x465d71
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.00425422
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00465720
add esp, 4
cmp eax, edi
je 0x465ec9
mov ecx, dword [ebp + 0x14]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x70], esi
call fcn.004bcd4c
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x465de5
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 0x465e1e
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c4eeb
cmp eax, edi
je 0x465e38
push ebx
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x465e38
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
call fcn.004cbe7a
add esp, 4
push eax
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov ecx, esi
call fcn.004253b1
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x70], esp
mov dword [ebp - 0x70], esi
call fcn.004bcd4c
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x465e5f
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 0x465e98
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c4eeb
cmp eax, edi
je 0x465eb2
push ebx
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x465eb2
push str.General
call fcn.004cbe7a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.004253b1
mov byte [ebp - 4], 4
push 1
mov byte [ebp - 4], 2
call fcn.0047d7f0
add esp, 0x10
jmp 0x466b8c
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 0x466b8c
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00425422
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 0x465f1c
push edi
lea edx, [ebp - 0x1c]
push edx
call fcn.00424880
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x50107c
call fcn.004247e9
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.Wow6432Node
call fcn.004247e9
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0047cb70
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00489170
add esp, 8
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00424eee
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 0x465f90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], edi
jne 0x466032
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.00425422
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00465bb0
add esp, 8
cmp dword [ebx - 0xc], 0
mov byte [ebp - 0xd], 1
je 0x46602f
push ecx
mov dword [ebp - 0x74], esp
mov edi, esp
push esi
call fcn.00425422
add esp, 4
add eax, 0x10
push 0x545268
mov dword [edi], eax
call fcn.0047c350
add esp, 8
test eax, eax
jne 0x46602f
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.004247e9
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.004247e9
push 1
mov byte [ebp - 4], 6
call fcn.0047d7f0
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, 0x545268
call fcn.00424b98
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004cc1d4
add esp, 4
push 0xa28
mov dword [ebp - 0x58], eax
call fcn.004cc1d4
add esp, 4
mov esi, eax
push 0xa28
mov dword [ebp - 0x14], esi
call fcn.004cc1d4
add esp, 4
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], edi
jmp 0x466070
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0xa28
test edi, edi
jne 0x4660b4
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 0x466ad6
mov edx, dword [ebp - 0x18]
push esi
push 0x514
push edx
call fcn.004d0206
add esp, 0xc
mov edi, esi
call fcn.00485df0
jmp 0x4660f3
cmp edi, 1
jne 0x466ad6
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 0x466ad6
mov edx, dword [ebp - 0x18]
push esi
push 0x514
push edx
call fcn.004d0206
add esp, 0xc
mov edi, esi
call fcn.00485e70
cmp dword [ebp + 0x10], 0
je 0x4661f1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466102
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.00499a80
add esp, 4
mov dword [ebp - 0x54], eax
test eax, eax
je 0x466168
cmp dword [ebp - 0x30], 0
mov edi, dword [eax + 0x24]
mov byte [edi], 1
jne 0x46691b
mov eax, dword [ebp + 0x1c]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x40], 0
call fcn.00465620
add esp, 8
test al, al
je 0x466ac5
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [edi + 8]
je 0x466ac5
push 4
push 1
call fcn.004ccc3a
add esp, 8
mov dword [ebp - 0x40], eax
call fcn.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465d67
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.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465d67
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 0x4661fd
test esi, 0xffff0000
jne 0x466201
movzx esi, si
push esi
call fcn.004c4eeb
test eax, eax
je 0x466213
push esi
push eax
mov ecx, edi
call fcn.00424e60
jmp 0x466213
mov dword [ebp - 0x54], 0
jmp 0x466168
xor eax, eax
jmp 0x46620a
push esi
call fcn.004cbe7a
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.004253b1
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 0x466247
cmp eax, dword [esi]
jne 0x466247
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x466282
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 0x466c0f
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.004cb905
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00465560
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00489080
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4662c1
push esi
call fcn.004cbe7a
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004253b1
push esi
call fcn.004cc0f7
add esp, 4
mov edi, dword [ebp - 0x30]
xor eax, eax
test edi, edi
jne 0x4662cf
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.00499d60
push esi
call fcn.004cc0f7
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x466328
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.00425422
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00465bb0
add esp, 8
mov byte [ebp - 0xd], 1
test edi, edi
jne 0x4668f5
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 0x466341
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 0x4668f5
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.00425422
add eax, 0x10
mov dword [edi], eax
mov edi, dword [0x545230]
add esp, 4
mov ecx, ebx
call fcn.004761c0
mov ecx, dword [ebp - 0x34]
add esp, 0x10
test ecx, ecx
je 0x4665a6
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
cmp edx, 1
jne 0x466554
test eax, eax
jbe 0x466554
shr eax, 1
mov edi, eax
call fcn.004bcd4c
push eax
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.004252cb
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.00425422
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004758a0
add esp, 4
test eax, eax
je 0x46645a
mov edx, edi
push edx
lea eax, [ebp - 0x64]
push str._CAMEYO_VAR_
push eax
call fcn.00424a8d
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00424eee
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 0x466455
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 0x466474
mov ecx, edi
push ecx
lea ecx, [ebp - 0x24]
call fcn.0042254b
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 0x4664cf
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.004247e9
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.004247e9
push 1
mov byte [ebp - 4], 0xd
call fcn.0047d7f0
add esp, 0x18
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004cbe5b
add esp, 8
test eax, eax
jl 0x466c14
cmp eax, dword [esi - 8]
jg 0x466c14
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
je 0x466532
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.004247e9
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.004247e9
push 1
mov byte [ebp - 4], 0xd
call fcn.0047d7f0
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 0x4665a6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x4665a6
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 0x4665a6
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.004247e9
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.004247e9
push 1
mov byte [ebp - 4], 0xa
call fcn.0047d7f0
add esp, 0x18
cmp dword [ebp - 0x28], 1
jne 0x4668f5
mov eax, dword [ebp + 0x14]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov esi, esp
push eax
call fcn.00425422
lea edx, [ebp - 0x50]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00478a20
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.00425422
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x44]
add esp, 4
push eax
call fcn.00478940
add esp, 0xc
push 0x45
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x13
call fcn.004249d8
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.004cbbc8
add esp, 8
test eax, eax
je 0x466692
push 0x51
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp + 0x14]
call fcn.004249d8
mov dword [ebp - 4], 0x15
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
or ebx, 2
push eax
mov dword [ebp - 0x20], ebx
call fcn.004cbbc8
add esp, 8
test eax, eax
je 0x466692
push 0x4b
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249d8
mov eax, dword [eax]
push str.Registry_CurrentUser_SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 4
push eax
mov dword [ebp - 0x20], ebx
call fcn.004cbbc8
add esp, 8
mov byte [ebp - 0xe], 0
test eax, eax
jne 0x466696
mov byte [ebp - 0xe], 1
test bl, 4
je 0x4666c0
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 0x4666c0
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 0x4666f1
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 0x4666f1
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 0x466722
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 0x466722
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xe], 0
je 0x466774
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004cbbc8
add esp, 8
test eax, eax
jne 0x466774
mov eax, dword [ebp + 0x14]
push 0x54524c
push 0x545248
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov edi, esp
push eax
mov esi, 0x545244
call fcn.00425422
mov edx, dword [ebp + 0x1c]
add esp, 4
add eax, 0x10
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.0044910c
add esp, 0x10
push 0x33
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249d8
mov eax, dword [eax]
push str.RegistryMACHINESystemCurrentControlSetServices_
push eax
call fcn.004cbbc8
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 0x4667b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46681f
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004cbbc8
add esp, 8
test eax, eax
jne 0x46681f
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.004247e9
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.004247e9
push 1
mov byte [ebp - 4], 0x13
call fcn.0047d7f0
push 0x5034b0
call fcn.004cbe7a
add esp, 0x14
push eax
push 0x5034b0
mov ecx, 0x545280
call fcn.004253b1
mov eax, dword [ebp - 0x50]
push str.RegistryMACHINESOFTWAREClasses
push eax
call fcn.004cbbc8
mov edi, dword [ebp - 0x44]
add esp, 8
test eax, eax
jne 0x4668b2
mov eax, dword [edi - 0xc]
cmp eax, 1
jle 0x4668b2
test eax, eax
jl 0x466c14
movzx eax, word [edi]
cmp ax, 0x2e
jne 0x4668b2
mov eax, dword [ebp - 0x14]
mov ecx, 0x50107c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46687e
test dx, dx
je 0x46687a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46687e
add eax, 4
add ecx, 4
test dx, dx
jne 0x466858
xor eax, eax
jmp 0x466883
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4668b2
push 0x545284
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x7c], esp
mov esi, esp
push eax
call fcn.00425422
mov ecx, dword [ebp + 0x20]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00448b2d
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 0x4668d2
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 0x4668f5
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 0x466918
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 0x466ac5
call fcn.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465d67
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.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x465d67
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 0x4669a2
test esi, 0xffff0000
jne 0x4669a6
movzx esi, si
push esi
call fcn.004c4eeb
test eax, eax
je 0x4669b8
push esi
push eax
mov ecx, edi
call fcn.00424e60
jmp 0x4669b8
xor eax, eax
jmp 0x4669af
push esi
call fcn.004cbe7a
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.004253b1
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 0x4669ec
cmp eax, dword [esi]
jne 0x4669ec
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x466a27
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 0x466c0f
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.004cb905
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.00465560
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x18]
push edi
call fcn.004adf90
mov ebx, dword [ebp - 0x40]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x466aa2
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.00425422
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.00425422
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.00465d20
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 0x466ac2
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 0x466075
inc edi
cmp edi, 1
mov dword [ebp - 0x30], edi
jle 0x466070
push esi
call fcn.004cc0f7
mov ecx, dword [ebp - 0x18]
add esp, 4
push ecx
call fcn.004cc0f7
mov edx, dword [ebp - 0x58]
add esp, 4
push edx
call fcn.004cc0f7
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x466b12
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x466b69
mov edi, dword [eax + 0x14]
test edi, edi
je 0x466b69
mov ebx, dword [edi + 0x24]
cmp byte [ebx], 0
jne 0x466b62
push 4
push 1
call fcn.004ccc3a
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.00499d60
push esi
call fcn.004cc0f7
add esp, 4
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x466b20
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 0x466b8c
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 0x466baf
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 0x466bd2
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 0x466bf8
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.004265d7
push 0x80070057
call fcn.00422000
int3