Function at 0x408320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x426014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
push 0x2c0
call fcn.0041c7b3
mov esi, eax
mov dword [ebp - 0x24], esi
push 0x2c0
push 0
push esi
mov dword [ebp - 4], 0
call sub.VCRUNTIME140.dll_memset
push 8
call fcn.0041c7b3
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
add esp, 0x14
movq qword [eax], xmm0
mov dword [eax], vtable.MyPlayerCallback.0
mov dword [eax + 4], edi
lea eax, [esi + 4]
mov dword [eax], vtable.MessageListener.0
mov dword [ebp - 0x2c], eax
mov dword [esi + 8], vtable.TimerListener.0
mov byte [ebp - 4], 1
lea edi, [esi + 0x1c]
mov dword [esi], vtable.MicController.1.0
mov dword [esi + 8], vtable.MicController.2.0
mov dword [eax], vtable.MicController.0
mov dword [esi + 0x168], 0xbb80
mov dword [esi + 0x16c], 0x14
mov esi, 0xa
push 0x780
call fcn.0041c819
add esp, 4
mov dword [edi], eax
lea edi, [edi + 0x20]
sub esi, 1
jne 0x4080c5
mov esi, dword [ebp - 0x24]
mov dword [esi + 0x18], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x164], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x180], 1
mov byte [ebp - 4], 3
lea edi, [esi + 0x1ec]
mov dword [edi + 0xc8], 0
mov eax, closesocket
mov ecx, 0x32
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x10], eax
mov eax, dword [0x426678]
mov dword [esi + 0xc], 0
test eax, eax
jne 0x40818b
push 8
call fcn.0041c7b3
mov dword [ebp - 0x30], eax
add esp, 4
xorps xmm0, xmm0
mov dword [0x426678], eax
movq qword [eax], xmm0
mov dword [eax], 0xffffffff
call fcn.00401910
mov eax, dword [0x426678]
push 0x2a4
mov dword [esi + 0x170], eax
call fcn.0041c7b3
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x2a4
push 0
push esi
mov byte [ebp - 4], 4
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x2c]
call fcn.004040d0
mov ecx, dword [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
push 0xc
mov dword [0x42668c], ecx
mov dword [ecx + 0x2b8], eax
mov dword [ecx + 0x18c], 0
mov dword [ecx + 0x190], 4
mov dword [ecx + 0x1e8], 0
mov dword [ecx + 0x1e4], 0
movups xmmword [ecx + 0x194], xmm0
movups xmmword [ecx + 0x1a4], xmm0
movups xmmword [ecx + 0x1b4], xmm0
movups xmmword [ecx + 0x1c4], xmm0
movups xmmword [ecx + 0x1d4], xmm0
mov dword [ecx + 0x2bc], 0
call fcn.0041c7b3
add esp, 4
mov esi, eax
mov dword [ebp - 0x30], esi
xorps xmm0, xmm0
push 0
movq qword [esi], xmm0
push 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push dword [ebp - 0x38]
push 0
push 0
push 0
push 0
push 0x50000100
push 0
push str.msctls_statusbar32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1c]
push ecx
push 3
push 0x404
push eax
mov dword [esi + 8], eax
mov dword [ebp - 0x1c], 0x12c
mov dword [ebp - 0x18], 0x1f4
mov dword [ebp - 0x14], 0xffffffff
call edi
push str.Disconnected
push 0
push 0x40b
push dword [esi + 8]
call edi
mov eax, dword [0x42667c]
mov ecx, 2
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [0x426690], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x2c], 0x400
test eax, eax
je 0x4082fc
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push str.transport
push eax
call edi
mov ecx, dword [ebp - 0x24]
mov esi, dword [0x426690]
dec ecx
xor eax, eax
cmp ecx, 3
ja case.default.0x408304
jmp dword [ecx*4 + 0x4085a8]
mov eax, str.Bluetooth
jmp case.default.0x408304
mov eax, 0x423298
jmp case.default.0x408304
mov eax, str.Wi_Fi
jmp case.default.0x408304
mov eax, str.Wi_Fi_direct
push eax
push 1
push 0x40b
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [0x426690]
push 0x100
push 0x426ba8
push 0x72
push dword [0x426684]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x426ba8
push 0
push 0x40b
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_GetMenu]
mov esi, eax
mov dword [ebp - 0x34], 0
mov eax, dword [0x42667c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], 0x400
test eax, eax
je 0x4083b4
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0
push str.play
push eax
call edi
cmp dword [ebp - 0x34], 1
sete al
jmp 0x4083b6
xor al, al
movzx eax, al
shl eax, 3
push eax
push 0xd7
push esi
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
call esi
mov eax, dword [0x42667c]
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x30], 0x400
test eax, eax
je 0x408405
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0
push str.alwaysAllowToExit
push eax
call edi
cmp byte [ebp - 0x1d], 1
sete al
jmp 0x408407
xor al, al
movzx eax, al
shl eax, 3
push eax
push 0xda
push dword [ebp - 0x24]
call esi
mov eax, dword [0x42667c]
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x30], 0x400
test eax, eax
je 0x408452
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0
push str.autoConnect
push eax
call edi
cmp byte [ebp - 0x1d], 1
sete al
jmp 0x408454
xor al, al
movzx eax, al
shl eax, 3
push eax
push 0xd8
push dword [ebp - 0x24]
call esi
mov eax, dword [0x42667c]
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x30], 1
test eax, eax
je 0x40849f
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0
push str.flashWhenAborting
push eax
call edi
cmp byte [ebp - 0x1d], 1
sete al
jmp 0x4084a1
xor al, al
movzx eax, al
shl eax, 3
push eax
push 0xdb
push dword [ebp - 0x24]
call esi
mov eax, dword [0x42667c]
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x34], 0x400
test eax, eax
je 0x40850c
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x25]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0
push str.autoConnect
push eax
call edi
cmp byte [ebp - 0x25], 1
sete al
test al, al
je 0x40850c
mov eax, dword [0x42668c]
push 0
push ecx
push 0
mov ecx, dword [eax + 0x2b8]
push 1
mov byte [0x426784], 0
call fcn.004042b0
push 0x3c0
call fcn.0041c7b3
push 0x3c0
mov edi, eax
push 0
push edi
mov dword [ebp - 0x24], edi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x38]
add esp, 0x10
mov eax, dword [ebp - 0x24]
mov esi, dword [0x426688]
mov dword [edi], ecx
add edi, 4
push 0xe6
push esi
mov dword [eax + 8], ecx
mov dword [edi], 0x3bc
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 7
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebp - 0x24]
push 0x40
mov dword [ecx + 0x18], eax
lea eax, [ecx + 0x1c]
push eax
push 0x64
push esi
mov dword [ecx + 0x14], 0x401
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 0x24]
push edi
push 0
mov dword [0x426788], eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c5a7
mov esp, ebp
pop ebp
ret