Function at 0x4578c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eff7d
mov eax, dword fs:[0]
push eax
sub esp, 0xb28
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xa28], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa70], eax
mov dword [ebp - 0xa58], 0
lea ecx, [ebp - 0x9d8]
call fcn.00407a4a
mov dword [ebp - 4], 0
mov byte [ebp - 0x9dc], 0
push str.srl::SetupLib::GetNetworkDeviceInfo
lea ecx, [ebp - 0x9d8]
call fcn.00414ef0
mov dword [ebp - 4], 1
call fcn.0041db40
cmp dword [eax + 4], 4
jl 0x457953
push ecx
lea ecx, [ebp - 0x9dc]
call fcn.00412cf0
cmp byte [esi + 0x1c], 0
je 0x45899e
mov byte [ebp - 4], 2
mov dword [ebp - 0xa0c], 0
lea eax, [ebp - 0xa0c]
push eax
push 0x601e70
mov ecx, esi
call fcn.0045a1f0
test al, al
je 0x4589d0
xor edi, edi
mov dword [ebp - 0xa5c], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0x9a8], xmm0
movq qword [ebp - 0x998], xmm0
mov dword [ebp - 0x990], edi
mov dword [ebp - 0x9a8], 0x1c
lea eax, [ebp - 0x9a8]
push eax
push edi
push dword [ebp - 0xa0c]
mov eax, dword [esi + 0x28]
call eax
test eax, eax
je 0x45898c
inc edi
mov dword [ebp - 0xa5c], edi
call fcn.0040cc25
mov ecx, eax
test ecx, ecx
jne 0x4579e7
push 0x80004005
call fcn.004022e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4579fc
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4579fe
call edx
add eax, 0x10
mov dword [ebp - 0xa20], eax
call fcn.0040cc25
mov ecx, eax
test ecx, ecx
jne 0x457a1c
push 0x80004005
call fcn.004022e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x457a31
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x457a33
call edx
add eax, 0x10
mov dword [ebp - 0xa1c], eax
call fcn.0040cc25
mov ecx, eax
test ecx, ecx
jne 0x457a51
push 0x80004005
call fcn.004022e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x457a66
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x457a68
call edx
add eax, 0x10
mov dword [ebp - 0xa14], eax
mov byte [ebp - 0xa18], 0
mov word [ebp - 0xa10], 0
mov byte [ebp - 4], 3
call fcn.0040cc25
mov ecx, eax
test ecx, ecx
jne 0x457a9a
push 0x80004005
call fcn.004022e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x457aaf
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x457ab1
call edx
add eax, 0x10
mov dword [ebp - 0x9fc], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x9fc]
push eax
push 0xc
mov edi, dword [ebp - 0xa0c]
push edi
lea eax, [ebp - 0x9a8]
push eax
mov ecx, esi
call fcn.00459a50
test al, al
je 0x457aec
mov eax, dword [ebp - 0x9fc]
cmp dword [eax - 0xc], 0
jne 0x457b0a
lea eax, [ebp - 0x9fc]
push eax
push 0
push edi
lea eax, [ebp - 0x9a8]
push eax
mov ecx, esi
call fcn.00459a50
mov eax, dword [ebp - 0x9fc]
lea edx, [eax - 0x10]
mov esi, dword [ebp - 0xa20]
add esi, 0xfffffff0
cmp edx, esi
je 0x457bc3
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x457bb4
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x457bb4
push edx
call fcn.00402231
add esp, 4
mov dword [ebp - 0x9f8], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x457ba3
mov edx, dword [esi]
mov ecx, dword [edx]
mov edi, dword [ecx + 4]
push esi
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x457b9f
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x457b8c
push 0
push dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
call edi
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
jmp 0x457bc3
call edx
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
jmp 0x457bc3
mov ecx, edx
call edi
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
jmp 0x457bc3
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0xa20]
call fcn.004020e3
lea eax, [ebp - 0x9fc]
push eax
push 1
push dword [ebp - 0xa0c]
lea eax, [ebp - 0x9a8]
push eax
mov ecx, dword [ebp - 0xa28]
call fcn.00459a50
test al, al
je 0x457ca5
mov eax, dword [ebp - 0x9fc]
lea edx, [eax - 0x10]
mov esi, dword [ebp - 0xa1c]
add esi, 0xfffffff0
cmp edx, esi
je 0x457ca5
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x457c96
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x457c96
push edx
call fcn.00402231
add esp, 4
mov dword [ebp - 0x9f8], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x457c85
mov edx, dword [esi]
mov ecx, dword [edx]
mov edi, dword [ecx + 4]
push esi
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x457c81
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x457c6e
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
jmp 0x457ca5
call edx
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
jmp 0x457ca5
mov ecx, edx
call edi
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
jmp 0x457ca5
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0xa1c]
call fcn.004020e3
lea eax, [ebp - 0x9fc]
push eax
push 0xd
push dword [ebp - 0xa0c]
lea eax, [ebp - 0x9a8]
push eax
mov ecx, dword [ebp - 0xa28]
call fcn.00459a50
test al, al
je 0x457d54
mov esi, dword [ebp - 0x9fc]
mov edi, dword [esi - 0xc]
test edi, edi
jns 0x457ce5
push 0x80070057
call fcn.004022e2
mov ecx, 1
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
jge 0x457d08
push edi
lea ecx, [ebp - 0x9fc]
call fcn.00401fda
mov esi, dword [ebp - 0x9fc]
lea eax, [edi + 1]
push eax
push esi
call fcn.005c9138
add esp, 8
cmp edi, dword [esi - 8]
jg 0x457cdb
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x457d4d
push str.pci_bus_0
push esi
call fcn.005c01d4
add esp, 8
test eax, eax
je 0x457d4d
sub eax, esi
sar eax, 1
mov dword [ebp - 0xa00], eax
mov byte [ebp - 0xa18], 1
jns 0x457d54
mov byte [ebp - 0xa18], 0
lea ecx, [ebp - 0x9f4]
call fcn.00407a4a
mov byte [ebp - 4], 5
lea eax, [ebp - 0x9fc]
push eax
push 9
push dword [ebp - 0xa0c]
lea eax, [ebp - 0x9a8]
push eax
mov ecx, dword [ebp - 0xa28]
call fcn.00459a50
test al, al
je 0x458833
call fcn.0040cc25
mov ecx, eax
test ecx, ecx
jne 0x457da1
push 0x80004005
call fcn.004022e2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x457db6
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x457db8
call edx
add eax, 0x10
mov dword [ebp - 0xa08], eax
mov byte [ebp - 4], 6
push str.SYSTEMCurrentControlSetControlClass_
lea ecx, [ebp - 0xa08]
call fcn.0040d370
test al, al
jne 0x457e8f
mov esi, dword [ebp - 0xa08]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x9f8], eax
mov edi, str.SYSTEMCurrentControlSetControlClass_
sub edi, esi
sar edi, 1
mov ecx, 1
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
sub eax, 0x27
or eax, ecx
jge 0x457e1a
push 0x27
lea ecx, [ebp - 0xa08]
call fcn.00401fda
mov esi, dword [ebp - 0xa08]
cmp edi, dword [ebp - 0x9f8]
ja 0x457e65
mov eax, dword [esi - 8]
lea ecx, [esi + edi*2]
test ecx, ecx
jne 0x457e3e
call fcn.005c3fdd
mov dword [eax], 0x16
call fcn.005c3f04
jmp 0x457e78
add eax, eax
cmp eax, 0x4e
jae 0x457e57
call fcn.005c3fdd
mov dword [eax], 0x22
call fcn.005c3f04
jmp 0x457e78
push 0x4e
push ecx
push esi
call fcn.005bfc60
add esp, 0xc
jmp 0x457e78
push 0x27
push str.SYSTEMCurrentControlSetControlClass_
push dword [esi - 8]
push esi
call fcn.004021b7
add esp, 0x10
cmp dword [esi - 8], 0x27
jl 0x457cdb
mov dword [esi - 0xc], 0x27
xor eax, eax
mov word [esi + 0x4e], ax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x9fc]
push dword [esi - 0xc]
push esi
lea ecx, [ebp - 0xa08]
call fcn.00404a5c
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 0
mov byte [ebp - 4], 8
mov dword [ebp - 0xa48], 0
lea eax, [ebp - 0xa48]
push eax
push 0x20019
push 0
mov edi, dword [ebp - 0xa08]
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x457f16
mov dword [ebp - 0xa40], eax
mov eax, dword [ebp - 0xa48]
mov dword [ebp - 0xa44], eax
mov dword [ebp - 0xa40], 0
jmp 0x457f18
xor eax, eax
mov dword [ebp - 0xa4c], 0x7d0
lea ecx, [ebp - 0xa4c]
push ecx
lea ecx, [ebp - 0x974]
push ecx
lea ecx, [ebp - 0xa78]
push ecx
push 0
push str.DriverVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x457f6b
mov eax, dword [ebp - 0xa78]
cmp eax, 1
je 0x457f59
cmp eax, 2
jne 0x457f6b
cmp dword [ebp - 0xa4c], 0
jne 0x457f6b
xor eax, eax
mov word [ebp - 0x974], ax
lea edx, [ebp - 0x974]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x457f74
sub edx, ecx
sar edx, 1
mov dword [ebp - 0xa04], edx
mov eax, dword [ebp - 0xa14]
jne 0x458071
lea ecx, [eax - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0xa04], edx
cmp dword [ecx + 4], 0
je 0x45817f
lea edx, [ecx + 0xc]
cmp dword [edx], 0
jge 0x457fd9
cmp dword [eax - 8], 0
jge 0x457fc2
push 0x80070057
call fcn.004022e2
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [ebp - 0xa14]
mov word [eax], cx
jmp 0x45817f
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x45803a
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x9f8], esi
cmp eax, vtable.ATL::CAtlStringMgr.0
mov esi, dword [ebp - 0x9fc]
push ecx
jne 0x458032
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x9f8], edi
cmp eax, vtable.ATL::CWin32Heap.0
mov edi, dword [ebp - 0xa08]
jne 0x458028
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45803a
mov ecx, edx
call dword [ebp - 0x9f8]
jmp 0x45803a
mov ecx, edx
call dword [ebp - 0x9f8]
mov ecx, dword [ebp - 0xa04]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x458061
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xa14], eax
jmp 0x45817f
call edx
add eax, 0x10
mov dword [ebp - 0xa14], eax
jmp 0x45817f
mov dword [ebp - 0x9f8], eax
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0xa00], ecx
lea ecx, [ebp - 0x974]
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0xa24], ecx
test edx, edx
jns 0x45809e
push 0x80070057
call fcn.004022e2
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x4580c9
push edx
lea ecx, [ebp - 0xa14]
call fcn.00401fda
mov ecx, dword [ebp - 0xa14]
mov edx, dword [ebp - 0xa04]
jmp 0x4580cf
mov ecx, dword [ebp - 0x9f8]
mov eax, dword [ebp - 0xa24]
cmp eax, dword [ebp - 0xa00]
ja 0x458147
lea eax, [ecx + eax*2]
mov dword [ebp - 0x9f8], eax
lea eax, [edx + edx]
mov dword [ebp - 0xa00], eax
test eax, eax
mov esi, dword [ebp - 0x9fc]
je 0x458167
cmp dword [ebp - 0x9f8], 0
jne 0x458114
call fcn.005c3fdd
mov dword [eax], 0x16
call fcn.005c3f04
jmp 0x45815b
mov eax, dword [ecx - 8]
add eax, eax
mov edx, dword [ebp - 0xa00]
cmp eax, edx
jae 0x458135
call fcn.005c3fdd
mov dword [eax], 0x22
call fcn.005c3f04
jmp 0x45815b
push edx
push dword [ebp - 0x9f8]
push ecx
call fcn.005bfc60
add esp, 0xc
jmp 0x45815b
push edx
lea eax, [ebp - 0x974]
push eax
push dword [ecx - 8]
push ecx
call fcn.004021b7
add esp, 0x10
mov edx, dword [ebp - 0xa04]
mov ecx, dword [ebp - 0xa14]
cmp edx, dword [ecx - 8]
jg 0x457cdb
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0xa14]
mov word [eax + edx*2], cx
mov dword [ebp - 0xa50], 0x7d0
lea eax, [ebp - 0xa50]
push eax
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0xa74]
push eax
push 0
push str.NetCFGInstanceID
push dword [ebp - 0xa44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4581d7
mov eax, dword [ebp - 0xa74]
cmp eax, 1
je 0x4581c5
cmp eax, 2
jne 0x4581d7
cmp dword [ebp - 0xa50], 0
jne 0x4581d7
xor eax, eax
mov word [ebp - 0x974], ax
lea eax, [ebp - 0x974]
push eax
lea ecx, [ebp - 0x9c0]
call fcn.004075e1
mov byte [ebp - 4], 9
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0x98c]
call fcn.004075e1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x9c0]
cmp dword [ebp - 0x9ac], 8
cmovae ecx, dword [ebp - 0x9c0]
mov dword [ebp - 0xa00], ecx
mov edx, dword [ebp - 0x9b0]
mov dword [ebp - 0xa24], edx
mov eax, dword [ebp - 0x97c]
mov dword [ebp - 0x9f8], eax
mov eax, dword [ebp - 0x978]
sub eax, dword [ebp - 0x97c]
cmp edx, eax
ja 0x458299
add dword [ebp - 0x97c], edx
lea ecx, [ebp - 0x98c]
cmp dword [ebp - 0x978], 8
cmovae ecx, dword [ebp - 0x98c]
mov dword [ebp - 0xa04], ecx
lea eax, [edx + edx]
push eax
push dword [ebp - 0xa00]
mov eax, dword [ebp - 0x9f8]
lea eax, [ecx + eax*2]
push eax
call fcn.005bfc60
add esp, 0xc
mov eax, dword [ebp - 0xa24]
add eax, dword [ebp - 0x9f8]
xor edx, edx
mov ecx, dword [ebp - 0xa04]
mov word [ecx + eax*2], dx
jmp 0x4582b4
mov byte [ebp - 0xa7c], 0
push edx
push ecx
push dword [ebp - 0xa7c]
push edx
lea ecx, [ebp - 0x98c]
call fcn.0041ea00
mov ecx, dword [ebp - 0x97c]
mov dword [ebp - 0xa24], ecx
mov edx, dword [ebp - 0x978]
mov eax, edx
sub eax, ecx
cmp eax, 0xb
jb 0x458316
lea eax, [ecx + 0xb]
mov dword [ebp - 0x97c], eax
lea eax, [ebp - 0x98c]
cmp edx, 8
cmovae eax, dword [ebp - 0x98c]
mov dword [ebp - 0xa00], eax
push 0x16
push str.Connection
lea eax, [eax + ecx*2]
push eax
call fcn.005bfc60
add esp, 0xc
xor edx, edx
mov eax, dword [ebp - 0xa00]
mov ecx, dword [ebp - 0xa24]
mov word [eax + ecx*2 + 0x16], dx
jmp 0x458337
mov byte [ebp - 0xa64], 0
push 0xb
push str.Connection
push dword [ebp - 0xa64]
push 0xb
lea ecx, [ebp - 0x98c]
call fcn.0041ea00
mov dword [ebp - 0xa2c], 0
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa30], 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x98c]
cmp dword [ebp - 0x978], 8
cmovae eax, dword [ebp - 0x98c]
mov dword [ebp - 0xa54], 0
lea ecx, [ebp - 0xa54]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4583bd
mov dword [ebp - 0xa34], eax
mov eax, dword [ebp - 0xa54]
mov dword [ebp - 0xa38], eax
mov dword [ebp - 0xa34], 0
jmp 0x4583bf
xor eax, eax
mov dword [ebp - 0xa68], 4
lea ecx, [ebp - 0xa68]
push ecx
lea ecx, [ebp - 0xa2c]
push ecx
lea ecx, [ebp - 0xb30]
push ecx
push 0
push str.MediaSubType
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xb2c], 0x63e1c8
mov dword [ebp - 0xb1c], 0x63e1c0
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0xc
or dword [ebp - 0xa58], 1
mov eax, dword [0x63e1cc]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xb30], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0xb24], xmm0
push ecx
lea eax, [ebp - 0xb14]
push eax
mov eax, dword [ebp - 0xb2c]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0xb2c]
add ecx, eax
call fcn.00416b80
mov dword [ebp - 4], 0xf
lea eax, [ebp - 0xb1c]
mov dword [ebp - 0xa00], eax
mov eax, dword [ebp - 0xb1c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb1c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb20], eax
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0xb2c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xb30], eax
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0xb2c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xb30], eax
lea eax, [ebp - 0xb14]
mov dword [ebp - 0xa00], eax
mov ecx, eax
call fcn.00416aa0
mov byte [ebp - 4], 0x13
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xb34], 0
mov dword [ebp - 0xadc], 0
mov dword [ebp - 0xad8], 0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x15
push dword [ebp - 0xa2c]
lea ecx, [ebp - 0xb1c]
call fcn.00415d70
mov eax, dword [ebp - 0xa2c]
cmp eax, 2
jne 0x458574
mov byte [ebp - 0xa0f], 1
mov byte [ebp - 0xa10], 0
jmp 0x458586
cmp eax, 1
jne 0x458586
mov byte [ebp - 0xa0f], 0
mov byte [ebp - 0xa10], al
mov dword [ebp - 0xa60], 0x190
lea eax, [ebp - 0xa60]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xa6c]
push eax
push 0
push str.Name
push dword [ebp - 0xa38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4585de
mov eax, dword [ebp - 0xa6c]
cmp eax, 1
je 0x4585cc
cmp eax, 2
jne 0x4585de
cmp dword [ebp - 0xa60], 0
jne 0x4585de
xor eax, eax
mov word [ebp - 0x1a4], ax
xor eax, eax
mov word [ebp - 0x194], ax
push str.Wi_Fi
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
movzx ecx, byte [ebp - 0xa0f]
test eax, eax
mov eax, 1
cmove ecx, eax
mov byte [ebp - 0xa0f], cl
push str.Ethernet
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
movzx ecx, byte [ebp - 0xa10]
test eax, eax
mov eax, 1
cmove ecx, eax
mov byte [ebp - 0xa10], cl
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0xb2c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xb30], eax
mov byte [ebp - 4], 0x18
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea ecx, [ebp - 0xb14]
call fcn.00417bd0
mov byte [ebp - 4], 0x19
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xae0]
mov dword [ebp - 0x9f8], eax
test eax, eax
je 0x4586d2
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4586c3
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4586bd
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [ebp - 0x9f8]
push 8
push eax
call fcn.005bca11
add esp, 8
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0xb2c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xb30], eax
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0xb1c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb1c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb20], eax
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0xb2c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xb30], eax
mov byte [ebp - 4], 0x1e
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x1f
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
lea eax, [ebp - 0xac4]
push eax
call fcn.005be849
add esp, 4
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xa38]
test eax, eax
je 0x45879d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x98c]
call fcn.004075ab
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x9c0]
call fcn.004075ab
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xa44]
test eax, eax
je 0x4587e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa40], 0
mov byte [ebp - 4], 5
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x458839
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45882f
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x45882f
push 0
push dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
call edi
jmp 0x45883f
call edx
jmp 0x458839
mov esi, dword [ebp - 0x9fc]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0xa20]
push eax
mov ecx, dword [ebp - 0xa70]
call fcn.0045c4e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9f4]
call fcn.004075ab
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45889d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45889b
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x45889b
push 0
push dword [ecx + 4]
call edi
jmp 0x45889d
call edx
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0xa14]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4588e2
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4588de
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4588de
push 0
push dword [edx + 4]
call edi
jmp 0x4588e2
mov ecx, edx
call esi
mov ecx, dword [ebp - 0xa1c]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x458923
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45891f
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x45891f
push 0
push dword [edx + 4]
call edi
jmp 0x458923
mov ecx, edx
call esi
mov ecx, dword [ebp - 0xa20]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x458977
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x458973
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x458973
push 0
push dword [edx + 4]
call edi
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xa28]
mov edi, dword [ebp - 0xa5c]
jmp 0x4579b0
mov ecx, edx
call esi
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xa28]
mov edi, dword [ebp - 0xa5c]
jmp 0x4579b0
push dword [ebp - 0xa0c]
mov eax, dword [esi + 0x4c]
call eax
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9dc]
call fcn.00414900
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bc745
mov esp, ebp
pop ebp
ret 4
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x458997
push 2
call fcn.0041db40
mov ecx, eax
call fcn.0041dca0
mov esi, eax
call fcn.0041db40
mov ecx, dword [esi + 0x10]
mov byte [ebp - 4], 0x21
cmp dword [esi + 0x14], 8
jb 0x4589ff
mov esi, dword [esi]
mov byte [ebp - 4], 2
push ecx
mov edx, esi
mov ecx, eax
call fcn.004137f0
mov edx, str.Failed_call_to_GetDeviceSet_for_GetSoundInfo
mov ecx, eax
call fcn.00413320
push eax
call fcn.00414850
add esp, 8
jmp 0x458997