Function at 0x450052
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db772
mov eax, dword fs:[0]
push eax
sub esp, 0xb2c
mov eax, dword [0x65bfd4]
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.00412820
mov dword [ebp - 4], 0
call fcn.00419a30
cmp dword [eax + 4], 4
jl 0x44f6ca
push ecx
lea ecx, [ebp - 0x9dc]
call fcn.00411390
cmp byte [esi + 0x1c], 0
je 0x4506af
mov byte [ebp - 4], 1
mov dword [ebp - 0xa08], 0
lea eax, [ebp - 0xa08]
push eax
push 0x617df0
mov ecx, esi
call fcn.00451590
test al, al
je 0x4506e1
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 0x45069d
inc edi
mov dword [ebp - 0xa58], edi
call fcn.0040cb60
mov ecx, eax
test ecx, ecx
je 0x450774
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45077e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
call fcn.0040cb60
mov ecx, eax
test ecx, ecx
je 0x450785
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45078f
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
call fcn.0040cb60
mov ecx, eax
test ecx, ecx
je 0x450796
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4507a0
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.0040cb60
mov ecx, eax
test ecx, ecx
je 0x4507a7
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4507b1
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.00451390
test al, al
je 0x44f84b
mov eax, dword [ebp - 0x9fc]
cmp dword [eax - 0xc], 0
jne 0x44f869
lea eax, [ebp - 0x9fc]
push eax
push 0
push edi
lea eax, [ebp - 0x9a8]
push eax
mov ecx, esi
call fcn.00451390
mov eax, dword [ebp - 0x9fc]
lea edx, [eax - 0x10]
mov esi, dword [ebp - 0xa20]
add esi, 0xfffffff0
cmp edx, esi
je 0x44f90b
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x44f8fc
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x44f8fc
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 0x44f8eb
mov edx, dword [esi]
mov ecx, dword [edx]
mov edi, dword [ecx + 4]
push esi
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x4507ce
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4507b8
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 0x44f90b
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
jmp 0x44f90b
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.00451390
test al, al
je 0x44f9da
mov eax, dword [ebp - 0x9fc]
lea edx, [eax - 0x10]
mov esi, dword [ebp - 0xa1c]
add esi, 0xfffffff0
cmp edx, esi
je 0x44f9da
lea edi, [esi + 0xc]
cmp dword [edi], 0
jl 0x44f9cb
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x44f9cb
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 0x44f9ba
mov edx, dword [esi]
mov ecx, dword [edx]
mov edi, dword [ecx + 4]
push esi
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x4507ed
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4507d7
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 0x44f9da
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
jmp 0x44f9da
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.00451390
test al, al
je 0x44fa87
mov esi, dword [ebp - 0x9fc]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4507f6
mov ecx, 1
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
jge 0x44fa37
push edi
lea ecx, [ebp - 0x9fc]
call fcn.00401fd8
mov esi, dword [ebp - 0x9fc]
lea eax, [edi + 1]
push eax
push esi
call fcn.005b5908
add esp, 8
cmp edi, dword [esi - 8]
jg 0x4507f6
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x44fa80
push str.pci_bus_0
push esi
call fcn.005ac92e
add esp, 8
test eax, eax
je 0x44fa80
sub eax, esi
sar eax, 1
mov dword [ebp - 0xa04], eax
mov byte [ebp - 0xa18], 1
jns 0x44fa87
mov byte [ebp - 0xa18], 0
lea ecx, [ebp - 0x9f4]
call fcn.004079ab
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.00451390
test al, al
je 0x450518
call fcn.0040cb60
mov ecx, eax
test ecx, ecx
je 0x450800
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45080a
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 0x44fb21
movzx eax, cx
push eax
lea ecx, [ebp - 0xa24]
call fcn.0040d3d0
mov byte [ebp - 0xa09], 1
jmp 0x44fbca
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 0x44fb55
push 0x27
lea ecx, [ebp - 0xa24]
call fcn.00401fd8
mov esi, dword [ebp - 0xa24]
cmp edi, dword [ebp - 0x9f8]
ja 0x44fba0
mov eax, dword [esi - 8]
lea ecx, [esi + edi*2]
test ecx, ecx
jne 0x44fb79
call fcn.005b0782
mov dword [eax], 0x16
call fcn.005b06a9
jmp 0x44fbb3
add eax, eax
cmp eax, 0x4e
jae 0x44fb92
call fcn.005b0782
mov dword [eax], 0x22
call fcn.005b06a9
jmp 0x44fbb3
push 0x4e
push ecx
push esi
call fcn.005ad520
add esp, 0xc
jmp 0x44fbb3
push 0x27
push str.SYSTEMCurrentControlSetControlClass_
push dword [esi - 8]
push esi
call fcn.004021b4
add esp, 0x10
cmp dword [esi - 8], 0x27
jl 0x4507f6
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.00404878
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 0x44fc51
mov dword [ebp - 0xa44], eax
mov eax, dword [ebp - 0xa4c]
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0xa44], 0
jmp 0x44fc53
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 0x44fca6
mov eax, dword [ebp - 0xa7c]
cmp eax, 1
je 0x44fc94
cmp eax, 2
jne 0x44fca6
cmp dword [ebp - 0xa50], 0
jne 0x44fca6
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 0x44fcb0
sub edx, ecx
sar edx, 1
mov dword [ebp - 0xa00], edx
mov eax, dword [ebp - 0xa14]
jne 0x44fd9d
lea ecx, [eax - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0xa00], edx
cmp dword [ecx + 4], 0
je 0x44fea5
lea edx, [ecx + 0xc]
cmp dword [edx], 0
jge 0x44fd0f
cmp dword [eax - 8], 0
jl 0x450811
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [ebp - 0xa14]
mov word [eax], cx
jmp 0x44fea5
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x44fd64
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 0x450828
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 0x45081b
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 0x450835
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
add eax, 0x10
mov dword [ebp - 0xa14], eax
jmp 0x44fea5
add eax, 0x10
mov dword [ebp - 0xa14], eax
jmp 0x44fea5
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 0x45083c
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x44fdef
push edx
lea ecx, [ebp - 0xa14]
call fcn.00401fd8
mov ecx, dword [ebp - 0xa14]
mov edx, dword [ebp - 0xa00]
jmp 0x44fdf5
mov ecx, dword [ebp - 0x9f8]
mov eax, dword [ebp - 0xa28]
cmp eax, dword [ebp - 0xa04]
ja 0x44fe6d
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 0x44fe8d
cmp dword [ebp - 0x9f8], 0
jne 0x44fe3a
call fcn.005b0782
mov dword [eax], 0x16
call fcn.005b06a9
jmp 0x44fe81
mov eax, dword [ecx - 8]
add eax, eax
mov edx, dword [ebp - 0xa04]
cmp eax, edx
jae 0x44fe5b
call fcn.005b0782
mov dword [eax], 0x22
call fcn.005b06a9
jmp 0x44fe81
push edx
push dword [ebp - 0x9f8]
push ecx
call fcn.005ad520
add esp, 0xc
jmp 0x44fe81
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 0x4507f6
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 0x44fefd
mov eax, dword [ebp - 0xa80]
cmp eax, 1
je 0x44feeb
cmp eax, 2
jne 0x44fefd
cmp dword [ebp - 0xa54], 0
jne 0x44fefd
xor eax, eax
mov word [ebp - 0x974], ax
lea eax, [ebp - 0x974]
push eax
lea ecx, [ebp - 0x9c0]
call fcn.00407534
mov byte [ebp - 4], 8
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0x98c]
call fcn.00407534
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 0x44ffc7
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.005ad520
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 0x44ffe2
mov byte [ebp - 0xa68], 0
push edx
push ecx
push dword [ebp - 0xa68]
push edx
lea ecx, [ebp - 0x98c]
call fcn.0041acb0
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 0x450044
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.005ad520
add esp, 0xc
xor edx, edx
mov eax, dword [ebp - 0xa04]
mov ecx, dword [ebp - 0xa28]
mov word [eax + ecx*2 + 0x16], dx
jmp 0x450065
mov byte [ebp - 0xa6c], 0
push 0xb
push str.Connection
push dword [ebp - 0xa6c]
push 0xb
lea ecx, [ebp - 0x98c]
call fcn.0041acb0
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 0x4500eb
mov dword [ebp - 0xa38], eax
mov eax, dword [ebp - 0xa64]
mov dword [ebp - 0xa3c], eax
mov dword [ebp - 0xa38], 0
jmp 0x4500ed
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], 0x629548
mov dword [ebp - 0xb20], 0x629540
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.004146f0
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.004147a0
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.00413d60
mov eax, dword [ebp - 0xa30]
cmp eax, 2
jne 0x45026b
mov byte [ebp - 0xa0f], 1
mov byte [ebp - 0xa10], 0
jmp 0x45027d
cmp eax, 1
jne 0x45027d
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 0x4502d5
mov eax, dword [ebp - 0xa74]
cmp eax, 1
je 0x4502c3
cmp eax, 2
jne 0x4502d5
cmp dword [ebp - 0xa5c], 0
jne 0x4502d5
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.00415310
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 0x4503bd
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4503b2
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4503ac
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [ebp - 0x9f8]
push 8
push eax
call fcn.005a9369
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.005ab546
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xa3c]
test eax, eax
je 0x450480
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.00407500
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c0]
call fcn.00407500
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xa48]
test eax, eax
je 0x4504c7
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 0x45051e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x450846
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x450846
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45051e
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 0x450540
mov ecx, eax
call fcn.00452d50
add dword [esi + 4], 0x14
jmp 0x450548
push eax
mov ecx, esi
call fcn.00452830
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9f4]
call fcn.00407500
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4505a0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45084d
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x45084d
push 0
push dword [ecx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
call edi
jmp 0x4505a6
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 0x4505ed
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x450854
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x450854
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 0x450630
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45085d
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x45085d
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 0x450688
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x450866
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x450866
push 0
push dword [edx + 4]
call edi
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0xa2c]
mov edi, dword [ebp - 0xa58]
jmp 0x44f727
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0xa2c]
mov edi, dword [ebp - 0xa58]
jmp 0x44f727
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.00412760
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.005a909b
mov esp, ebp
pop ebp
ret 4
call fcn.00419a30
cmp dword [eax + 4], 2
jl 0x4506a8
push 2
call fcn.00419a30
mov ecx, eax
call fcn.00419e60
mov esi, eax
call fcn.00419a30
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x45070c
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.004117c0
mov edx, str.Failed_call_to_GetDeviceSet_for_GetSoundInfo
mov ecx, eax
call fcn.00411430
push eax
call fcn.00412720
add esp, 8
jmp 0x4506a8
push 0x80004005
call fcn.004022df
call edx
jmp 0x44f76f
push 0x80004005
call fcn.004022df
call edx
jmp 0x44f79e
push 0x80004005
call fcn.004022df
call edx
jmp 0x44f7cd
push 0x80004005
call fcn.004022df
call edx
jmp 0x44f810
call edx
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa20], eax
jmp 0x44f90b
mov ecx, edx
call edi
jmp 0x44f8eb
call edx
mov eax, dword [ebp - 0x9f8]
add eax, 0x10
mov dword [ebp - 0xa1c], eax
jmp 0x44f9da
mov ecx, edx
call edi
jmp 0x44f9ba
push 0x80070057
call fcn.004022df
push 0x80004005
call fcn.004022df
call edx
jmp 0x44fae5
push 0x80070057
call fcn.004022df
mov ecx, edx
call dword [ebp - 0x9f8]
jmp 0x44fd64
mov ecx, edx
call dword [ebp - 0x9f8]
jmp 0x44fd64
call edx
jmp 0x44fd8f
push 0x80070057
call fcn.004022df
call edx
jmp 0x45051e
call edx
jmp 0x4505a0
mov ecx, edx
call esi
jmp 0x4505ed
mov ecx, edx
call esi
jmp 0x450630
mov ecx, edx
call esi
jmp 0x450688