Function at 0x52ea10
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5736c7
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
xor ebx, ebx
mov byte [esp + 0x17], bl
lea eax, [esp + 0x2c]
push eax
push 0x2001f
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
mov dword [esp + 0x678], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x52ec38
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], ebx
jmp 0x52ea90
push 0x206
lea edx, [esp + 0x252]
push ebx
push edx
mov word [esp + 0x258], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x34]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x260]
push edx
push eax
mov esi, 0x103
push ecx
mov dword [esp + 0x54], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x52edae
cmp dword [esp + 0x34], ebx
je 0x52edae
lea edx, [esp + 0x18]
push edx
mov ecx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
call fcn.0040ff50
lea eax, [esp + 0x24c]
push eax
push 0x5ac83c
lea edi, [esp + 0x20]
mov byte [esp + 0x670], 1
call fcn.00410c20
push 0x206
lea ecx, [esp + 0x52]
push ebx
push ecx
mov word [esp + 0x58], bx
call sub.MSVCR80.dll_memset
add esp, 0x14
mov dword [esp + 0x24], esi
lea edx, [esp + 0x1c]
push edx
push 0x2001f
mov byte [esp + 0x670], 2
mov eax, dword [esp + 0x20]
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x52ed0e
mov ebp, dword [esp + 0x1c]
push str.Description
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x4c]
mov dword [esp + 0x24], ebp
call fcn.0041a310
cmp eax, ebx
jne 0x52ed7c
cmp dword [esp + 0x24], ebx
je 0x52ed7c
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040ff50
mov byte [esp + 0x668], 3
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], ebx
jl 0x52ebd4
push str.802.11n_USB_Wireless_LAN_Card
push ecx
call dword [sym.imp.MSVCR80.dll_wcsstr]
mov ecx, dword [esp + 0x28]
add esp, 8
cmp eax, ebx
je 0x52ebd4
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x52ec3f
lea eax, [ecx - 0x10]
mov byte [esp + 0x668], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52ebf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, ebx
je 0x52ec03
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x668], bl
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 0x52ed04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x30], 1
jmp 0x52ea90
xor al, al
jmp 0x52edc1
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.ServiceName
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x45c]
mov dword [esp + 0x2c], 0x103
call fcn.0041a310
cmp eax, ebx
jne 0x52ed5d
cmp dword [esp + 0x24], ebx
je 0x52ed5d
lea esi, [esp + 0x28]
call fcn.0040ff30
lea eax, [esp + 0x454]
push eax
push str.._s
mov edi, esi
mov byte [esp + 0x670], 4
call fcn.00410c00
mov ecx, dword [esp + 0x30]
add esp, 8
push ebx
push 0x80
push 3
push ebx
push 1
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebx
je 0x52ecd9
cmp eax, 0xffffffff
jne 0x52ed2b
lea ecx, [esp + 0x28]
call fcn.00410000
lea ecx, [esp + 0x20]
call fcn.00410000
lea esi, [esp + 0x1c]
call fcn.0041a3d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x668], bl
call fcn.00410000
add dword [esp + 0x30], 1
jmp 0x52ea90
mov byte [esp + 0x668], bl
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 0x52eda2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov byte [esp + 0x17], 1
call fcn.00410000
lea ecx, [esp + 0x20]
call fcn.00410000
lea esi, [esp + 0x1c]
call fcn.0041a3d0
lea ecx, [esp + 0x18]
call fcn.00410000
jmp 0x52edae
lea ecx, [esp + 0x20]
call fcn.00410000
cmp ebp, ebx
je 0x52ed71
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
call fcn.00410000
jmp 0x52edae
cmp ebp, ebx
je 0x52ed87
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x668], bl
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 0x52edae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x52edbd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x17]
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