Function at 0x53cbb0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5732fc
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x464], ebx
call fcn.0051a800
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push 0x2001f
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
mov byte [esp + 0x470], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x53cd83
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
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 + 0x30]
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
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 0x53ce34
cmp dword [esp + 0x30], ebx
je 0x53ce34
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
call fcn.0040ff50
lea edx, [esp + 0x44]
push edx
push 0x5ac83c
lea edi, [esp + 0x20]
mov byte [esp + 0x468], 2
call fcn.00410c20
add esp, 8
lea eax, [esp + 0x1c]
push eax
push 0x2001f
mov byte [esp + 0x468], 3
mov ecx, dword [esp + 0x20]
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x53cd65
mov ebp, dword [esp + 0x1c]
push 0x206
lea ecx, [esp + 0x252]
push ebx
push ecx
mov dword [esp + 0x44], ebp
mov word [esp + 0x258], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.NetCfgInstanceId
lea edx, [esp + 0x3c]
mov dword [esp + 0x20], esi
push edx
lea edi, [esp + 0x24]
lea esi, [esp + 0x254]
call fcn.0041a310
cmp eax, ebx
jne 0x53cdb1
cmp dword [esp + 0x1c], ebx
je 0x53cdb1
mov ecx, dword [esp + 0x20]
mov eax, esi
push eax
push ecx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x53cdee
cmp ebp, ebx
je 0x53cd65
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x460], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x53cdd8
mov byte [esp + 0x460], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53cdaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x53ce81
cmp ebp, ebx
je 0x53cdbc
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x460], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53cde4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x2c], 1
jmp 0x53cc46
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.0053ceb0
cmp ebp, ebx
mov dword [esp + 0x34], eax
je 0x53ce0c
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x460], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53ce34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x53ce47
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x460], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53ce6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x53ce7d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00569ed6
add esp, 0x450
ret