Function at 0x4086b0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x426014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
mov ebx, ecx
push edi
push 0
mov edi, edx
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 0xc]
push 0xd3
push edi
mov dword [ebp - 0x210], eax
call esi
push 2
push 0xd4
push edi
call esi
cmp byte [0x426784], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jne 0x408795
mov eax, dword [0x42667c]
mov byte [ebp - 0x205], 0
mov dword [ebp - 0x220], 3
mov dword [ebp - 0x21c], 0x400
test eax, eax
je 0x40879a
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x205]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push 0
push str.autoConnect
push eax
call edi
cmp byte [ebp - 0x205], 1
sete al
test al, al
je 0x408795
mov eax, dword [0x426034]
mov ecx, 0x3c
add eax, eax
push 0
cmp eax, ecx
push 0
cmovg eax, ecx
push eax
push 0x408670
push 0
push 0
mov dword [0x426034], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c5a7
mov esp, ebp
pop ebp
ret
mov eax, dword [0x42667c]
mov esi, dword [ebp - 0x20c]
cmp esi, 0xffffffe3
je 0x408a10
cmp esi, 0xffffffe4
je 0x4088af
test esi, esi
je 0x408ade
lea eax, [esi + 0x47]
cmp eax, 0x46
ja case.0x4087cd.69
movzx eax, byte [eax + 0x408b14]
jmp dword [eax*4 + 0x408af0]
push 0x100
push 0x426ba8
push 0x78
push dword [0x426684]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, 0x426ba8
push 0x10
jmp 0x408ad4
push 0x100
push 0x426ba8
push 0x79
jmp 0x4087e0
push 0x100
push 0x426ba8
push 0x7a
push dword [0x426684]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [ebp - 0x210]
jmp 0x40888b
push 0x100
push 0x426ba8
push 0x7b
jmp 0x4087e0
push 0x100
push 0x426ba8
push 0x7c
jmp 0x4087e0
push 0x100
push 0x426ba8
push 0x7d
jmp 0x4087e0
push 0x100
push 0x426ba8
push 0x7e
jmp 0x4087e0
push 0x100
push 0x426ba8
push 0x7f
jmp 0x4087e0
push 0x100
push 0x426ba8
push 0x80
push dword [0x426684]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
push 0x426ba8
push str._s:__d
push 0x4269a8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, 0x4269a8
push 0x10
jmp 0x408ad4
mov byte [ebp - 0x206], 0
mov dword [ebp - 0x20c], 3
mov dword [ebp - 0x210], 0x400
test eax, eax
je 0x40893a
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x206]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 0
push str.autoConnect
push eax
call edi
cmp byte [ebp - 0x206], 1
sete al
test al, al
je 0x408935
push 0
push ecx
mov ecx, dword [0x42668c]
push 0
push 1
mov byte [0x426784], 0
mov ecx, dword [ecx + 0x2b8]
mov dword [0x426034], 1
call fcn.004042b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c5a7
mov esp, ebp
pop ebp
ret
mov eax, dword [0x42667c]
mov byte [ebp - 0x207], 0
mov dword [ebp - 0x218], 3
mov dword [ebp - 0x214], 1
test eax, eax
je 0x4089c1
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x207]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.flashWhenAborting
push eax
call edi
cmp byte [ebp - 0x207], 1
sete al
test al, al
je 0x4089c1
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x14
push eax
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x228], 3
mov dword [ebp - 0x224], 0
call dword [sym.imp.USER32.dll_FlashWindowEx]
push 0x100
push 0x426ba8
push 0x82
push dword [0x426684]
call dword [sym.imp.USER32.dll_LoadStringW]
push 4
push str.WO_Mic_Client
push 0x426ba8
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x408ade
mov ecx, ebx
call fcn.00407cc0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041c5a7
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 4
mov dword [ebp - 0x218], 0x400
test eax, eax
je 0x408a59
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push 0
push str.mediaPort
push eax
call edi
mov esi, dword [ebp - 0x20c]
jmp 0x408a5b
xor esi, esi
push 0x100
push 0x426ba8
push 0x83
push dword [0x426684]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
push 0x426ba8
lea eax, [ebp - 0x204]
push str._s:__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x234], 0x14
lea eax, [ebp - 0x234]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x228], 3
push eax
mov dword [ebp - 0x224], 0
call dword [sym.imp.USER32.dll_FlashWindowEx]
push 0x30
lea eax, [ebp - 0x204]
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c5a7
mov esp, ebp
pop ebp
ret