Function at 0x53d160
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5763f7
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x660]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
xor ebx, ebx
push eax
mov ecx, str.ms_ndiswanip
mov dword [esp + 0x38], ebx
call fcn.0040ff50
lea ecx, [esp + 0x28]
push ecx
push 0x2001f
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
mov dword [esp + 0x678], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x53d32d
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], ebx
mov edi, edi
push 0x206
lea ecx, [esp + 0x4a]
push ebx
push ecx
mov word [esp + 0x50], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x58]
push ecx
push edx
mov esi, 0x103
push eax
mov dword [esp + 0x50], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x53d43a
cmp dword [esp + 0x30], ebx
je 0x53d43a
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
call fcn.0040ff50
lea edx, [esp + 0x44]
push edx
push 0x5ac83c
lea edi, [esp + 0x24]
mov byte [esp + 0x670], 2
call fcn.00410c20
add esp, 8
lea eax, [esp + 0x18]
push eax
push 0x2001f
mov byte [esp + 0x670], 3
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x53d30f
mov ebp, dword [esp + 0x18]
push 0x206
lea ecx, [esp + 0x252]
push ebx
push ecx
mov dword [esp + 0x24], ebp
mov word [esp + 0x258], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.ComponentId
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], esi
push edx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x254]
call fcn.0041a310
cmp eax, ebx
jne 0x53d35f
cmp dword [esp + 0x24], ebx
je 0x53d35f
mov ecx, dword [esp + 0x2c]
mov eax, esi
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x53d39c
cmp ebp, ebx
je 0x53d30f
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x668], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x53d386
mov dword [esp + 0x668], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53d358
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x53d478
cmp ebp, ebx
je 0x53d36a
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x668], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53d392
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x20], 1
jmp 0x53d1f0
push 0x206
lea ecx, [esp + 0x45a]
push ebx
push ecx
mov word [esp + 0x460], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.NetCfgInstanceId
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x45c]
mov dword [esp + 0x2c], 0x103
call fcn.0041a310
cmp eax, ebx
jne 0x53d426
cmp dword [esp + 0x24], ebx
je 0x53d426
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0040ff50
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x670], 4
call fcn.0053ceb0
lea esi, [esp + 0x18]
mov dword [esp + 0x34], eax
call fcn.0041a3b0
lea ecx, [esp + 0x20]
call fcn.00410000
call fcn.0041a3d0
jmp 0x53d431
cmp ebp, ebx
je 0x53d431
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
call fcn.00410000
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x53d449
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x668], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53d474
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x660]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.00569ed6
add esp, 0x658
ret