Function at 0x4a7c70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56acc8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], 0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jle 0x4a81fe
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4a7cca
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
push 0x20019
push dword [0x5d6704]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045b220
or ebx, 0xffffffff
test eax, eax
jne 0x4a802d
mov dword [ebp - 0x20], eax
jmp 0x4a7d20
mov dword [ebp - 0x18], 0x104
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4a7cc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4a7cc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ebx, ebx
js 0x4a8108
mov eax, dword [ebp - 0x14]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x4a7d98
push ebx
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push dword [eax - 8]
push eax
call fcn.00526d13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4a8108
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x4a8108
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov word [eax + ecx*2], dx
test ebx, ebx
jne 0x4a80b3
mov edx, dword [str.SoftwareGoogleChromeExtensions]
test edx, edx
jne 0x4a7dff
xor ecx, ecx
jmp 0x4a7e13
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a7e04
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.0045b6e0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push 0x57e140
push eax
call fcn.00483360
add esp, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
push dword [eax - 0xc]
push eax
call fcn.00472540
mov edx, dword [ebp - 0x2c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a7e65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push 0x20019
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 5
call fcn.0045b220
test eax, eax
jne 0x4a8097
mov dword [ebp - 0x18], 0x104
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4a7cc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 6
test ebx, ebx
js 0x4a8108
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x4a7ef0
push ebx
lea ecx, [ebp - 0x10]
call fcn.0045b530
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x583010
lea ecx, [ebp - 0x44]
call fcn.0045d730
test eax, eax
mov eax, dword [ebp - 0x10]
sete bl
push dword [eax - 8]
push eax
call fcn.00526d13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4a8108
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax - 8]
jg 0x4a8108
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + ecx*2], dx
test bl, bl
je 0x4a8057
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a8057
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edx
jl 0x4a805a
push ecx
push eax
call fcn.00526d32
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4a8057
mov eax, dword [ebp - 0x10]
sub ecx, eax
sar ecx, 1
test ecx, ecx
jle 0x4a805a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.0045a580
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x4a7f9b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x44], edi
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 5
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a7fc5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4a7fd0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a7fed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a800d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4a8023
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x50], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4c], 0
cmp dword [edi - 0xc], 0
jle 0x4a81d2
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4a8112
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4a8070
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x44], ebx
lea edx, [eax - 0x10]
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a809a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a809a
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4a80ac
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
inc dword [ebp - 0x20]
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 2
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a80d6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a80f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0x103
jne 0x4a7d20
jmp 0x4a8010
push 0x80070057
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [esi]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
add esp, 0x10
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4a8156
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push str._s:0
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
push str.gc_inst_ext_id
push esi
push reloc.WS2_32.dll_accept
call fcn.0045ded0
mov ebx, dword [ebp + 8]
add esp, 0x1c
add ebx, 0xfffffff0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
or edx, 0xffffffff
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a81b2
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4a81d2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4a81e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4a81fe
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4