Function at 0x411520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45bf22
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
mov eax, dword [0x4760f4]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x184]
push eax
lea ecx, [esp + 0x30]
call fcn.00401d70
mov ecx, dword [esi + 0x180]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xd0], 0
call fcn.00401d70
mov ebx, 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc], bl
call fcn.00402370
test al, al
sete dl
movzx eax, dl
push eax
lea ecx, [esp + 0x10]
call fcn.00401df0
lea ecx, [esp + 0xc]
push ecx
push 0
add esi, 0x268
push str.ChannelMutes
mov ecx, esi
mov byte [esp + 0xd8], 2
call fcn.0040eb50
mov ecx, eax
call fcn.0040e3d0
mov ecx, eax
call fcn.0040daa0
lea ecx, [esp + 0xc]
mov byte [esp + 0xcc], bl
call fcn.0040ac70
lea ecx, [esp + 0x1c]
call fcn.00402370
test al, al
sete dl
movzx eax, dl
push eax
lea ecx, [esp + 0x10]
call fcn.00401df0
lea ecx, [esp + 0xc]
push ecx
push 2
push str.ChannelMutes
mov ecx, esi
mov byte [esp + 0xd8], 3
call fcn.0040eb50
mov ecx, eax
call fcn.0040e3d0
mov ecx, eax
call fcn.0040daa0
lea ecx, [esp + 0xc]
mov byte [esp + 0xcc], bl
call fcn.0040ac70
lea ecx, [esp + 0x1c]
call fcn.00405e40
sub esp, 8
lea ecx, [esp + 0x14]
fstp qword [esp]
call fcn.00401dd0
lea edx, [esp + 0xc]
push edx
push 2
push str.ChannelVolumes
mov ecx, esi
mov byte [esp + 0xd8], 4
call fcn.0040eb50
mov ecx, eax
call fcn.0040e3d0
mov ecx, eax
call fcn.0040daa0
lea ecx, [esp + 0xc]
mov byte [esp + 0xcc], bl
call fcn.0040ac70
push ebx
lea ecx, [esp + 0x40]
call fcn.00411320
mov eax, dword [esp + 0xd4]
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0xcc], 5
jb 0x4116a7
mov eax, dword [eax + 4]
jmp 0x4116aa
add eax, 4
push 0x40
push 2
push eax
lea ecx, [esp + 0x4c]
call fcn.00411200
test eax, eax
jne 0x4116df
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x44]
lea ecx, [esp + ecx + 0x3c]
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x4116d7
or eax, 4
push 0
push eax
call fcn.00407360
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0x44], 6
je 0x411747
lea ecx, [esp + 0x90]
mov byte [esp + 0xcc], bl
call fcn.00410f60
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.00458e69
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0
call fcn.0040ac70
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.0040ac70
xor al, al
jmp 0x4117da
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.0040e5c0
add esp, 8
lea ecx, [esp + 0x40]
call fcn.00410aa0
test eax, eax
jne 0x411785
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x44]
lea ecx, [esp + ecx + 0x3c]
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x41177d
or eax, 4
push 0
push eax
call fcn.00407360
lea ecx, [esp + 0x90]
mov byte [esp + 0xcc], bl
call fcn.00410f60
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.00458e69
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0
call fcn.0040ac70
lea ecx, [esp + 0x2c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.0040ac70
mov al, bl
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc4
ret 4