Function at 0x462d50
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 0x4f971a
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5470b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], edi
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x462da1
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 - 0x78], esp
mov esi, esp
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x34], edi
call fcn.00425486
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00462750
add esp, 4
cmp eax, edi
je 0x462ef9
mov ecx, dword [ebp + 0x14]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x78], esp
mov dword [ebp - 0x74], esi
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x462e15
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 0x462e4e
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
cmp eax, edi
je 0x462e68
push ebx
push eax
mov ecx, esi
call fcn.00424e92
jmp 0x462e68
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
call fcn.004d1e6a
add esp, 4
push eax
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov ecx, esi
call fcn.00425415
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x74], esi
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x462e8f
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 0x462ec8
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
cmp eax, edi
je 0x462ee2
push ebx
push eax
mov ecx, esi
call fcn.00424e92
jmp 0x462ee2
push str.General
call fcn.004d1e6a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00425415
mov byte [ebp - 4], 4
push 1
mov byte [ebp - 4], 2
call fcn.00479f70
add esp, 0x10
jmp 0x463b9c
mov ebx, dword [ebp + 0x1c]
push edi
push edi
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x60]
push edx
push edi
push edi
lea eax, [ebp - 0x64]
push eax
push edi
push edi
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x463b9c
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00425486
add eax, 0x10
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, edi
je 0x462f4c
push edi
lea edx, [ebp - 0x18]
push edx
call fcn.0042488c
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x507cec
call fcn.004247f5
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.Wow6432Node
call fcn.004247f5
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.004792f0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.004856d0
add esp, 8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00424f20
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462fc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], edi
jne 0x463062
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
push ecx
push ecx
lea esi, [ebx - 0x10]
mov dword [ebp - 0x78], esp
mov edi, esp
push esi
call fcn.00425486
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00462be0
add esp, 8
cmp dword [ebx - 0xc], 0
mov byte [ebp - 0xd], 1
je 0x46305f
push ecx
mov dword [ebp - 0x78], esp
mov edi, esp
push esi
call fcn.00425486
add esp, 4
add eax, 0x10
push 0x54d4b8
mov dword [edi], eax
call fcn.00478ad0
add esp, 8
test eax, eax
jne 0x46305f
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.__RegDiff_PostScan_RecurseDirs:_new_key__adding_to_NewKeys:__s
call fcn.004247f5
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.General
call fcn.004247f5
push 1
mov byte [ebp - 4], 6
call fcn.00479f70
add esp, 0x10
lea edx, [ebp - 0x18]
push edx
mov eax, 0x54d4b8
call fcn.00424b8f
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004d21c4
add esp, 4
push 0xa28
mov dword [ebp - 0x5c], eax
call fcn.004d21c4
add esp, 4
mov esi, eax
push 0xa28
mov dword [ebp - 0x14], esi
call fcn.004d21c4
add esp, 4
xor edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], edi
jmp 0x4630a0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0xa28
test edi, edi
jne 0x4630e4
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 0x463ae6
mov edx, dword [ebp - 0x24]
push esi
push 0x514
push edx
call fcn.004d6226
add esp, 0xc
mov edi, esi
call fcn.00482560
jmp 0x463123
cmp edi, 1
jne 0x463ae6
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 0x463ae6
mov edx, dword [ebp - 0x24]
push esi
push 0x514
push edx
call fcn.004d6226
add esp, 0xc
mov edi, esi
call fcn.004825e0
cmp dword [ebp + 0x10], 0
je 0x463221
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463132
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.00495f20
add esp, 4
mov dword [ebp - 0x58], eax
test eax, eax
je 0x463198
cmp dword [ebp - 0x30], 0
mov edi, dword [eax + 0x24]
mov byte [edi], 1
jne 0x46392b
mov eax, dword [ebp + 0x1c]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x40], 0
call fcn.00462650
add esp, 8
test al, al
je 0x463ad5
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [edi + 8]
je 0x463ad5
push 4
push 1
call fcn.004d2c2a
add esp, 8
mov dword [ebp - 0x50], eax
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x462d97
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 - 0x40], esp
mov dword [ebp - 0x28], edi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x462d97
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 0x46322d
test esi, 0xffff0000
jne 0x463231
movzx esi, si
push esi
call fcn.004cb124
test eax, eax
je 0x463243
push esi
push eax
mov ecx, edi
call fcn.00424e92
jmp 0x463243
mov dword [ebp - 0x58], 0
jmp 0x463198
xor eax, eax
jmp 0x46323a
push esi
call fcn.004d1e6a
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.00425415
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 - 0x28], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x463277
cmp eax, dword [esi]
jne 0x463277
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4632b2
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 0x463c1f
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.004d18eb
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00462590
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004855e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4632f1
push esi
call fcn.004d1e6a
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00425415
push esi
call fcn.004d20e7
add esp, 4
mov edi, dword [ebp - 0x30]
xor eax, eax
test edi, edi
jne 0x4632ff
mov eax, 1
mov esi, dword [ebp - 0x50]
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.00496200
push esi
call fcn.004d20e7
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x463358
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00462be0
add esp, 8
mov byte [ebp - 0xd], 1
test edi, edi
jne 0x463905
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463370
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x24]
sub eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 1
xor ecx, ecx
mov word [edx + eax*2 - 0xa], cx
mov edx, dword [ebp + 0x1c]
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x28]
push ecx
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x463905
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 - 0x50], esp
mov edi, esp
push eax
call fcn.00425486
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [edi], eax
mov edi, dword [0x54d480]
add esp, 4
call fcn.00472dc0
mov ecx, dword [ebp - 0x34]
add esp, 0x10
test ecx, ecx
je 0x4635b6
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
cmp edx, 1
jne 0x463567
test eax, eax
jbe 0x463567
shr eax, 1
mov edi, eax
call fcn.004c31da
push eax
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.0042532f
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x7c], esp
mov esi, esp
push eax
mov dword [ebp - 0x50], 0
lea edi, [ebp - 0x20]
call fcn.00425486
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00472510
add esp, 4
test eax, eax
je 0x463495
mov edx, edi
push edx
lea eax, [ebp - 0x68]
push str._CAMEYO_VAR_
push eax
call fcn.00424a99
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00424f20
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46348e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x50], 1
mov esi, dword [ebp - 0x20]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x4634af
mov ecx, edi
push ecx
lea ecx, [ebp - 0x20]
call fcn.0042258f
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
lea edx, [edi + edi]
push edx
push esi
push eax
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x463507
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x14]
push eax
push ebx
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.RegDiff_PostScan_RecurseDirs:_failed_setting_ExportHive_SZ_value__s_s__LE_d
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.General
call fcn.004247f5
push 1
mov byte [ebp - 4], 0xd
call fcn.00479f70
add esp, 0x18
cmp dword [ebp - 0x50], 0
je 0x463545
mov eax, dword [ebp + 0x14]
push esi
push ebx
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.RegDiff_PostScan_RecurseDirs:_setting_variablized_SZ_value__s_s_s__ExportHive_
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.004247f5
push 1
mov byte [ebp - 4], 0xd
call fcn.00479f70
add esp, 0x18
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4635b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4635b6
push eax
push esi
push edx
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4635b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
push eax
push ebx
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.RegDiff_PostScan_RecurseDirs:_failed_setting_ExportHive_value__s_s__LE_d
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.004247f5
push 1
mov byte [ebp - 4], 0xa
call fcn.00479f70
add esp, 0x18
cmp dword [ebp - 0x28], 1
jne 0x463905
mov eax, dword [ebp + 0x14]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov esi, esp
push eax
call fcn.00425486
lea edx, [ebp - 0x54]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00475640
add esp, 0xc
mov byte [ebp - 4], 0x12
mov eax, dword [ebp + 0x14]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x44]
add esp, 4
push eax
call fcn.00475560
add esp, 0xc
push 0x45
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x13
call fcn.004249e4
mov byte [ebp - 4], 0x14
mov ebx, dword [ebp - 0x1c]
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 1
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004d1bae
add esp, 8
test eax, eax
je 0x4636a2
push 0x51
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp + 0x14]
call fcn.004249e4
mov dword [ebp - 4], 0x15
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
or ebx, 2
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004d1bae
add esp, 8
test eax, eax
je 0x4636a2
push 0x4b
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249e4
mov eax, dword [eax]
push str.Registry_CurrentUser_SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 4
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004d1bae
add esp, 8
mov byte [ebp - 0xe], 0
test eax, eax
jne 0x4636a6
mov byte [ebp - 0xe], 1
test bl, 4
je 0x4636d0
mov eax, dword [ebp - 0x6c]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4636d0
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 0x463701
mov eax, dword [ebp - 0x70]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463701
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 0x463732
mov eax, dword [ebp - 0x74]
and ebx, 0xfffffffe
add eax, 0xfffffff0
mov dword [ebp - 0x1c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463732
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xe], 0
je 0x463784
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x463784
mov eax, dword [ebp + 0x14]
push 0x54d49c
push 0x54d498
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov edi, esp
push eax
mov esi, 0x54d494
call fcn.00425486
mov edx, dword [ebp + 0x1c]
add esp, 4
add eax, 0x10
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.0044629a
add esp, 0x10
push 0x33
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249e4
mov eax, dword [eax]
push str.RegistryMACHINESystemCurrentControlSetServices_
push eax
call fcn.004d1bae
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x78]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4637c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46382f
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004d1bae
add esp, 8
test eax, eax
jne 0x46382f
mov edx, dword [ebp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.RegDiff_PostScan_RecurseDirs:_new_Service_found_in__s
call fcn.004247f5
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.004247f5
push 1
mov byte [ebp - 4], 0x13
call fcn.00479f70
push 0x50a0d0
call fcn.004d1e6a
add esp, 0x14
push eax
push 0x50a0d0
mov ecx, 0x54d4d0
call fcn.00425415
mov eax, dword [ebp - 0x54]
push str.RegistryMACHINESOFTWAREClasses
push eax
call fcn.004d1bae
mov edi, dword [ebp - 0x44]
add esp, 8
test eax, eax
jne 0x4638c2
mov eax, dword [edi - 0xc]
cmp eax, 1
jle 0x4638c2
test eax, eax
jl 0x463c24
movzx eax, word [edi]
cmp ax, 0x2e
jne 0x4638c2
mov eax, dword [ebp - 0x14]
mov ecx, 0x507cec
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46388e
test dx, dx
je 0x46388a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46388e
add eax, 4
add ecx, 4
test dx, dx
jne 0x463868
xor eax, eax
jmp 0x463893
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4638c2
push 0x54d4d4
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x80], esp
mov esi, esp
push eax
call fcn.00425486
mov ecx, dword [ebp + 0x20]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00445cbb
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 0x4638e2
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 - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463905
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 0x463928
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 0x463ad5
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x462d97
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push ecx
mov byte [ebp - 4], 0x17
mov edi, esp
mov dword [ebp - 0x80], esp
mov dword [ebp - 0x7c], edi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x462d97
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 - 0x24]
mov byte [ebp - 4], 0x18
test esi, esi
je 0x4639b2
test esi, 0xffff0000
jne 0x4639b6
movzx esi, si
push esi
call fcn.004cb124
test eax, eax
je 0x4639c8
push esi
push eax
mov ecx, edi
call fcn.00424e92
jmp 0x4639c8
xor eax, eax
jmp 0x4639bf
push esi
call fcn.004d1e6a
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.00425415
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 - 0x7c], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4639fc
cmp eax, dword [esi]
jne 0x4639fc
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x463a37
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 0x463c1f
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.004d18eb
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 0x17
call fcn.00462590
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x24]
push edi
call fcn.004b43f0
mov ebx, dword [ebp - 0x50]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x463ab2
mov eax, dword [ebp + 0x18]
push edi
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov edi, esp
push eax
call fcn.00425486
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1a
lea eax, [ebx - 0x10]
mov dword [ebp - 0x7c], esp
mov edi, esp
push eax
call fcn.00425486
mov ecx, dword [ebp - 0x58]
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.00462d50
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 0x463ad2
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 0x4630a5
inc edi
cmp edi, 1
mov dword [ebp - 0x30], edi
jle 0x4630a0
push esi
call fcn.004d20e7
mov ecx, dword [ebp - 0x24]
add esp, 4
push ecx
call fcn.004d20e7
mov edx, dword [ebp - 0x5c]
add esp, 4
push edx
call fcn.004d20e7
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x463b22
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x463b79
mov edi, dword [eax + 0x14]
test edi, edi
je 0x463b79
mov ebx, dword [edi + 0x24]
cmp byte [ebx], 0
jne 0x463b72
push 4
push 1
call fcn.004d2c2a
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.00496200
push esi
call fcn.004d20e7
add esp, 4
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x463b30
mov byte [ebp - 4], 2
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 0x463b9c
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 0x463bbf
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 0x463be2
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 0x463c08
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.00428a57
push 0x80070057
call fcn.00422000
int3