Function at 0x465060
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 0x4f241a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x541100]
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.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4650b1
push 0x80004005
call fcn.00420000
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.00423475
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00464a60
add esp, 4
cmp eax, edi
je 0x465209
mov ecx, dword [ebp + 0x14]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x70], esi
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x465125
push 0x80004005
call fcn.00420000
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 0x46515e
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c5d7f
cmp eax, edi
je 0x465178
push ebx
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x465178
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
call fcn.004ccd1a
add esp, 4
push eax
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov ecx, esi
call fcn.00423404
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x70], esp
mov dword [ebp - 0x70], esi
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46519f
push 0x80004005
call fcn.00420000
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 0x4651d8
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c5d7f
cmp eax, edi
je 0x4651f2
push ebx
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x4651f2
push str.General
call fcn.004ccd1a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00423404
mov byte [ebp - 4], 4
push 1
mov byte [ebp - 4], 2
call fcn.0047c9c0
add esp, 0x10
jmp 0x465ecc
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 0x465ecc
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00423475
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 0x46525c
push edi
lea edx, [ebp - 0x1c]
push edx
call fcn.004228be
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x50206c
call fcn.00422827
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.Wow6432Node
call fcn.00422827
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0047bd40
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00489030
add esp, 8
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00422f41
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 0x4652d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], edi
jne 0x465372
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.00423475
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00464ef0
add esp, 8
cmp dword [ebx - 0xc], 0
mov byte [ebp - 0xd], 1
je 0x46536f
push ecx
mov dword [ebp - 0x74], esp
mov edi, esp
push esi
call fcn.00423475
add esp, 4
add eax, 0x10
push 0x547268
mov dword [edi], eax
call fcn.0047b520
add esp, 8
test eax, eax
jne 0x46536f
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.00422827
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.General
call fcn.00422827
push 1
mov byte [ebp - 4], 6
call fcn.0047c9c0
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, 0x547268
call fcn.00422beb
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004cd074
add esp, 4
push 0xa28
mov dword [ebp - 0x58], eax
call fcn.004cd074
add esp, 4
mov esi, eax
push 0xa28
mov dword [ebp - 0x14], esi
call fcn.004cd074
add esp, 4
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], edi
jmp 0x4653b0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0xa28
test edi, edi
jne 0x4653f4
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 0x465e16
mov edx, dword [ebp - 0x18]
push esi
push 0x514
push edx
call fcn.004d10a6
add esp, 0xc
mov edi, esi
call fcn.004853a0
jmp 0x465433
cmp edi, 1
jne 0x465e16
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 0x465e16
mov edx, dword [ebp - 0x18]
push esi
push 0x514
push edx
call fcn.004d10a6
add esp, 0xc
mov edi, esi
call fcn.00485420
cmp dword [ebp + 0x10], 0
je 0x465531
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465442
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.00499c90
add esp, 4
mov dword [ebp - 0x54], eax
test eax, eax
je 0x4654a8
cmp dword [ebp - 0x30], 0
mov edi, dword [eax + 0x24]
mov byte [edi], 1
jne 0x465c5b
mov eax, dword [ebp + 0x1c]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x40], 0
call fcn.00464960
add esp, 8
test al, al
je 0x465e05
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [edi + 8]
je 0x465e05
push 4
push 1
call fcn.004cdada
add esp, 8
mov dword [ebp - 0x40], eax
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4650a7
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.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4650a7
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 0x46553d
test esi, 0xffff0000
jne 0x465541
movzx esi, si
push esi
call fcn.004c5d7f
test eax, eax
je 0x465553
push esi
push eax
mov ecx, edi
call fcn.00422eb3
jmp 0x465553
mov dword [ebp - 0x54], 0
jmp 0x4654a8
xor eax, eax
jmp 0x46554a
push esi
call fcn.004ccd1a
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.00423404
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 0x465587
cmp eax, dword [esi]
jne 0x465587
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4655c2
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 0x465f4f
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.004cc7a1
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004648a0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00488f40
mov esi, eax
add esp, 0xc
test esi, esi
je 0x465601
push esi
call fcn.004ccd1a
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00423404
push esi
call fcn.004ccf97
add esp, 4
mov edi, dword [ebp - 0x30]
xor eax, eax
test edi, edi
jne 0x46560f
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.00499f70
push esi
call fcn.004ccf97
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x465668
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.00423475
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00464ef0
add esp, 8
mov byte [ebp - 0xd], 1
test edi, edi
jne 0x465c35
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 0x465681
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 0x465c35
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.00423475
add eax, 0x10
mov dword [edi], eax
mov edi, dword [0x547230]
add esp, 4
mov ecx, ebx
call fcn.00475390
mov ecx, dword [ebp - 0x34]
add esp, 0x10
test ecx, ecx
je 0x4658e6
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
cmp edx, 1
jne 0x465894
test eax, eax
jbe 0x465894
shr eax, 1
mov edi, eax
call fcn.004bdbe3
push eax
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.0042331e
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.00423475
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00474a70
add esp, 4
test eax, eax
je 0x46579a
mov edx, edi
push edx
lea eax, [ebp - 0x64]
push str._CAMEYO_VAR_
push eax
call fcn.00422acb
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00422f41
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 0x465795
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 0x4657b4
mov ecx, edi
push ecx
lea ecx, [ebp - 0x24]
call fcn.004205a0
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 0x46580f
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.00422827
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.00422827
push 1
mov byte [ebp - 4], 0xd
call fcn.0047c9c0
add esp, 0x18
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004cccfb
add esp, 8
test eax, eax
jl 0x465f54
cmp eax, dword [esi - 8]
jg 0x465f54
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test ebx, ebx
je 0x465872
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.00422827
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.00422827
push 1
mov byte [ebp - 4], 0xd
call fcn.0047c9c0
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 0x4658e6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x4658e6
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 0x4658e6
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.00422827
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.00422827
push 1
mov byte [ebp - 4], 0xa
call fcn.0047c9c0
add esp, 0x18
cmp dword [ebp - 0x28], 1
jne 0x465c35
mov eax, dword [ebp + 0x14]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov esi, esp
push eax
call fcn.00423475
lea edx, [ebp - 0x50]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00477bf0
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.00423475
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x44]
add esp, 4
push eax
call fcn.00477b10
add esp, 0xc
push 0x45
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x13
call fcn.00422a16
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.004cca64
add esp, 8
test eax, eax
je 0x4659d2
push 0x51
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp + 0x14]
call fcn.00422a16
mov dword [ebp - 4], 0x15
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
or ebx, 2
push eax
mov dword [ebp - 0x20], ebx
call fcn.004cca64
add esp, 8
test eax, eax
je 0x4659d2
push 0x4b
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x14]
call fcn.00422a16
mov eax, dword [eax]
push str.Registry_CurrentUser_SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 4
push eax
mov dword [ebp - 0x20], ebx
call fcn.004cca64
add esp, 8
mov byte [ebp - 0xe], 0
test eax, eax
jne 0x4659d6
mov byte [ebp - 0xe], 1
test bl, 4
je 0x465a00
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 0x465a00
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 0x465a31
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 0x465a31
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 0x465a62
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 0x465a62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xe], 0
je 0x465ab4
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004cca64
add esp, 8
test eax, eax
jne 0x465ab4
mov eax, dword [ebp + 0x14]
push 0x54724c
push 0x547248
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov edi, esp
push eax
mov esi, 0x547244
call fcn.00423475
mov edx, dword [ebp + 0x1c]
add esp, 4
add eax, 0x10
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.00447cc3
add esp, 0x10
push 0x33
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp + 0x14]
call fcn.00422a16
mov eax, dword [eax]
push str.RegistryMACHINESystemCurrentControlSetServices_
push eax
call fcn.004cca64
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 0x465af6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x465b5f
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004cca64
add esp, 8
test eax, eax
jne 0x465b5f
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.00422827
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.General
call fcn.00422827
push 1
mov byte [ebp - 4], 0x13
call fcn.0047c9c0
push 0x5044a0
call fcn.004ccd1a
add esp, 0x14
push eax
push 0x5044a0
mov ecx, 0x547280
call fcn.00423404
mov eax, dword [ebp - 0x50]
push str.RegistryMACHINESOFTWAREClasses
push eax
call fcn.004cca64
mov edi, dword [ebp - 0x44]
add esp, 8
test eax, eax
jne 0x465bf2
mov eax, dword [edi - 0xc]
cmp eax, 1
jle 0x465bf2
test eax, eax
jl 0x465f54
movzx eax, word [edi]
cmp ax, 0x2e
jne 0x465bf2
mov eax, dword [ebp - 0x14]
mov ecx, 0x50206c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x465bbe
test dx, dx
je 0x465bba
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x465bbe
add eax, 4
add ecx, 4
test dx, dx
jne 0x465b98
xor eax, eax
jmp 0x465bc3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x465bf2
push 0x547284
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x7c], esp
mov esi, esp
push eax
call fcn.00423475
mov ecx, dword [ebp + 0x20]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.004476e4
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 0x465c12
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 0x465c35
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 0x465c58
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 0x465e05
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4650a7
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.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4650a7
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 0x465ce2
test esi, 0xffff0000
jne 0x465ce6
movzx esi, si
push esi
call fcn.004c5d7f
test eax, eax
je 0x465cf8
push esi
push eax
mov ecx, edi
call fcn.00422eb3
jmp 0x465cf8
xor eax, eax
jmp 0x465cef
push esi
call fcn.004ccd1a
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.00423404
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 0x465d2c
cmp eax, dword [esi]
jne 0x465d2c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x465d67
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 0x465f4f
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.004cc7a1
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.004648a0
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x18]
push edi
call fcn.004aee20
mov ebx, dword [ebp - 0x40]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x465de2
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.00423475
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.00423475
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.00465060
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 0x465e02
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 0x4653b5
inc edi
cmp edi, 1
mov dword [ebp - 0x30], edi
jle 0x4653b0
push esi
call fcn.004ccf97
mov ecx, dword [ebp - 0x18]
add esp, 4
push ecx
call fcn.004ccf97
mov edx, dword [ebp - 0x58]
add esp, 4
push edx
call fcn.004ccf97
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x465e52
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x465ea9
mov edi, dword [eax + 0x14]
test edi, edi
je 0x465ea9
mov ebx, dword [edi + 0x24]
cmp byte [ebx], 0
jne 0x465ea2
push 4
push 1
call fcn.004cdada
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.00499f70
push esi
call fcn.004ccf97
add esp, 4
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x465e60
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 0x465ecc
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 0x465eef
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 0x465f12
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 0x465f38
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.00420595
push 0x80070057
call fcn.00420000
int3