Function at 0x484710
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4db07b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x504f68]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x150]
xor ebx, ebx
mov dword [esp + 0x34], eax
cmp eax, ebx
je 0x48492b
cmp byte [eax], bl
je 0x48492b
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48492b
mov edx, dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4847b9
mov dword [esp + 0x18], 0x64
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x18], ebx
jbe 0x484920
mov eax, dword [0x50e150]
mov edx, dword [eax + 0xc]
mov ecx, 0x50e150
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push eax
push str._04u
lea edi, [esp + 0x24]
mov dword [esp + 0x150], ebx
call fcn.0040a310
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push esi
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x484853
lea eax, [esi - 0x10]
mov dword [esp + 0x148], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4848f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4848f9
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48488c
mov edx, dword [esp + 0x14]
push edx
call ebp
jmp 0x484823
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4848ac
mov eax, dword [esp + 0x14]
push eax
call ebp
jmp 0x484823
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
push ebx
push str.Characteristics
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call ebp
lea eax, [esp + 0x1c]
cmp esi, ebx
je 0x484917
mov dword [esp + 0x148], 0xffffffff
call fcn.00414b20
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x18]
jb 0x4847cd
mov eax, dword [esp + 0x20]
push eax
call ebp
mov eax, ebx
jmp 0x48492d
mov ebx, dword [esp + 0x2c]
call fcn.00414b20
mov eax, dword [esp + 0x20]
push eax
call ebp
mov eax, ebx
jmp 0x48492d
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004b3721
add esp, 0x138
ret