Function at 0x450052
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db072
mov eax, dword fs:[0]
push eax
sub esp, 0xb2c
mov eax, dword [0x65afd4]
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 - 0xa2c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa78], eax
mov dword [ebp - 0xa60], 0
push str.srl::SetupLib::GetNetworkDeviceInfo
lea ecx, [ebp - 0x9dc]
call fcn.004128a0
mov dword [ebp - 4], 0
call fcn.00419ac0
cmp dword [eax + 4], 4
jl 0x44f83a
push ecx
lea ecx, [ebp - 0x9dc]
call fcn.00411500
cmp byte [esi + 0x1c], 0
je 0x45081f
mov byte [ebp - 4], 1
mov dword [ebp - 0xa08], 0
lea eax, [ebp - 0xa08]
push eax
push 0x617de8
mov ecx, esi
call fcn.00451700
test al, al
je 0x450851
xor edi, edi
mov dword [ebp - 0xa58], 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 - 0xa08]
mov eax, dword [esi + 0x28]
call eax
test eax, eax
je 0x45080d
inc edi
mov dword [ebp - 0xa58], edi
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x4508e4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4508ee
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x4508f5
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4508ff
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x450906
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x450910
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xa14], eax
mov byte [ebp - 0xa18], 0
mov word [ebp - 0xa10], 0
mov byte [ebp - 4], 2
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x450917
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x450921
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0x9fc], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x9fc]
push eax
push 0xc
mov edi, dword [ebp - 0xa08]
push edi
lea eax, [ebp - 0x9a8]
push eax
mov ecx, esi
call fcn.00451500
test al, al
je 0x44f9bb
mov eax, dword [ebp - 0x9fc]
cmp dword [eax - 0xc], 0
jne 0x44f9d9
lea eax, [ebp - 0x9fc]
push eax
push 0
push edi
lea eax, [ebp - 0x9a8]
push eax
mov ecx, esi
call fcn.00451500
mov eax, dword [ebp - 0x9fc]
lea edx, [eax - 0x10]
mov esi, dword [ebp - 0xa20]
add esi, 0xfffffff0
cmp edx, esi
je 0x44fa7b
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x44fa6c
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x44fa6c
push edx
call fcn.0040222e
add esp, 4
mov dword [ebp - 0x9f8], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x44fa5b
mov edx, dword [esi]
mov ecx, dword [edx]
mov edi, dword [ecx + 4]
push esi
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x45093e
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x450928
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 0x44fa7b
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
jmp 0x44fa7b
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0xa20]
call fcn.004020e5
lea eax, [ebp - 0x9fc]
push eax
push 1
push dword [ebp - 0xa08]
lea eax, [ebp - 0x9a8]
push eax
mov ecx, dword [ebp - 0xa2c]
call fcn.00451500
test al, al
je 0x44fb4a
mov eax, dword [ebp - 0x9fc]
lea edx, [eax - 0x10]
mov esi, dword [ebp - 0xa1c]
add esi, 0xfffffff0
cmp edx, esi
je 0x44fb4a
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x44fb3b
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x44fb3b
push edx
call fcn.0040222e
add esp, 4
mov dword [ebp - 0x9f8], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x44fb2a
mov edx, dword [esi]
mov ecx, dword [edx]
mov edi, dword [ecx + 4]
push esi
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x45095d
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x450947
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 0x44fb4a
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
jmp 0x44fb4a
push dword [eax - 0xc]
push eax
lea ecx, [ebp - 0xa1c]
call fcn.004020e5
lea eax, [ebp - 0x9fc]
push eax
push 0xd
push dword [ebp - 0xa08]
lea eax, [ebp - 0x9a8]
push eax
mov ecx, dword [ebp - 0xa2c]
call fcn.00451500
test al, al
je 0x44fbf7
mov esi, dword [ebp - 0x9fc]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x450966
mov ecx, 1
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
jge 0x44fba7
push edi
lea ecx, [ebp - 0x9fc]
call fcn.00401fd8
mov esi, dword [ebp - 0x9fc]
lea eax, [edi + 1]
push eax
push esi
call fcn.005b52c8
add esp, 8
cmp edi, dword [esi - 8]
jg 0x450966
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x44fbf0
push str.pci_bus_0
push esi
call fcn.005ac36f
add esp, 8
test eax, eax
je 0x44fbf0
sub eax, esi
sar eax, 1
mov dword [ebp - 0xa04], eax
mov byte [ebp - 0xa18], 1
jns 0x44fbf7
mov byte [ebp - 0xa18], 0
lea ecx, [ebp - 0x9f4]
call fcn.00407bea
mov byte [ebp - 4], 4
lea eax, [ebp - 0x9fc]
push eax
push 9
push dword [ebp - 0xa08]
lea eax, [ebp - 0x9a8]
push eax
mov ecx, dword [ebp - 0xa2c]
call fcn.00451500
test al, al
je 0x450688
call fcn.0040cce6
mov ecx, eax
test ecx, ecx
je 0x450970
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45097a
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa24], esi
mov byte [ebp - 4], 5
mov byte [ebp - 0xa09], 0
mov ecx, str.SYSTEMCurrentControlSetControlClass_
test ecx, 0xffff0000
jne 0x44fc91
movzx eax, cx
push eax
lea ecx, [ebp - 0xa24]
call fcn.0040d540
mov byte [ebp - 0xa09], 1
jmp 0x44fd3a
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x9f8], eax
mov edi, ecx
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 0x44fcc5
push 0x27
lea ecx, [ebp - 0xa24]
call fcn.00401fd8
mov esi, dword [ebp - 0xa24]
cmp edi, dword [ebp - 0x9f8]
ja 0x44fd10
mov eax, dword [esi - 8]
lea ecx, [esi + edi*2]
test ecx, ecx
jne 0x44fce9
call fcn.005b0142
mov dword [eax], 0x16
call fcn.005b0069
jmp 0x44fd23
add eax, eax
cmp eax, 0x4e
jae 0x44fd02
call fcn.005b0142
mov dword [eax], 0x22
call fcn.005b0069
jmp 0x44fd23
push 0x4e
push ecx
push esi
call fcn.005acee0
add esp, 0xc
jmp 0x44fd23
push 0x27
push str.SYSTEMCurrentControlSetControlClass_
push dword [esi - 8]
push esi
call fcn.004021b4
add esp, 0x10
cmp dword [esi - 8], 0x27
jl 0x450966
mov dword [esi - 0xc], 0x27
xor eax, eax
mov word [esi + 0x4e], ax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x9fc]
push dword [edi - 0xc]
push edi
lea ecx, [ebp - 0xa24]
call fcn.00404643
mov dword [ebp - 0xa48], 0
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa40], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0xa4c], 0
lea eax, [ebp - 0xa4c]
push eax
push 0x20019
push 0
mov esi, dword [ebp - 0xa24]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44fdc1
mov dword [ebp - 0xa44], eax
mov eax, dword [ebp - 0xa4c]
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0xa44], 0
jmp 0x44fdc3
xor eax, eax
mov dword [ebp - 0xa50], 0x7d0
lea ecx, [ebp - 0xa50]
push ecx
lea ecx, [ebp - 0x974]
push ecx
lea ecx, [ebp - 0xa7c]
push ecx
push 0
push str.DriverVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44fe16
mov eax, dword [ebp - 0xa7c]
cmp eax, 1
je 0x44fe04
cmp eax, 2
jne 0x44fe16
cmp dword [ebp - 0xa50], 0
jne 0x44fe16
xor eax, eax
mov word [ebp - 0x974], ax
lea edx, [ebp - 0x974]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44fe20
sub edx, ecx
sar edx, 1
mov dword [ebp - 0xa00], edx
mov eax, dword [ebp - 0xa14]
jne 0x44ff0d
lea ecx, [eax - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0xa00], edx
cmp dword [ecx + 4], 0
je 0x450015
lea edx, [ecx + 0xc]
cmp dword [edx], 0
jge 0x44fe7f
cmp dword [eax - 8], 0
jl 0x450981
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [ebp - 0xa14]
mov word [eax], cx
jmp 0x450015
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x44fed4
mov edx, dword [ecx]
mov eax, dword [edx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x9f8], edi
cmp eax, vtable.ATL::CAtlStringMgr.0
mov edi, dword [ebp - 0x9fc]
push ecx
jne 0x450998
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x9f8], esi
cmp eax, vtable.ATL::CWin32Heap.0
mov esi, dword [ebp - 0xa24]
jne 0x45098b
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xa00]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4509a5
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xa14], eax
jmp 0x450015
add eax, 0x10
mov dword [ebp - 0xa14], eax
jmp 0x450015
mov dword [ebp - 0x9f8], eax
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0xa04], ecx
lea ecx, [ebp - 0x974]
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0xa28], ecx
test edx, edx
js 0x4509ac
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x44ff5f
push edx
lea ecx, [ebp - 0xa14]
call fcn.00401fd8
mov ecx, dword [ebp - 0xa14]
mov edx, dword [ebp - 0xa00]
jmp 0x44ff65
mov ecx, dword [ebp - 0x9f8]
mov eax, dword [ebp - 0xa28]
cmp eax, dword [ebp - 0xa04]
ja 0x44ffdd
lea eax, [ecx + eax*2]
mov dword [ebp - 0x9f8], eax
lea eax, [edx + edx]
mov dword [ebp - 0xa04], eax
test eax, eax
mov edi, dword [ebp - 0x9fc]
je 0x44fffd
cmp dword [ebp - 0x9f8], 0
jne 0x44ffaa
call fcn.005b0142
mov dword [eax], 0x16
call fcn.005b0069
jmp 0x44fff1
mov eax, dword [ecx - 8]
add eax, eax
mov edx, dword [ebp - 0xa04]
cmp eax, edx
jae 0x44ffcb
call fcn.005b0142
mov dword [eax], 0x22
call fcn.005b0069
jmp 0x44fff1
push edx
push dword [ebp - 0x9f8]
push ecx
call fcn.005acee0
add esp, 0xc
jmp 0x44fff1
push edx
lea eax, [ebp - 0x974]
push eax
push dword [ecx - 8]
push ecx
call fcn.004021b4
add esp, 0x10
mov edx, dword [ebp - 0xa00]
mov ecx, dword [ebp - 0xa14]
cmp edx, dword [ecx - 8]
jg 0x450966
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0xa14]
mov word [eax + edx*2], cx
mov dword [ebp - 0xa54], 0x7d0
lea eax, [ebp - 0xa54]
push eax
lea eax, [ebp - 0x974]
push eax
lea eax, [ebp - 0xa80]
push eax
push 0
push str.NetCFGInstanceID
push dword [ebp - 0xa48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45006d
mov eax, dword [ebp - 0xa80]
cmp eax, 1
je 0x45005b
cmp eax, 2
jne 0x45006d
cmp dword [ebp - 0xa54], 0
jne 0x45006d
xor eax, eax
mov word [ebp - 0x974], ax
lea eax, [ebp - 0x974]
push eax
lea ecx, [ebp - 0x9c0]
call fcn.004076f8
mov byte [ebp - 4], 8
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0x98c]
call fcn.004076f8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x9c0]
cmp dword [ebp - 0x9ac], 8
cmovae ecx, dword [ebp - 0x9c0]
mov dword [ebp - 0xa04], ecx
mov edx, dword [ebp - 0x9b0]
mov dword [ebp - 0xa28], edx
mov eax, dword [ebp - 0x97c]
mov dword [ebp - 0xa00], eax
mov eax, dword [ebp - 0x978]
sub eax, dword [ebp - 0xa00]
cmp edx, eax
ja 0x450137
mov eax, dword [ebp - 0xa00]
add eax, edx
mov dword [ebp - 0x97c], eax
lea ecx, [ebp - 0x98c]
cmp dword [ebp - 0x978], 8
cmovae ecx, dword [ebp - 0x98c]
mov dword [ebp - 0x9f8], ecx
lea eax, [edx + edx]
push eax
push dword [ebp - 0xa04]
mov eax, dword [ebp - 0xa00]
lea eax, [ecx + eax*2]
push eax
call fcn.005acee0
add esp, 0xc
mov eax, dword [ebp - 0xa28]
add eax, dword [ebp - 0xa00]
xor edx, edx
mov ecx, dword [ebp - 0x9f8]
mov word [ecx + eax*2], dx
jmp 0x450152
mov byte [ebp - 0xa68], 0
push edx
push ecx
push dword [ebp - 0xa68]
push edx
lea ecx, [ebp - 0x98c]
call fcn.0041ad40
mov ecx, dword [ebp - 0x97c]
mov dword [ebp - 0xa28], ecx
mov edx, dword [ebp - 0x978]
mov eax, edx
sub eax, ecx
cmp eax, 0xb
jb 0x4501b4
lea eax, [ecx + 0xb]
mov dword [ebp - 0x97c], eax
lea eax, [ebp - 0x98c]
cmp edx, 8
cmovae eax, dword [ebp - 0x98c]
mov dword [ebp - 0xa04], eax
push 0x16
push str.Connection
lea eax, [eax + ecx*2]
push eax
call fcn.005acee0
add esp, 0xc
xor edx, edx
mov eax, dword [ebp - 0xa04]
mov ecx, dword [ebp - 0xa28]
mov word [eax + ecx*2 + 0x16], dx
jmp 0x4501d5
mov byte [ebp - 0xa6c], 0
push 0xb
push str.Connection
push dword [ebp - 0xa6c]
push 0xb
lea ecx, [ebp - 0x98c]
call fcn.0041ad40
mov dword [ebp - 0xa30], 0
mov dword [ebp - 0xa3c], 0
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x98c]
cmp dword [ebp - 0x978], 8
cmovae eax, dword [ebp - 0x98c]
mov dword [ebp - 0xa64], 0
lea ecx, [ebp - 0xa64]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45025b
mov dword [ebp - 0xa38], eax
mov eax, dword [ebp - 0xa64]
mov dword [ebp - 0xa3c], eax
mov dword [ebp - 0xa38], 0
jmp 0x45025d
xor eax, eax
mov dword [ebp - 0xa70], 4
lea ecx, [ebp - 0xa70]
push ecx
lea ecx, [ebp - 0xa30]
push ecx
lea ecx, [ebp - 0xb34]
push ecx
push 0
push str.MediaSubType
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xb30], 0x629458
mov dword [ebp - 0xb20], 0x629450
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], 0xb
or dword [ebp - 0xa60], 1
sub esp, 8
lea eax, [ebp - 0xb18]
push eax
lea ecx, [ebp - 0xb30]
call fcn.00414790
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0xb20]
mov dword [ebp - 0xa04], eax
mov eax, dword [ebp - 0xb20]
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 - 0xb20]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb24], eax
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0xb30]
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 - 0xb30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xb34], eax
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0xb30]
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 - 0xb30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xb34], eax
lea eax, [ebp - 0xb18]
mov dword [ebp - 0xa04], eax
mov ecx, eax
call fcn.00414840
mov byte [ebp - 4], 0x11
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 - 0xae0], 0
mov dword [ebp - 0xb38], 0
mov dword [ebp - 0xadc], 0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x13
push dword [ebp - 0xa30]
lea ecx, [ebp - 0xb20]
call fcn.00413de0
mov eax, dword [ebp - 0xa30]
cmp eax, 2
jne 0x4503db
mov byte [ebp - 0xa0f], 1
mov byte [ebp - 0xa10], 0
jmp 0x4503ed
cmp eax, 1
jne 0x4503ed
mov byte [ebp - 0xa0f], 0
mov byte [ebp - 0xa10], al
mov dword [ebp - 0xa5c], 0x190
lea eax, [ebp - 0xa5c]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xa74]
push eax
push 0
push str.Name
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450445
mov eax, dword [ebp - 0xa74]
cmp eax, 1
je 0x450433
cmp eax, 2
jne 0x450445
cmp dword [ebp - 0xa5c], 0
jne 0x450445
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], 0xa
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xb30]
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 - 0xb30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xb34], eax
mov byte [ebp - 4], 0x15
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 - 0xb18]
call fcn.004153b0
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 - 0xae4]
mov dword [ebp - 0x9f8], eax
test eax, eax
je 0x45052d
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x450522
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x45051c
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [ebp - 0x9f8]
push 8
push eax
call fcn.005a8d24
add esp, 8
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0xb30]
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 - 0xb30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xb34], eax
mov eax, dword [ebp - 0xb20]
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 - 0xb20]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb24], eax
mov eax, dword [ebp - 0xb30]
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 - 0xb30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xb34], eax
mov byte [ebp - 4], 0x17
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], 0x18
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
lea eax, [ebp - 0xac8]
push eax
call fcn.005aaf06
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xa3c]
test eax, eax
je 0x4505f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa3c], 0
mov dword [ebp - 0xa38], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x98c]
call fcn.004076c4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c0]
call fcn.004076c4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xa48]
test eax, eax
je 0x450637
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa48], 0
mov dword [ebp - 0xa44], 0
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45068e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4509b6
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4509b6
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45068e
mov edi, dword [ebp - 0x9fc]
mov esi, dword [ebp - 0xa78]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0xa20]
push ecx
cmp dword [esi + 8], eax
je 0x4506b0
mov ecx, eax
call fcn.00452ec0
add dword [esi + 4], 0x14
jmp 0x4506b8
push eax
mov ecx, esi
call fcn.004529a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9f4]
call fcn.004076c4
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x450710
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4509bd
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4509bd
push 0
push dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
call edi
jmp 0x450716
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0xa14]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x45075d
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4509c4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4509c4
push 0
push dword [edx + 4]
call edi
mov ecx, dword [ebp - 0xa1c]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4507a0
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4509cd
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4509cd
push 0
push dword [edx + 4]
call edi
mov ecx, dword [ebp - 0xa20]
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4507f8
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4509d6
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4509d6
push 0
push dword [edx + 4]
call edi
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0xa2c]
mov edi, dword [ebp - 0xa58]
jmp 0x44f897
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0xa2c]
mov edi, dword [ebp - 0xa58]
jmp 0x44f897
push dword [ebp - 0xa08]
mov eax, dword [esi + 0x4c]
call eax
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9dc]
call fcn.004127e0
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.005a8a56
mov esp, ebp
pop ebp
ret 4
call fcn.00419ac0
cmp dword [eax + 4], 2
jl 0x450818
push 2
call fcn.00419ac0
mov ecx, eax
call fcn.00419ef0
mov esi, eax
call fcn.00419ac0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x45087c
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00411930
mov edx, str.Failed_call_to_GetDeviceSet_for_GetSoundInfo
mov ecx, eax
call fcn.004115a0
push eax
call fcn.004127a0
add esp, 8
jmp 0x450818
push 0x80004005
call fcn.004022df
call edx
jmp 0x44f8df
push 0x80004005
call fcn.004022df
call edx
jmp 0x44f90e
push 0x80004005
call fcn.004022df
call edx
jmp 0x44f93d
push 0x80004005
call fcn.004022df
call edx
jmp 0x44f980
call edx
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
jmp 0x44fa7b
mov ecx, edx
call edi
jmp 0x44fa5b
call edx
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
jmp 0x44fb4a
mov ecx, edx
call edi
jmp 0x44fb2a
push 0x80070057
call fcn.004022df
push 0x80004005
call fcn.004022df
call edx
jmp 0x44fc55
push 0x80070057
call fcn.004022df
mov ecx, edx
call dword [ebp - 0x9f8]
jmp 0x44fed4
mov ecx, edx
call dword [ebp - 0x9f8]
jmp 0x44fed4
call edx
jmp 0x44feff
push 0x80070057
call fcn.004022df
call edx
jmp 0x45068e
call edx
jmp 0x450710
mov ecx, edx
call esi
jmp 0x45075d
mov ecx, edx
call esi
jmp 0x4507a0
mov ecx, edx
call esi
jmp 0x4507f8