Function at 0x403b70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x318
push ebx
push ebp
lea ebp, [ecx + 0xe1c]
push edi
mov dword [esp + 0x20], ecx
mov ecx, 0x40
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x328]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], 0x100
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebp
jne 0x403bc1
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x318
ret 4
push 0x10000000
call fcn.00403de0
add esp, 4
test eax, eax
je 0x403bde
lea eax, [esp + 0x24]
push str.SYSTEMCurrentControlSetServicesClassNet
push eax
jmp 0x403c02
push 0x10
call fcn.00403de0
add esp, 4
test eax, eax
je 0x403bf8
lea ecx, [esp + 0x24]
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push ecx
jmp 0x403c02
lea edx, [esp + 0x24]
push str.SYSTEMCurrentControlSetServicesWLA11ND4
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor edi, edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x18], edi
push 0x20
mov dword [esp + 0x14], ebx
call fcn.00403de0
add esp, 4
test eax, eax
push edi
je 0x403c3c
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x22c]
push eax
push str._s_dParameters
push ecx
jmp 0x403c4e
lea edx, [esp + 0x2c]
lea eax, [esp + 0x22c]
push edx
push str._s_04d
push eax
call fcn.004044ce
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x228]
mov byte [esp + 0x128], bl
push ecx
push 0x20019
push ebx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x403cee
lea ecx, [esp + 0x14]
lea edx, [esp + 0x128]
push ecx
lea ecx, [esp + 0x20]
push edx
push ecx
push ebx
mov edi, 0x100
push str.AdapterModel
push eax
mov dword [esp + 0x2c], edi
call esi
lea edx, [esp + 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x403cd5
mov ecx, dword [esp + 0x32c]
lea eax, [esp + 0x128]
push eax
push ecx
call fcn.004047b0
add esp, 8
test eax, eax
jne 0x403d1a
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x403cea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x18]
inc edi
cmp edi, 0x64
mov dword [esp + 0x18], edi
jl 0x403c15
cmp eax, ebx
je 0x403dcd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x318
ret 4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push ebp
push eax
push ebx
push str.CLSGUID
push ecx
mov dword [esp + 0x2c], edi
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
lea ebp, [edx + 0x103]
mov edx, dword [esp + 0x14]
push ebp
push ecx
push ebx
push str.DriverDesc
push edx
mov dword [esp + 0x2c], 0xff
call esi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x403dba
mov edi, str.Intel_R_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x32c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x403dc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x20]
pop esi
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x318
ret 4