Function at 0x45b6d0
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 0x4e019a
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x527f10]
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.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45b721
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.00425450
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0045b0d0
add esp, 4
cmp eax, edi
je 0x45b879
mov ecx, dword [ebp + 0x14]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x78], esp
mov dword [ebp - 0x74], esi
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45b795
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 0x45b7ce
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004b5332
cmp eax, edi
je 0x45b7e8
push ebx
push eax
mov ecx, esi
call fcn.00424e5c
jmp 0x45b7e8
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
call fcn.004bbaea
add esp, 4
push eax
push str.RegDiff_PostScan_RecurseDirs:_RegDiff_IsKeyToAvoid__s_____avoiding
mov ecx, esi
call fcn.004253df
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x74], esi
call fcn.004ad3ae
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45b80f
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 0x45b848
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004b5332
cmp eax, edi
je 0x45b862
push ebx
push eax
mov ecx, esi
call fcn.00424e5c
jmp 0x45b862
push str.General
call fcn.004bbaea
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.004253df
mov byte [ebp - 4], 4
push 1
mov byte [ebp - 4], 2
call fcn.004724a0
add esp, 0x10
jmp 0x45c51c
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 0x45c51c
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00425450
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 0x45b8cc
push edi
lea edx, [ebp - 0x18]
push edx
call fcn.0042488e
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x4eea54
call fcn.004247f7
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.Wow6432Node
call fcn.004247f7
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.00471820
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.0047dc80
add esp, 8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00424eea
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 0x45b940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x10], edi
jne 0x45b9e2
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.00425450
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0045b560
add esp, 8
cmp dword [ebx - 0xc], 0
mov byte [ebp - 0xd], 1
je 0x45b9df
push ecx
mov dword [ebp - 0x78], esp
mov edi, esp
push esi
call fcn.00425450
add esp, 4
add eax, 0x10
push 0x52defc
mov dword [edi], eax
call fcn.00471000
add esp, 8
test eax, eax
jne 0x45b9df
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.004247f7
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.General
call fcn.004247f7
push 1
mov byte [ebp - 4], 6
call fcn.004724a0
add esp, 0x10
lea edx, [ebp - 0x18]
push edx
mov eax, 0x52defc
call fcn.00424b91
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004bc352
add esp, 4
push 0xa28
mov dword [ebp - 0x5c], eax
call fcn.004bc352
add esp, 4
mov esi, eax
push 0xa28
mov dword [ebp - 0x14], esi
call fcn.004bc352
add esp, 4
xor edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], edi
jmp 0x45ba20
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0xa28
test edi, edi
jne 0x45ba64
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 0x45c466
mov edx, dword [ebp - 0x24]
push esi
push 0x514
push edx
call fcn.004bfc1d
add esp, 0xc
mov edi, esi
call fcn.0047ab60
jmp 0x45baa3
cmp edi, 1
jne 0x45c466
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 0x45c466
mov edx, dword [ebp - 0x24]
push esi
push 0x514
push edx
call fcn.004bfc1d
add esp, 0xc
mov edi, esi
call fcn.0047abe0
cmp dword [ebp + 0x10], 0
je 0x45bba1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45bab2
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.0048e340
add esp, 4
mov dword [ebp - 0x58], eax
test eax, eax
je 0x45bb18
cmp dword [ebp - 0x30], 0
mov edi, dword [eax + 0x24]
mov byte [edi], 1
jne 0x45c2ab
mov eax, dword [ebp + 0x1c]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x40], 0
call fcn.0045afd0
add esp, 8
test al, al
je 0x45c455
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [edi + 8]
je 0x45c455
push 4
push 1
call fcn.004bc2c3
add esp, 8
mov dword [ebp - 0x50], eax
call fcn.004ad3ae
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b717
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.004ad3ae
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b717
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 0x45bbad
test esi, 0xffff0000
jne 0x45bbb1
movzx esi, si
push esi
call fcn.004b5332
test eax, eax
je 0x45bbc3
push esi
push eax
mov ecx, edi
call fcn.00424e5c
jmp 0x45bbc3
mov dword [ebp - 0x58], 0
jmp 0x45bb18
xor eax, eax
jmp 0x45bbba
push esi
call fcn.004bbaea
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.004253df
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 0x45bbf7
cmp eax, dword [esi]
jne 0x45bbf7
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x45bc32
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 0x45c59f
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.004bb571
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0045af10
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0047db90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45bc71
push esi
call fcn.004bbaea
add esp, 4
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004253df
push esi
call fcn.004bc235
add esp, 4
mov edi, dword [ebp - 0x30]
xor eax, eax
test edi, edi
jne 0x45bc7f
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.0048e620
push esi
call fcn.004bc235
add esp, 4
cmp byte [ebp - 0xd], 0
jne 0x45bcd8
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.00425450
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0045b560
add esp, 8
mov byte [ebp - 0xd], 1
test edi, edi
jne 0x45c285
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 0x45bcf0
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 0x45c285
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.00425450
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [edi], eax
mov edi, dword [0x52dec4]
add esp, 4
call fcn.0046b440
mov ecx, dword [ebp - 0x34]
add esp, 0x10
test ecx, ecx
je 0x45bf36
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
cmp edx, 1
jne 0x45bee7
test eax, eax
jbe 0x45bee7
shr eax, 1
mov edi, eax
call fcn.004ad3ae
push eax
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.004252f9
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.00425450
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046ab90
add esp, 4
test eax, eax
je 0x45be15
mov edx, edi
push edx
lea eax, [ebp - 0x68]
push str._CAMEYO_VAR_
push eax
call fcn.00424a9b
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00424eea
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 0x45be0e
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 0x45be2f
mov ecx, edi
push ecx
lea ecx, [ebp - 0x20]
call fcn.00422590
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 0x45be87
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.004247f7
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.General
call fcn.004247f7
push 1
mov byte [ebp - 4], 0xd
call fcn.004724a0
add esp, 0x18
cmp dword [ebp - 0x50], 0
je 0x45bec5
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.004247f7
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.004247f7
push 1
mov byte [ebp - 4], 0xd
call fcn.004724a0
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 0x45bf36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45bf36
push eax
push esi
push edx
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x45bf36
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.004247f7
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.004247f7
push 1
mov byte [ebp - 4], 0xa
call fcn.004724a0
add esp, 0x18
cmp dword [ebp - 0x28], 1
jne 0x45c285
mov eax, dword [ebp + 0x14]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov esi, esp
push eax
call fcn.00425450
lea edx, [ebp - 0x54]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.0046db70
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.00425450
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x44]
add esp, 4
push eax
call fcn.0046da90
add esp, 0xc
push 0x45
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x13
call fcn.004249e6
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.004bb834
add esp, 8
test eax, eax
je 0x45c022
push 0x51
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp + 0x14]
call fcn.004249e6
mov dword [ebp - 4], 0x15
mov eax, dword [eax]
push str.RegistryMACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
or ebx, 2
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004bb834
add esp, 8
test eax, eax
je 0x45c022
push 0x4b
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249e6
mov eax, dword [eax]
push str.Registry_CurrentUser_SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
or ebx, 4
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004bb834
add esp, 8
mov byte [ebp - 0xe], 0
test eax, eax
jne 0x45c026
mov byte [ebp - 0xe], 1
test bl, 4
je 0x45c050
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 0x45c050
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 0x45c081
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 0x45c081
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 0x45c0b2
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 0x45c0b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xe], 0
je 0x45c104
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004bb834
add esp, 8
test eax, eax
jne 0x45c104
mov eax, dword [ebp + 0x14]
push 0x52dee0
push 0x52dedc
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x80], esp
mov edi, esp
push eax
mov esi, 0x52ded8
call fcn.00425450
mov edx, dword [ebp + 0x1c]
add esp, 4
add eax, 0x10
push edx
mov ecx, esi
mov dword [edi], eax
call fcn.0044165a
add esp, 0x10
push 0x33
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp + 0x14]
call fcn.004249e6
mov eax, dword [eax]
push str.RegistryMACHINESystemCurrentControlSetServices_
push eax
call fcn.004bb834
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 0x45c146
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x45c1af
mov ecx, dword [ebp - 0x14]
push str.DisplayName
push ecx
call fcn.004bb834
add esp, 8
test eax, eax
jne 0x45c1af
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.004247f7
push ecx
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x7c], esp
push str.General
call fcn.004247f7
push 1
mov byte [ebp - 4], 0x13
call fcn.004724a0
push 0x4f0e18
call fcn.004bbaea
add esp, 0x14
push eax
push 0x4f0e18
mov ecx, 0x52df14
call fcn.004253df
mov eax, dword [ebp - 0x54]
push str.RegistryMACHINESOFTWAREClasses
push eax
call fcn.004bb834
mov edi, dword [ebp - 0x44]
add esp, 8
test eax, eax
jne 0x45c242
mov eax, dword [edi - 0xc]
cmp eax, 1
jle 0x45c242
test eax, eax
jl 0x45c5a4
movzx eax, word [edi]
cmp ax, 0x2e
jne 0x45c242
mov eax, dword [ebp - 0x14]
mov ecx, 0x4eea54
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45c20e
test dx, dx
je 0x45c20a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45c20e
add eax, 4
add ecx, 4
test dx, dx
jne 0x45c1e8
xor eax, eax
jmp 0x45c213
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x45c242
push 0x52df18
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x80], esp
mov esi, esp
push eax
call fcn.00425450
mov ecx, dword [ebp + 0x20]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0044107b
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 0x45c262
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 0x45c285
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 0x45c2a8
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 0x45c455
call fcn.004ad3ae
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b717
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.004ad3ae
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45b717
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 0x45c332
test esi, 0xffff0000
jne 0x45c336
movzx esi, si
push esi
call fcn.004b5332
test eax, eax
je 0x45c348
push esi
push eax
mov ecx, edi
call fcn.00424e5c
jmp 0x45c348
xor eax, eax
jmp 0x45c33f
push esi
call fcn.004bbaea
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.004253df
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 0x45c37c
cmp eax, dword [esi]
jne 0x45c37c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x45c3b7
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 0x45c59f
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.004bb571
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 0x17
call fcn.0045af10
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x24]
push edi
call fcn.0049e280
mov ebx, dword [ebp - 0x50]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45c432
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.00425450
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.00425450
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.0045b6d0
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 0x45c452
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 0x45ba25
inc edi
cmp edi, 1
mov dword [ebp - 0x30], edi
jle 0x45ba20
push esi
call fcn.004bc235
mov ecx, dword [ebp - 0x24]
add esp, 4
push ecx
call fcn.004bc235
mov edx, dword [ebp - 0x5c]
add esp, 4
push edx
call fcn.004bc235
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x45c4a2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x45c4f9
mov edi, dword [eax + 0x14]
test edi, edi
je 0x45c4f9
mov ebx, dword [edi + 0x24]
cmp byte [ebx], 0
jne 0x45c4f2
push 4
push 1
call fcn.004bc2c3
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.0048e620
push esi
call fcn.004bc235
add esp, 4
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x45c4b0
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 0x45c51c
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 0x45c53f
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 0x45c562
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 0x45c588
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.00422585
push 0x80070057
call fcn.00422000
int3