Function at 0x4a4f80
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2ad1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x541100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x288], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x258], ecx
mov dword [ebp - 4], 0
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a5002
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 - 0x294], eax
mov ecx, str.RegistryMACHINESOFTWAREClasses_
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x4a5043
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c5d7f
test eax, eax
je 0x4a5061
push edi
push eax
lea ecx, [ebp - 0x294]
call fcn.00422eb3
jmp 0x4a5061
push str.RegistryMACHINESOFTWAREClasses_
call fcn.004ccd1a
add esp, 4
push eax
push str.RegistryMACHINESOFTWAREClasses_
lea ecx, [ebp - 0x294]
call fcn.00423404
push 0x50206c
mov byte [ebp - 4], 2
call fcn.004ccd1a
add esp, 4
push eax
push 0x50206c
mov ecx, ebx
call fcn.00423404
mov eax, dword [ebp - 0x24c]
lea esi, [esi + eax + 4]
mov ecx, 0x6b6e
mov dword [ebp - 0x260], esi
cmp word [esi], cx
je 0x4a50b8
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x294]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4a6953
test byte [esi + 2], 0x20
movzx edi, word [esi + 0x48]
je 0x4a5100
call fcn.004bdbe3
push eax
push edi
lea ecx, [esi + 0x4c]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.004808a0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x22c]
push edi
mov ecx, ebx
call fcn.0042b51c
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4a5144
shr edi, 1
call fcn.004bdbe3
push eax
push edi
lea ecx, [esi + 0x4c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0042331e
lea edx, [ebp - 0x248]
push edx
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00422f41
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5150
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
cmp dword [ebp + 0x1c], edi
jle 0x4a51f2
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push 0x50057c
call fcn.00422827
mov byte [ebp - 4], 5
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x2a4], esp
mov edi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x268], esp
mov edi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.004770a0
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00422f41
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a51f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x254], edi
cmp eax, 2
jne 0x4a5243
mov ecx, dword [ebp - 0x24c]
push esi
push ecx
call fcn.004a4170
add esp, 8
test eax, eax
je 0x4a5226
mov edx, dword [ebp - 0x288]
mov dword [edx], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str.RegDatFileWalker:_fixed_main_root
call fcn.00422827
call fcn.004a3e50
jmp 0x4a6936
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x2c8], edi
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x244], edi
cmp eax, 1
jne 0x4a52b6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x298]
push edi
lea ecx, [ebp - 0x220]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
neg eax
sbb eax, eax
inc eax
cmp eax, edi
jne 0x4a5397
xor esi, esi
push 4
call fcn.004bd4f2
add esp, 4
cmp eax, esi
je 0x4a5f0e
lea edx, [ebp - 0x2c0]
mov dword [eax], edx
jmp 0x4a5f10
cmp eax, 4
jne 0x4a549d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x220]
push ecx
push 0xf003f
push edi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x4a5324
push edi
push edi
lea ecx, [ebp - 0x29c]
push ecx
lea edx, [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x2c8]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x29c]
cmp eax, edi
je 0x4a5324
push eax
call fcn.004cd074
add esp, 4
mov dword [ebp - 0x228], eax
mov ebx, dword [ebp - 0x250]
lea edx, [ebp - 0x254]
push edx
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x25c]
push edx
push eax
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x248], edi
call fcn.0049a280
test eax, eax
je 0x4a5395
cmp dword [ebp - 0x248], 0
je 0x4a5386
cmp dword [ebp - 0x264], 4
jne 0x4a5386
mov dword [ebp - 0x244], 1
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.004ccf97
add esp, 4
xor edi, edi
lea eax, [ebp - 0x2e0]
push eax
call fcn.00429c03
mov byte [ebp - 4], 8
mov dword [ebp - 0x248], edi
cmp dword [esi + 0x24], edi
jbe 0x4a5b3b
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x4a53d1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4a5b3b
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp - 0x248]
mov esi, dword [ebp - 0x24c]
lea ecx, [edx + eax*4 + 4]
mov edx, dword [ecx + esi]
lea edi, [edx + esi + 4]
mov eax, 0x6b76
cmp word [edi], ax
jne 0x4a5b1f
test dword [edi + 4], 0x80000000
mov ecx, dword [edi + 8]
lea eax, [edi + 8]
lea esi, [esi + ecx + 4]
mov dword [ebp - 0x230], esi
je 0x4a5420
mov esi, eax
mov dword [ebp - 0x230], eax
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4a4ff8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 9
test byte [edi + 0x10], 1
movzx ebx, word [edi + 2]
je 0x4a54dc
call fcn.004bdbe3
push eax
push ebx
lea ecx, [edi + 0x14]
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.004808a0
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x2a0]
push ebx
lea ecx, [ebp - 0x234]
call fcn.0042b51c
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4a5524
cmp eax, 3
jne 0x4a5397
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x224]
push edx
mov edx, dword [ebp - 0x250]
push edi
push edi
push 4
lea eax, [ebp - 0x22c]
push eax
push ecx
push edx
mov eax, 1
mov dword [ebp - 0x22c], 0x11223344
call fcn.00499f70
jmp 0x4a5397
shr ebx, 1
call fcn.004bdbe3
push eax
push ebx
lea ecx, [edi + 0x14]
push ecx
lea ecx, [ebp - 0x290]
call fcn.0042331e
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xb
call fcn.00422f41
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x290]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
and ebx, 0xfffffff
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x25c], 0
cmp ebx, 0x3fd8
jbe 0x4a5615
mov edx, 0x6264
cmp word [esi], dx
jne 0x4a5615
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x24c]
lea edx, [eax + ecx + 4]
push ebx
mov dword [ebp - 0x238], edx
call fcn.004cd074
mov dword [ebp - 0x25c], eax
xor eax, eax
add esp, 4
xor edi, edi
cmp ax, word [esi + 2]
jae 0x4a5609
movzx eax, di
mov ecx, eax
imul ecx, ecx, 0x3fd8
cmp ecx, ebx
jae 0x4a5609
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x24c]
lea esi, [eax + edx + 4]
lea eax, [ecx + 0x3fd8]
cmp eax, ebx
jae 0x4a55cb
mov eax, 0x3fd8
jmp 0x4a55e9
mov eax, 0xa0643f
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xd
mov edx, eax
imul edx, edx, 0x3fd8
mov eax, ebx
sub eax, edx
push eax
mov eax, dword [ebp - 0x25c]
add ecx, eax
push esi
push ecx
call fcn.004cd450
mov ecx, dword [ebp - 0x230]
inc edi
add esp, 0xc
cmp di, word [ecx + 2]
jb 0x4a5598
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x28c], edx
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2e0]
call fcn.00422beb
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x234]
cmp eax, 1
jne 0x4a56b3
mov ecx, dword [ebp - 0x28c]
mov esi, dword [ebp - 0x240]
mov edx, dword [ebp - 0x220]
push ebx
push ecx
push esi
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4a5682
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x238], esp
push edi
push ecx
push esi
push str.Preparing_RegValue__d_:__s:__s
push eax
call fcn.004777e0
add esp, 0x14
call fcn.004a3e50
add esp, 4
jmp 0x4a5ae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov edx, esp
mov dword [ebp - 0x238], esp
push eax
mov eax, dword [ebp + 8]
push edi
push eax
push esi
push str._Failed_setting_RegValue__d_:__s:__s__LE_d
push edx
call fcn.004777e0
add esp, 0x18
call fcn.004a3e50
add esp, 4
jmp 0x4a5ae6
cmp eax, 4
jne 0x4a58d8
mov edx, dword [ebp - 0x220]
xor esi, esi
cmp edx, esi
je 0x4a57f2
mov eax, dword [ebp - 0x29c]
cmp eax, esi
je 0x4a57f2
mov ecx, dword [ebp - 0x228]
cmp ecx, esi
je 0x4a57f2
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
push ecx
lea ecx, [ebp - 0x238]
push ecx
push esi
push edi
push edx
mov dword [ebp - 0x238], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x4a57f2
mov esi, dword [ebp - 0x230]
mov edi, dword [ebp - 0x228]
call fcn.004a75a0
mov edi, dword [ebp - 0x28c]
not eax
xor eax, dword [ebp - 0x238]
mov esi, ebx
mov dword [ebp - 0x238], eax
call fcn.004a75a0
not eax
xor eax, dword [ebp - 0x240]
cmp dword [ebp - 0x238], eax
je 0x4a5ae6
cmp dword [ebp - 0x244], 0
mov dword [ebp - 0x230], 0
je 0x4a57c3
cmp dword [ebp - 0x254], 0
je 0x4a57c3
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x21c], esp
mov esi, esp
push eax
call fcn.00423475
mov ecx, dword [ebp - 0x250]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x254]
add esp, 4
push eax
push ecx
call fcn.004a4470
add esp, 0x10
test eax, eax
je 0x4a57c3
mov edx, dword [ebp - 0x238]
cmp dword [ebp - 0x230], edx
je 0x4a5850
mov eax, dword [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
mov edx, esp
mov dword [ebp - 0x21c], esp
push eax
push ecx
push str.MergeRegistry:_NOT_overwriting_existing_value:__s:__s
push edx
call fcn.004777e0
add esp, 0x10
call fcn.004a3e50
add esp, 4
jmp 0x4a5ae6
mov dword [ebp - 0x238], esi
cmp dword [ebp - 0x244], esi
je 0x4a5856
cmp dword [ebp - 0x254], esi
je 0x4a5856
lea eax, [ebp - 0x238]
push eax
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x21c], esp
mov esi, esp
push eax
call fcn.00423475
mov edx, dword [ebp - 0x250]
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebp - 0x254]
add esp, 4
push ecx
push edx
call fcn.004a4470
add esp, 0x10
test eax, eax
je 0x4a5856
cmp dword [ebp - 0x238], 0
je 0x4a57c3
mov edi, dword [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x21c], esp
push edi
push ecx
push str.MergeRegistry:_writing_value:__s:__s
push eax
call fcn.004777e0
add esp, 0x10
call fcn.004a3e50
mov eax, dword [ebp - 0x220]
add esp, 4
test eax, eax
jne 0x4a58ba
mov ecx, dword [ebp - 0x298]
push eax
lea edx, [ebp - 0x220]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4a5ae6
mov edi, dword [ebp - 0x234]
mov edx, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x240]
push ebx
push edx
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4a5ae6
cmp eax, 3
jne 0x4a59fa
mov edi, dword [ebp - 0x28c]
mov esi, ebx
call fcn.004a75a0
not eax
xor eax, dword [ebp - 0x240]
push ecx
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
mov dword [ebp - 0x21c], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebp - 0x22c]
call fcn.004a43e0
add esp, 4
push 0
push 0
push 0
push 4
lea edx, [ebp - 0x238]
push edx
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0x50057c
mov esi, 1
call fcn.00422827
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x22c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x230], esp
mov edi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x240], esp
mov edi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x268]
mov byte [ebp - 4], 0xd
call fcn.004770a0
mov eax, dword [eax]
add esp, 0xc
push eax
mov eax, dword [ebp - 0x250]
push eax
mov eax, esi
call fcn.00499f70
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a59db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4a5ada
test eax, eax
jne 0x4a5ae6
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x240]
push ecx
push edx
push eax
lea ecx, [ebp - 0x264]
push str.__.2d___ws:__ws
push ecx
call fcn.004777e0
add esp, 0x14
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x224]
push 0x500a70
push eax
mov byte [ebp - 4], 0x10
call fcn.00422acb
add esp, 0xc
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.004242f2
mov eax, dword [eax]
push eax
call fcn.004d25d4
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5a86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x264]
push ecx
push str.RegDump
call fcn.00475890
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a5ae6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x4a5af9
push eax
call fcn.004ccf97
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5b1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x260]
inc eax
mov dword [ebp - 0x248], eax
cmp eax, dword [ecx + 0x24]
jb 0x4a53b6
xor esi, esi
cmp dword [ebp + 0x18], 4
jne 0x4a5e7d
cmp dword [ebp - 0x220], esi
je 0x4a5e7d
push 4
call fcn.004bd4f2
add esp, 4
cmp eax, esi
je 0x4a5b6b
lea edx, [ebp - 0x284]
mov dword [eax], edx
jmp 0x4a5b6d
xor eax, eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x270], esi
push esi
push 1
lea eax, [ebp - 0x284]
push eax
push ecx
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x21c], esp
push esi
call fcn.00422827
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.00479090
mov edi, dword [ebp - 0x278]
add esp, 0x14
cmp edi, dword [ebp - 0x274]
jbe 0x4a5bc4
call fcn.004cce91
mov ebx, dword [ebp - 0x284]
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x268], edi
jmp 0x4a5be0
mov esi, dword [ebp - 0x274]
cmp dword [ebp - 0x278], esi
jbe 0x4a5bf3
call fcn.004cce91
test ebx, ebx
je 0x4a5bff
cmp ebx, dword [ebp - 0x284]
je 0x4a5c04
call fcn.004cce91
cmp edi, esi
je 0x4a5e05
test ebx, ebx
jne 0x4a5dfa
call fcn.004cce91
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4a5c25
call fcn.004cce91
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00423475
lea ebx, [eax + 0x10]
mov dword [ebp - 0x21c], ebx
sub esp, 0x14
mov byte [ebp - 4], 0x14
mov edx, esp
mov dword [ebp - 0x224], esp
lea eax, [ebp - 0x2e0]
push eax
push edx
call fcn.0042aa92
push 0
push ecx
mov byte [ebp - 4], 0x15
lea eax, [ebx - 0x10]
mov dword [ebp - 0x2a4], esp
mov edi, esp
push eax
mov dword [ebp - 0x290], eax
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [ebp - 4], 0x14
call fcn.0047b250
add esp, 0x20
test eax, eax
jne 0x4a5d9e
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x4a5d9e
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x4a5d9e
cmp dword [ebp - 0x228], 0
je 0x4a5d9e
lea edx, [ebp - 0x22c]
push edx
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x228]
push eax
lea edx, [ebp - 0x238]
push edx
push 0
push ebx
push ecx
mov dword [ebp - 0x238], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a5d9e
mov esi, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x228]
mov dword [ebp - 0x230], eax
call fcn.004a75a0
mov esi, eax
not esi
xor esi, dword [ebp - 0x238]
cmp dword [ebp - 0x244], 0
je 0x4a5d9e
cmp dword [ebp - 0x254], 0
je 0x4a5d9e
lea eax, [ebp - 0x230]
push eax
push ecx
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x224], esp
mov edi, esp
push ecx
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
mov edx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x250]
add esp, 4
push edx
push eax
call fcn.004a4470
add esp, 0x10
test eax, eax
je 0x4a5d9e
cmp dword [ebp - 0x230], esi
jne 0x4a5d9e
mov edx, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push ebx
push edx
push str.MergeRegistry:_deleting_gone_value:__s:__s
push ecx
call fcn.004777e0
add esp, 0x10
call fcn.004a3e50
mov eax, dword [ebp - 0x220]
add esp, 4
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x290]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5dc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x26c]
test eax, eax
jne 0x4a5e01
call fcn.004cce91
xor eax, eax
mov ecx, dword [ebp - 0x268]
cmp ecx, dword [eax + 0x10]
jb 0x4a5de2
call fcn.004cce91
add dword [ebp - 0x268], 4
mov edi, dword [ebp - 0x268]
mov ebx, dword [ebp - 0x26c]
jmp 0x4a5be0
mov eax, dword [ebx]
jmp 0x4a5c1b
mov eax, dword [eax]
jmp 0x4a5dd2
mov byte [ebp - 4], 0x16
mov edi, dword [ebp - 0x278]
test edi, edi
je 0x4a5e54
mov ebx, dword [ebp - 0x274]
cmp edi, ebx
je 0x4a5e45
lea ecx, [ecx]
mov eax, dword [edi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a5e3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 4
cmp edi, ebx
jne 0x4a5e20
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.004bd521
add esp, 4
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x284]
push edx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
call fcn.004bd521
add esp, 4
xor esi, esi
mov byte [ebp - 4], 0x17
mov edi, dword [ebp - 0x2d4]
cmp edi, esi
je 0x4a5ecd
mov eax, dword [ebp - 0x2d0]
mov ebx, eax
cmp edi, eax
je 0x4a5ec2
mov eax, dword [edi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a5eb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 4
cmp edi, ebx
jne 0x4a5e97
mov edi, dword [ebp - 0x2d4]
push edi
call fcn.004bd521
add esp, 4
xor esi, esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2e0]
push ecx
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x2cc], esi
call fcn.004bd521
mov eax, dword [ebp - 0x228]
add esp, 4
cmp eax, esi
je 0x4a5297
push eax
call fcn.004ccf97
add esp, 4
jmp 0x4a5297
xor eax, eax
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x260]
cmp dword [eax + 0x14], esi
jbe 0x4a61d8
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x24c]
lea eax, [eax + ecx + 4]
xor edx, edx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x240], esi
cmp dx, word [eax + 2]
jae 0x4a61d8
mov ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x4a5f81
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4a68af
mov eax, dword [ebp - 0x228]
movzx ecx, word [eax]
mov edx, 0x666c
cmp cx, dx
je 0x4a6026
mov edx, 0x686c
cmp cx, dx
je 0x4a6026
mov eax, 0x6972
push ecx
mov dword [ebp - 0x21c], esp
cmp cx, ax
jne 0x4a5fee
mov ecx, esp
push str.CM_KEY_INDEX_ROOT
push ecx
call fcn.004777e0
add esp, 8
call fcn.004a3e50
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x240]
mov eax, dword [edx + eax*4 + 4]
mov ecx, dword [ebp - 0x24c]
lea eax, [ecx + eax + 4]
add esp, 4
mov dword [ebp - 0x228], eax
jmp 0x4a61bd
mov edx, 0x696c
cmp cx, dx
jne 0x4a6215
mov eax, esp
push str.CM_KEY_INDEX_LEAF
push eax
call fcn.004777e0
add esp, 8
call fcn.004a3e50
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x240]
mov edi, dword [ecx + edx*4 + 4]
add esp, 4
jmp 0x4a6030
mov ecx, dword [ebp - 0x240]
mov edi, dword [eax + ecx*8 + 4]
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4a4ff8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x298]
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x258]
push ecx
mov ecx, dword [ebp - 0x288]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
inc edx
push edx
mov edx, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x244]
push ecx
push edi
mov edi, dword [ebp + 8]
push edx
push ecx
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add edi, 0xfffffff0
mov dword [ebp - 0x21c], esp
mov esi, esp
call edx
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x4a60c1
cmp eax, dword [edi]
jne 0x4a60c1
mov ebx, edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4a60fc
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4a6240
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004cc7a1
add esp, 0x10
add ebx, 0x10
mov dword [esi], ebx
call fcn.004a4f80
mov edx, dword [ebp - 0x2b4]
add esp, 0x28
test edx, edx
jne 0x4a6117
xor ecx, ecx
jmp 0x4a6122
mov ecx, dword [ebp - 0x2ac]
sub ecx, edx
sar ecx, 2
mov eax, dword [ebp - 0x2b0]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
mov esi, eax
jae 0x4a6167
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 0x224], 0
mov ecx, dword [ebp - 0x224]
push ecx
push edx
lea ecx, [ebp - 0x244]
push ecx
push 1
push eax
call fcn.00423ecc
add esp, 0x14
add esi, 4
mov dword [ebp - 0x2b0], esi
jmp 0x4a6191
cmp edx, eax
jbe 0x4a6170
call fcn.004cce91
mov eax, dword [ebp - 0x2c0]
push esi
push eax
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2c0]
call fcn.0042310d
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a61b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x240]
movzx edx, word [eax + 2]
inc ecx
cmp ecx, edx
mov dword [ebp - 0x240], ecx
jl 0x4a5f60
xor esi, esi
cmp dword [ebp + 0x18], 4
jne 0x4a68af
cmp dword [ebp - 0x220], esi
je 0x4a68c0
cmp dword [ebp - 0x254], 0
je 0x4a68af
push 4
call fcn.004bd4f2
xor esi, esi
add esp, 4
cmp eax, esi
je 0x4a6245
lea ecx, [ebp - 0x284]
mov dword [eax], ecx
jmp 0x4a6247
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x228]
sub eax, dword [ebp - 0x24c]
mov ecx, esp
push eax
push edx
push str._Invalid_block:__s__offset_u
push ecx
call fcn.004777e0
add esp, 0x10
call fcn.004a3e50
jmp 0x4a68ac
call fcn.00420595
xor eax, eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x270], esi
push esi
push 1
push esi
lea edx, [ebp - 0x284]
push edx
push ecx
mov byte [ebp - 4], 0x1c
mov edi, esp
mov dword [ebp - 0x21c], esp
mov dword [ebp - 0x21c], edi
call fcn.004bdbe3
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4a6297
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [eax + 0x10]
mov dword [edi], ecx
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0x1d
mov ebx, dword [eax]
cmp dword [eax + 4], esi
je 0x4a62fa
cmp dword [eax + 0xc], esi
lea edx, [eax + 0xc]
jge 0x4a62d6
cmp dword [ecx - 8], esi
jge 0x4a62ca
push 0x80070057
call fcn.00420000
mov dword [ecx - 0xc], esi
mov ecx, dword [edi]
xor edx, edx
mov word [ecx], dx
jmp 0x4a62fa
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a62ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.00478ed0
mov ebx, dword [ebp - 0x278]
add esp, 0x18
cmp ebx, dword [ebp - 0x274]
jbe 0x4a6320
call fcn.004cce91
mov edi, dword [ebp - 0x284]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], ebx
mov esi, dword [ebp - 0x274]
cmp dword [ebp - 0x278], esi
jbe 0x4a6345
call fcn.004cce91
test edi, edi
je 0x4a6351
cmp edi, dword [ebp - 0x284]
je 0x4a6356
call fcn.004cce91
cmp ebx, esi
je 0x4a683c
test edi, edi
jne 0x4a639c
call fcn.004cce91
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4a6373
call fcn.004cce91
mov edi, dword [ebx]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub edi, 0x10
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x4a63a0
cmp eax, dword [edi]
jne 0x4a63a0
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4a63db
mov eax, dword [edi]
jmp 0x4a6369
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4a6240
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.004cc7a1
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x288], esi
sub esp, 0x18
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x21c], esp
lea edx, [ebp - 0x2c0]
push edx
push ecx
call fcn.0042aa92
mov byte [ebp - 4], 0x1f
push 0
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea ebx, [esi - 0x10]
mov dword [ebp - 0x224], esp
mov dword [ebp - 0x224], esp
call edx
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x4a643a
cmp eax, dword [ebx]
jne 0x4a643a
mov edi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4a6475
mov ecx, dword [ebx + 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 0x4a6240
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004cc7a1
add esp, 0x10
mov edx, dword [ebp - 0x224]
add edi, 0x10
mov dword [edx], edi
mov byte [ebp - 4], 0x1e
call fcn.0047b250
add esp, 0x20
test eax, eax
jne 0x4a67e2
cmp dword [ebx + 0xc], 1
jle 0x4a64af
mov eax, dword [ebx + 4]
push eax
lea ecx, [ebp - 0x288]
call fcn.004205a0
mov esi, dword [ebp - 0x288]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a64b4
mov ecx, dword [ebp - 0x250]
sub eax, edx
sar eax, 1
push ecx
mov ecx, dword [ebp - 0x254]
mov edi, eax
mov ebx, esi
call fcn.00499c90
mov edi, eax
mov eax, dword [esi - 8]
add esp, 4
push eax
push esi
call fcn.004cccfb
add esp, 8
test eax, eax
jl 0x4a62c0
cmp eax, dword [esi - 8]
jg 0x4a62c0
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x260]
push eax
push 0x20019
push edx
push esi
push ecx
mov dword [ebp - 0x260], edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test edi, edi
je 0x4a66c3
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4a66c3
mov edx, dword [ebp - 0x250]
push edx
push eax
mov eax, edi
call fcn.004a4f00
add esp, 8
test eax, eax
je 0x4a66c3
push ecx
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0x50057c
call fcn.00422827
push ecx
mov byte [ebp - 4], 0x20
lea ebx, [esi - 0x10]
mov dword [ebp - 0x224], esp
mov edi, esp
push ebx
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x21
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x22c], esp
mov edi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x2a4]
mov byte [ebp - 4], 0x1e
call fcn.004770a0
add esp, 8
mov byte [ebp - 4], 0x22
mov edx, dword [eax]
mov ecx, esp
mov dword [ebp - 0x21c], esp
push edx
push str.MergeRegistry:_key_deleted_in_new_version:__s__deleting_from_virtual_registry.
push ecx
call fcn.004777e0
add esp, 0xc
call fcn.004a3e50
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6601
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esi], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
je 0x4a67d1
lea ecx, [ebp - 0x258]
push ecx
push 0x10008
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a67d1
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4a6640
mov ecx, dword [ebp - 0x258]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push ecx
mov dword [ebp - 0x268], 0x104
call edi
cmp eax, 0x103
je 0x4a66a3
test eax, eax
jne 0x4a66b1
push eax
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x218]
push edx
push eax
call fcn.00478920
add esp, 0xc
test eax, eax
je 0x4a6640
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a67d1
mov ecx, dword [ebp - 0x224]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a67d1
push ecx
mov edi, esp
mov dword [ebp - 0x21c], esp
mov dword [ebp - 0x224], edi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4a4ff8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, 0x50057c
mov byte [ebp - 4], 0x23
test ecx, 0xffff0000
jne 0x4a671f
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004c5d7f
test eax, eax
je 0x4a6739
push ebx
push eax
mov ecx, edi
call fcn.00422eb3
jmp 0x4a6739
push 0x50057c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50057c
mov ecx, edi
call fcn.00423404
push ecx
mov byte [ebp - 4], 0x24
lea ebx, [esi - 0x10]
mov dword [ebp - 0x224], esp
mov edi, esp
push ebx
call fcn.00423475
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x25
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x22c], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x2a0]
mov byte [ebp - 4], 0x1e
call fcn.004770a0
add esp, 8
mov byte [ebp - 4], 0x26
mov edx, dword [eax]
mov ecx, esp
mov dword [ebp - 0x21c], esp
push edx
push str.MergeRegistry:_key_deleted_in_new_version:__s__but_changed_in_virtual_registry._Not_deleting.
push ecx
call fcn.004777e0
add esp, 0xc
call fcn.004a3e50
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a67d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4a67e2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x1c
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a67ff
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp - 0x23c]
test eax, eax
jne 0x4a6838
call fcn.004cce91
xor eax, eax
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [eax + 0x10]
jb 0x4a6820
call fcn.004cce91
add dword [ebp - 0x238], 4
mov ebx, dword [ebp - 0x238]
mov edi, dword [ebp - 0x23c]
jmp 0x4a6332
mov eax, dword [eax]
jmp 0x4a6810
mov byte [ebp - 4], 0x27
mov edi, dword [ebp - 0x278]
test edi, edi
je 0x4a6888
mov ebx, dword [ebp - 0x274]
cmp edi, ebx
je 0x4a6879
mov eax, dword [edi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a6872
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 4
cmp edi, ebx
jne 0x4a6854
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.004bd521
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x284]
push edx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
call fcn.004bd521
add esp, 4
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4a68c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x28
mov edi, dword [ebp - 0x2b4]
xor esi, esi
cmp edi, esi
je 0x4a6914
mov ebx, dword [ebp - 0x2b0]
cmp edi, ebx
je 0x4a6905
lea ebx, [ebx]
mov eax, dword [edi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a68fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 4
cmp edi, ebx
jne 0x4a68e0
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.004bd521
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c0]
push edx
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], esi
call fcn.004bd521
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x294]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a695f
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 + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a6985
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cc3b2
mov esp, ebp
pop ebp
ret