Function at 0x47be30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a81e6
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4cfc64]
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 + 8]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ecx
call fcn.00480035
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x47be89
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x11c], esi
mov dword [ebp - 4], edi
mov edi, edi
mov ecx, dword [ebp - 0x124]
cmp dword [ecx], edi
jne 0x47bec2
mov eax, dword [0x4d4b84]
cmp eax, edi
je 0x47beca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x4d4b84], edi
jmp 0x47beca
cmp dword [0x4d4b84], edi
jne 0x47bf25
push 0x4b263c
lea edx, [ebp - 0x12c]
push str.SoftwareVOS_s
push edx
call fcn.004559f0
mov eax, dword [eax]
add esp, 0xc
push 0x4d4b84
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov eax, dword [ebp - 0x12c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bf1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x47c399
push 0x4b263c
call fcn.0048e8dc
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x47bf92
mov ebx, dword [esi - 0x10]
cmp dword [esi - 0xc], edi
lea eax, [esi - 0x10]
je 0x47c025
cmp dword [eax + 0xc], edi
lea ecx, [eax + 0xc]
jge 0x47bf65
cmp dword [esi - 8], edi
jl 0x47c3dc
xor ecx, ecx
mov dword [esi - 0xc], edi
mov word [esi], cx
jmp 0x47c025
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bf7b
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
lea esi, [eax + 0x10]
mov dword [ebp - 0x11c], esi
jmp 0x47c025
mov ecx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov dword [ebp - 0x118], ecx
mov edi, 0x4b263c
mov ecx, 1
sub ecx, dword [esi - 4]
sub edi, esi
sub eax, ebx
sar edi, 1
or eax, ecx
jge 0x47bfc7
push ebx
lea ecx, [ebp - 0x11c]
call fcn.004204f5
mov esi, dword [ebp - 0x11c]
cmp edi, dword [ebp - 0x118]
ja 0x47bff2
mov ecx, dword [esi - 8]
lea eax, [ebx + ebx]
push eax
lea edx, [esi + edi*2]
mov dword [ebp - 0x118], eax
push edx
lea eax, [ecx + ecx]
push eax
push esi
call fcn.0048e19e
mov edi, dword [ebp - 0x118]
jmp 0x47c008
mov eax, dword [esi - 8]
lea edi, [ebx + ebx]
push edi
push 0x4b263c
lea ecx, [eax + eax]
push ecx
push esi
call fcn.0048e0d0
add esp, 0x10
test ebx, ebx
jl 0x47c3dc
cmp ebx, dword [esi - 8]
jg 0x47c3dc
xor edx, edx
mov dword [esi - 0xc], ebx
mov word [edi + esi], dx
mov edi, dword [ebp - 0x124]
mov ecx, dword [edi]
mov edx, dword [0x4d4b84]
push 0x80
lea eax, [ebp - 0x114]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x47c3e6
inc dword [edi]
push 0x4b263c
call fcn.0048e8dc
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x47c0be
mov edi, dword [esi - 0x10]
cmp dword [esi - 0xc], ebx
lea eax, [esi - 0x10]
je 0x47c151
cmp dword [eax + 0xc], ebx
lea ecx, [eax + 0xc]
jge 0x47c091
cmp dword [esi - 8], ebx
jl 0x47c3dc
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi], ax
jmp 0x47c151
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c0a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [ebp - 0x11c], eax
jmp 0x47c151
mov ecx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov dword [ebp - 0x118], ecx
mov edi, 0x4b263c
mov ecx, 1
sub ecx, dword [esi - 4]
sub edi, esi
sub eax, ebx
sar edi, 1
or eax, ecx
jge 0x47c0f3
push ebx
lea ecx, [ebp - 0x11c]
call fcn.004204f5
mov esi, dword [ebp - 0x11c]
cmp edi, dword [ebp - 0x118]
ja 0x47c11e
mov ecx, dword [esi - 8]
lea eax, [ebx + ebx]
push eax
lea edx, [esi + edi*2]
mov dword [ebp - 0x118], eax
push edx
lea eax, [ecx + ecx]
push eax
push esi
call fcn.0048e19e
mov edi, dword [ebp - 0x118]
jmp 0x47c134
mov eax, dword [esi - 8]
lea edi, [ebx + ebx]
push edi
push 0x4b263c
lea ecx, [eax + eax]
push ecx
push esi
call fcn.0048e0d0
add esp, 0x10
test ebx, ebx
jl 0x47c3dc
cmp ebx, dword [esi - 8]
jg 0x47c3dc
xor edx, edx
mov dword [esi - 0xc], ebx
mov word [edi + esi], dx
lea eax, [ebp - 0x11c]
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x120], esp
mov dword [ebp - 0x130], edi
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47be7f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x47c27f
mov edx, ecx
movzx esi, dx
push esi
call fcn.00487f55
mov ebx, eax
test ebx, ebx
je 0x47c378
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47c378
push esi
push eax
push ebx
call fcn.0042066d
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x47c378
mov eax, dword [edi]
movzx esi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x47c205
push esi
mov ecx, edi
call fcn.004204f5
movzx eax, word [ebx]
mov edx, dword [edi]
add ebx, 2
mov dword [ebp - 0x118], edx
cmp eax, 0xffffffff
jne 0x47c222
push ebx
call fcn.0048e8dc
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push ebx
push ecx
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x47c24f.1
movzx edx, byte [eax + 0x47c478]
jmp dword [edx*4 + 0x47c468]
test esi, esi
jl 0x47c3dc
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x47c3dc
mov edx, dword [ebp - 0x120]
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x47c378
lea eax, [ebp - 0x114]
push eax
call fcn.0048e8dc
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x47c2ee
mov ecx, dword [edi]
mov esi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x47c378
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x47c2c5
cmp dword [ecx - 8], ebx
jl 0x47c3dc
mov dword [ecx - 0xc], ebx
mov ecx, dword [edi]
xor edx, edx
mov word [ecx], dx
jmp 0x47c378
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47c2db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [edi], eax
jmp 0x47c378
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x120], ecx
lea esi, [ebp - 0x114]
sub esi, eax
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
sar esi, 1
or eax, ecx
jge 0x47c31c
push ebx
mov ecx, edi
call fcn.004204f5
mov eax, dword [edi]
cmp esi, dword [ebp - 0x120]
ja 0x47c348
mov edx, dword [eax - 8]
lea ecx, [ebx + ebx]
push ecx
mov dword [ebp - 0x120], ecx
lea ecx, [eax + esi*2]
push ecx
add edx, edx
push edx
push eax
call fcn.0048e19e
mov esi, dword [ebp - 0x120]
jmp 0x47c35f
mov ecx, dword [eax - 8]
lea esi, [ebx + ebx]
push esi
lea edx, [ebp - 0x114]
push edx
add ecx, ecx
push ecx
push eax
call fcn.0048e0d0
add esp, 0x10
test ebx, ebx
jl 0x47c3dc
mov eax, dword [edi]
cmp ebx, dword [eax - 8]
jg 0x47c3dc
mov dword [eax - 0xc], ebx
mov edx, dword [edi]
xor eax, eax
mov word [esi + edx], ax
mov byte [ebp - 4], 0
call fcn.0047bbf0
add esp, 8
test eax, eax
jne 0x47c415
mov esi, dword [ebp - 0x11c]
xor edi, edi
jmp 0x47bea0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c3bc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
xor eax, 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.0048dce1
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00420000
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c3bc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x47c3bc
call fcn.0048059d
call fcn.004805d5
mov edx, dword [ebp - 0x128]
push 0x80
lea ecx, [ebp - 0x114]
push ecx
push 0x80
push edx
call fcn.004917ae
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c45e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x47c3be