Function at 0x4148e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x49cb59
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4bfdd0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bfdd0]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x4a6221
lea ecx, [esp + 0x24]
mov dword [esp + 0x148], ebx
mov byte [esp + 0x1b], bl
call fcn.004051c0
push 0x4a6221
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 1
call fcn.004051c0
mov byte [esp + 0x144], 2
mov eax, dword [esp + 0x14c]
push eax
lea ecx, [esp + 0x24]
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push ecx
call fcn.004051a0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0x2001f
mov byte [esp + 0x14c], 3
mov eax, dword [esp + 0x28]
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x414afd
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push ebx
push str.MediaSubType
push ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x103
lea ecx, [esp + 0x39]
push ebx
push ecx
mov byte [esp + 0x40], bl
call fcn.00487460
add esp, 0xc
push str.PnpInstanceID
lea edx, [esp + 0x30]
push edx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x3c]
mov dword [esp + 0x2c], 0x104
call fcn.004053c0
test eax, eax
jne 0x414a25
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
push 0x4a6224
push ecx
call fcn.004051a0
add esp, 0xc
lea edi, [esp + 0x18]
call fcn.0040b620
cmp byte [esp + 0x150], bl
je 0x414acc
cmp dword [esp + 0x1c], 2
jne 0x414acc
cmp ebp, ebx
je 0x414a48
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x144], 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
jg 0x414a70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 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 0x414a97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x144], 0xffffffff
mov eax, dword [esp + 0x14c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414ac5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x414b7e
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jl 0x414af2
push 0x4a8598
push eax
call fcn.00485997
add esp, 8
cmp eax, ebx
je 0x414af2
sub eax, dword [esp + 0x18]
js 0x414af2
mov byte [esp + 0x17], 1
cmp ebp, ebx
je 0x414afd
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x144], 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 0x414b25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 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 0x414b4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x144], 0xffffffff
mov eax, dword [esp + 0x14c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00483c76
add esp, 0x134
ret 8