Function at 0x40a5f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c530
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0xa0
call fcn.0046506d
add esp, 4
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40a64d
push dword [esi + 0x30]
mov ecx, eax
call fcn.00426610
mov esi, eax
jmp 0x40a64f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40a807
mov ecx, esi
call fcn.00412b20
mov edi, eax
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a670
sub eax, edx
je 0x40a7fe
push 0
push edi
call fcn.0040b4f0
add esp, 8
test al, al
jne 0x40a7fe
mov eax, dword [0x4c0258]
cmp eax, 3
je 0x40a7fe
cmp eax, 4
je 0x40a7fe
mov ecx, esi
call fcn.00412ac0
mov dword [ebp - 0x214], eax
mov cl, byte [eax]
cmp cl, 0x23
je 0x40a94a
cmp cl, 0x26
je 0x40a94a
push edi
call fcn.0040ba80
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40a7fe
push esi
call fcn.00408120
add esp, 4
test al, al
je 0x40a7fe
mov ecx, esi
call fcn.00412ad0
cmp eax, 1
jne 0x40a760
push edi
call fcn.0040ba80
add esp, 4
mov dword [ebp - 0x214], eax
test eax, eax
je 0x40a7fe
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00466b60
push 0
push ebx
push str._has_joined_Voice_Chat.
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00410640
mov edi, dword [ebp - 0x214]
lea eax, [ebp - 0x110]
push 0
push eax
push dword [edi]
call fcn.00407510
push 0
push dword [edi]
call fcn.0040b040
add esp, 0x34
jmp 0x40a7fe
mov ecx, esi
call fcn.00412ad0
cmp eax, 2
jne 0x40a825
push edi
call fcn.0040ba80
add esp, 4
mov dword [ebp - 0x214], eax
test eax, eax
je 0x40a7f5
mov al, byte [eax + 4]
cmp al, 0x23
je 0x40a7ab
cmp al, 0x26
je 0x40a7ab
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00466b60
push 0
push ebx
push str._has_left_Voice_Chat.
jmp 0x40a7c6
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00466b60
push 0
push ebx
push str._has_left_Voice_Conferencing.
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00410640
mov ebx, dword [ebp - 0x214]
lea eax, [ebp - 0x110]
push 0
push eax
push dword [ebx]
call fcn.00407510
push 0
push dword [ebx]
call fcn.0040b040
add esp, 0x34
push edi
call fcn.00444a00
add esp, 4
push 1
mov ecx, esi
call fcn.00412090
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412ad0
cmp eax, 5
jne 0x40a851
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00466b60
push 0
push ebx
push str._has_Muted.
jmp 0x40a995
mov ecx, esi
call fcn.00412ad0
cmp eax, 6
jne 0x40a8a6
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00466b60
push 0
push ebx
push str.__has_Un_Muted.
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.00410640
push 0
lea eax, [ebp - 0x210]
push eax
push dword [ebx]
call fcn.00407510
push 0
push dword [ebx]
call fcn.0040b040
add esp, 0x34
jmp 0x40a7fe
mov ecx, esi
call fcn.00426bf0
test eax, eax
je 0x40a807
push 0x502
push dword [ebx]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x40a807
push 0x51c
push dword [ebx]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x40a807
push 0x32
push 0x4c1758
call fcn.004510e0
add esp, 8
test eax, eax
jne 0x40a807
push eax
push eax
mov ecx, esi
call fcn.00426bf0
push eax
push 0x410000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xfa
push 0x4c1760
call fcn.004510e0
add esp, 8
test eax, eax
jne 0x40a7fe
cmp byte [0x4c175c], al
push edi
sete al
mov byte [0x4c175c], al
test al, al
je 0x40a7f6
call fcn.00444800
jmp 0x40a7fb
push eax
call fcn.0040ba80
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40a7fe
push 0x10
push 0x10
push 0
push edi
push dword [ebx]
call fcn.00410260
add esp, 0x14
mov ecx, esi
call fcn.00412ad0
cmp eax, 3
jne 0x40a9c3
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00466b60
push 0
push ebx
push str._has_joined_Voice_Conferencing.
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00410640
push 0
lea eax, [ebp - 0x110]
push eax
push dword [ebx]
call fcn.00407510
push 0
push dword [ebx]
call fcn.0040b040
add esp, 0x34
jmp 0x40a7fe
mov ecx, esi
call fcn.00412ad0
cmp eax, 4
jne 0x40a9f0
push dword [ebp - 0x214]
call fcn.0040ba80
add esp, 4
mov dword [ebp - 0x214], eax
test eax, eax
je 0x40a7f5
jmp 0x40a7ab
mov ecx, esi
call fcn.00426bf0
test eax, eax
je 0x40a807
push 0x51c
push dword [ebx]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x40a807
push 0x32
push 0x4c174c
call fcn.004510e0
add esp, 8
test eax, eax
jne 0x40a807
push eax
push eax
mov ecx, esi
call fcn.00426bf0
push eax
push 0x410000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xfa
push 0x4c1754
call fcn.004510e0
add esp, 8
test eax, eax
jne 0x40a7fe
cmp byte [0x4c1750], al
sete al
mov byte [0x4c1750], al
test al, al
je 0x40a7f5
push edi
call fcn.00444800
jmp 0x40a7fb