Function at 0x983e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb12058
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
xor edi, edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x234], edi
mov eax, 0x288
call fcn.00966e40
mov esi, eax
mov dword [ebp - 0x244], esi
cmp esi, edi
jne 0x983e77
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x9841e4
mov dword [ebp - 0x240], 0x288
lea ecx, [ebp - 0x240]
push ecx
push esi
call fcn.00983d30
add esp, 8
cmp eax, 0x6f
jne 0x983eb2
push esi
call fcn.00a78fec
add esp, 4
mov eax, dword [ebp - 0x240]
call fcn.00966e40
mov dword [ebp - 0x244], eax
mov esi, eax
lea edx, [ebp - 0x240]
push edx
push esi
call fcn.00983d30
add esp, 8
cmp eax, edi
jne 0x9841b4
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x234], esi
lea ebx, [ebx]
cmp dword [ebp - 0x234], 0
je 0x9841b4
mov ecx, 0x14
mov esi, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea edi, [ebp - 0x230]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xb3
push 0
lea eax, [ebp - 0x1df]
push eax
call fcn.00a7ffb0
add esp, 0xc
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x238], esi
mov byte [ebp - 0x128], 0
push 0x103
push esi
lea ecx, [ebp - 0x127]
push ecx
call fcn.00a7ffb0
add esp, 0xc
mov dword [ebp - 0x264], 0x104
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x254], 4
mov eax, dword [ebp - 0x234]
add eax, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x983f67
sub eax, ecx
mov esi, ecx
lea edi, [ebp - 0x230]
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x983f80
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x230]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x983fa0
mov dx, word [0xaa1564]
mov word [edi], dx
lea eax, [ebp - 0x230]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x983fc0
mov ecx, dword [str.Connection]
mov dword [eax], ecx
mov edx, dword [0xaee1c0]
mov dword [eax + 4], edx
mov cx, word [0xaee1c4]
mov word [eax + 8], cx
mov dl, byte [0xaee1c6]
mov byte [eax + 0xa], dl
lea eax, [ebp - 0x238]
push eax
mov edi, 1
push edi
push 0
lea ecx, [ebp - 0x230]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x98419b
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x128]
push eax
push 0
push 0
push str.PnpInstanceID
mov ecx, dword [ebp - 0x238]
push ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x98418e
lea eax, [ebp - 0x128]
mov dword [ebp - 0x25c], eax
cmp byte [eax], 0
je 0x984059
add eax, edi
jmp 0x98404a
lea edx, [ebp - 0x128]
sub eax, edx
cmp eax, 3
jbe 0x9840b0
push 3
mov eax, edx
mov ecx, 0xaee1d8
call fcn.0094c380
add esp, 4
test eax, eax
jne 0x9840b0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x250]
push ecx
push 0
push 0
push str.DefaultNameResourceId
mov edx, dword [ebp - 0x238]
push edx
call esi
test eax, eax
jne 0x9840e8
xor ebx, ebx
cmp dword [ebp - 0x250], 0x70b
sete bl
jmp 0x984125
push 4
lea eax, [ebp - 0x128]
mov ecx, str.ROOT
call fcn.0094c380
add esp, 4
test eax, eax
je 0x9840cd
mov ebx, edi
jmp 0x984125
push 0
push str.BRIDGE
lea eax, [ebp - 0x128]
push eax
call fcn.0095c8c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x9840ec
mov ebx, edi
jmp 0x984125
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x248]
push edx
push 0
push 0
push str.MediaSubType
mov eax, dword [ebp - 0x238]
push eax
call esi
test eax, eax
jne 0x984125
mov eax, dword [ebp - 0x248]
cmp eax, 2
je 0x984123
cmp eax, edi
je 0x984123
mov ebx, edi
jmp 0x984125
xor ebx, ebx
mov esi, dword [ebp - 0x234]
lea ecx, [esi + 0x1b0]
mov eax, str.0.0.0.0
call fcn.0094c330
test eax, eax
je 0x98418e
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x984161
cmp eax, edi
jne 0x984158
cmp ebx, edi
je 0x984161
cmp eax, 2
jne 0x98418e
test ebx, ebx
jne 0x98418e
mov dword [ebp - 0x23c], edi
add esi, 0x1ac
mov dword [ebp - 0x260], esi
test esi, esi
je 0x98418e
push 1
push 0x2c
lea ecx, [esi + 4]
push ecx
mov edi, dword [ebp - 0x258]
call fcn.0098d640
mov esi, dword [esi]
jmp 0x98416d
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
mov dword [ebp - 0x234], ecx
mov esi, dword [ebp - 0x244]
jmp 0x983ee0
push esi
call fcn.00a78fec
add esp, 4
jmp 0x9841d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret 8