Function at 0x47cbb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53871b
mov eax, dword fs:[0]
push eax
sub esp, 0xb44
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb48], edi
mov dword [ebp - 0xb28], edi
xor eax, eax
mov dword [ebp - 0xb28], edi
mov dword [ebp - 0xb28], eax
mov dword [ebp - 0xb34], eax
mov word [ebp - 0xb30], ax
mov dword [ebp - 0xb2c], eax
call fcn.00414010
lea ecx, [ebp - 0xb2c]
push ecx
push 0
mov eax, dword [eax + 8]
call eax
mov esi, dword [ebp - 0xb2c]
push esi
call fcn.005010ea
mov ebx, eax
mov dword [ebp - 0xb3c], eax
add esp, 4
test ebx, ebx
je 0x47cc4c
push esi
push 0
push ebx
call fcn.00503920
add esp, 0xc
mov byte [ebx], 0
jmp 0x47cc54
xor ebx, ebx
mov dword [ebp - 0xb3c], ebx
mov dword [ebp - 0xb4c], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x47ce26
call fcn.00414010
lea ecx, [ebp - 0xb2c]
push ecx
push ebx
mov eax, dword [eax + 8]
call eax
test eax, eax
jne 0x47ce26
mov edi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [eax + eax]
push 0x100
lea eax, [ebp - 0x120]
or esi, 0xffffffff
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [edi + 8]
push eax
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea eax, [ebp - 0x120]
push 0x100
push eax
call fcn.00413520
add esp, 0x10
mov dword [ebp - 0xb24], 0
lea eax, [ebp - 0xb24]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x120]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47ce10
push 0x800
push eax
lea eax, [ebp - 0xb20]
push eax
call fcn.00503920
add esp, 0xc
mov dword [ebp - 0xb40], 0x800
lea eax, [ebp - 0xb40]
push eax
lea eax, [ebp - 0xb20]
push eax
push 0
push 0
push str.PnpInstanceID
push dword [ebp - 0xb24]
call ebx
test eax, eax
jne 0x47cdd7
call fcn.004074f0
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x47cd65
movaps xmm0, xmmword [str.StrIsIntlEqualW]
lea ecx, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x3c], eax
push 3
push 0x56462c
lea eax, [ebp - 0xb20]
push eax
mov eax, dword [ebx + 0x3c]
push 0
call eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47cdd7
lea eax, [ebp - 0xb44]
mov dword [ebp - 0xb38], 0
push eax
lea eax, [ebp - 0xb38]
mov dword [ebp - 0xb44], 4
push eax
push 0
push 0
push str.MediaSubType
push dword [ebp - 0xb24]
call ebx
cmp eax, 2
je 0x47cdd5
test eax, eax
jne 0x47cdd7
mov eax, dword [ebp - 0xb38]
cmp eax, 1
je 0x47cdd5
cmp eax, 2
jne 0x47cdd7
lea esi, [eax - 1]
jmp 0x47cdd7
xor esi, esi
push dword [ebp - 0xb24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
je 0x47cdec
test esi, esi
jne 0x47ce10
mov eax, dword [edi + 0x194]
mov dword [ebp - 0xb28], eax
mov dword [ebp - 0xb34], eax
mov ax, word [edi + 0x198]
mov word [ebp - 0xb30], ax
test esi, esi
je 0x47ce1a
mov edi, dword [edi]
test edi, edi
jne 0x47cc90
mov ebx, dword [ebp - 0xb3c]
mov edi, dword [ebp - 0xb48]
push 0x200
lea eax, [ebp - 0x320]
push 0
push eax
call fcn.00503920
mov eax, dword [ebp - 0xb30]
add esp, 0xc
mov ecx, dword [ebp - 0xb28]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0xb30]
push eax
mov eax, ecx
shr eax, 0x18
push eax
mov eax, ecx
shr ecx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, cl
push eax
movzx eax, byte [ebp - 0xb34]
push eax
lea eax, [ebp - 0x320]
push str._02X__02X__02X__02X__02X__02X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea eax, [ebp - 0x320]
mov ecx, edi
push eax
call fcn.00408080
test ebx, ebx
je 0x47cea5
push ebx
call fcn.005010e5
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret