Function at 0x4730f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd366
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x5603e8]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
push 0x20019
push str.Interface
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], ebx
call fcn.00412570
test eax, eax
je 0x473184
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov eax, dword [ebp - 0xe8]
cmp eax, ebx
je 0x473379
push eax
jmp 0x473373
push 0x4e
lea edx, [ebp - 0x5e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x60], cx
call sub.MSVCR100.dll_memset
push 0x58
lea ecx, [ebp - 0xba]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0xbc], ax
call sub.MSVCR100.dll_memset
mov edi, dword [ebp - 0xe8]
add esp, 0x18
mov dword [ebp - 0xc4], ebx
lea edx, [ebp - 0xf0]
push edx
mov edx, dword [ebp - 0xc4]
push ebx
push ebx
push ebx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x60]
push ecx
push edx
push edi
mov dword [ebp - 0xcc], 0x28
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x4732f0
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
push 0x20019
lea eax, [ebp - 0x60]
push eax
push edi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
call fcn.00412570
mov esi, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd0]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0xc8]
push eax
push ebx
push 0x4c79ac
push esi
mov dword [ebp - 0xd0], 0x5a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4732c5
mov eax, dword [ebp - 0xc8]
cmp eax, 1
je 0x473263
cmp eax, 2
jne 0x4732c5
mov eax, dword [ebp - 0xd0]
cmp eax, ebx
je 0x47327f
test al, 1
jne 0x4732c5
shr eax, 1
cmp word [ebp + eax*2 - 0xbe], bx
je 0x473288
jmp 0x4732c5
xor ecx, ecx
mov word [ebp - 0xbc], cx
mov ecx, dword [ebp + 0x10]
call fcn.004042c0
lea ecx, [ebp - 0xbc]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4732bc
cmp dx, bx
je 0x4732b8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4732bc
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x473296
xor eax, eax
jmp 0x4732c1
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x473307
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x4732d9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xdc], ebx
mov esi, dword [ebp - 0xc0]
inc dword [ebp - 0xc4]
mov dword [ebp - 0xd8], ebx
jmp 0x4731bd
cmp eax, 5
je 0x4732fc
cmp eax, 0xea
jne 0x47335f
inc dword [ebp - 0xc4]
jmp 0x4731bd
mov eax, dword [ebp - 0xc0]
xor edx, edx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
mov word [eax], dx
lea eax, [ebp - 0x60]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x473322
mov ecx, dword [ebp - 0xc0]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00405660
cmp esi, ebx
je 0x47334c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x473357
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc0]
jmp 0x47337b
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
cmp edi, ebx
je 0x473379
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.004b12f6
mov esp, ebp
pop ebp
ret