Function at 0x46bbb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54a258
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x84], 0
jne 0x46bbff
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esi + 0xe0]
push 0
mov dword [esp + 0x38], ecx
call fcn.00505414
lea ecx, [esi + 0x134]
push 0
mov dword [esp + 0x3c], ecx
call fcn.00505414
lea ecx, [esi + 0x188]
push 0
mov dword [esp + 0x34], ecx
call fcn.00505414
lea edi, [esi + 0x1dc]
push 0
mov ecx, edi
call fcn.00505414
lea ecx, [esi + 0x230]
push 0
mov dword [esp + 0x1c], ecx
call fcn.00505414
lea ecx, [esi + 0x284]
push 0
mov dword [esp + 0x18], ecx
call fcn.00505414
mov eax, dword [esi + 0x84]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x46be40
push 5
mov ecx, edi
call fcn.00505414
mov ecx, dword [esi + 0x1fc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x414
push ecx
call ebx
mov edx, dword [esi + 0x1fc]
push 1
push 0
push 0x417
push edx
call ebx
mov eax, dword [esi + 0x1fc]
push 0x14
push 0
push 0x415
push eax
call ebx
push 1
push 0x64
push 0
mov ecx, edi
call fcn.0050ad2e
mov eax, dword [esi + 0x80]
test eax, eax
push 0x957
je 0x46bce9
lea ebx, [esi + 0x2d8]
push eax
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.00424a10
jmp 0x46bd02
lea eax, [esi + 0x2d8]
mov esi, edi
mov edi, eax
mov dword [esp + 0x20], eax
call fcn.004249c0
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [esi + 0x84]
xor edi, edi
mov dword [esp + 0x20], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x20]
push eax
call edx
test eax, eax
je 0x46be40
mov eax, dword [esp + 0x20]
test al, 1
jne 0x46be40
cmp eax, 2
jb 0x46be40
mov ecx, dword [esi + 0x80]
xor ebx, ebx
test dword [ecx + 0x134], 0x10000000
je 0x46bd61
mov eax, dword [esi + 0x88]
cmp eax, edi
je 0x46bd61
cmp dword [eax + 0x80], 1
jne 0x46bd61
lea ebx, [edi + 1]
test dword [ecx + 0x34], 0x100
je 0x46bd82
mov eax, dword [esi + 0x88]
cmp eax, edi
je 0x46bd82
cmp dword [eax + 0x80], 4
jne 0x46bd82
mov ebx, 1
cmp ecx, edi
je 0x46bdc2
mov eax, dword [esi + 0x88]
cmp eax, edi
je 0x46bdc2
push 1
push 0x56a0cc
push ecx
add eax, 0x14
mov ecx, esp
mov dword [esp + 0x4c], esp
mov dword [esp + 0x30], edi
push eax
lea edi, [esp + 0x34]
call fcn.00402360
call fcn.004ba520
add esp, 0xc
test eax, eax
je 0x46bdc2
cmp dword [esp + 0x24], 0
jne 0x46be40
test ebx, ebx
jne 0x46be40
mov edi, dword [esp + 0x30]
push 5
mov ecx, edi
call fcn.00505414
mov ecx, dword [esp + 0x34]
push 5
call fcn.00505414
mov ecx, dword [esp + 0x38]
push 5
call fcn.00505414
mov eax, edi
call fcn.004065e0
mov eax, dword [esi + 0x1a8]
push 5
push ebx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xa
push 0xfffffffffffffff6
mov ecx, edi
call fcn.0050ad2e
mov eax, dword [esi + 0x80]
test eax, eax
push 0x956
je 0x46be2f
mov ebx, dword [esp + 0x20]
push eax
mov ecx, edi
call fcn.00424a10
jmp 0x46be40
mov esi, edi
mov edi, dword [esp + 0x20]
call fcn.004249c0
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [esi + 0x84]
cmp dword [ecx + 0x1c], 0
je 0x46be8d
mov ecx, dword [esp + 0x18]
push 5
call fcn.00505414
mov eax, dword [esi + 0x80]
test eax, eax
push 0x958
je 0x46be78
mov ecx, dword [esp + 0x1c]
lea ebx, [esi + 0x2d8]
push eax
call fcn.00424a10
jmp 0x46be8d
lea edi, [esi + 0x2d8]
mov esi, dword [esp + 0x1c]
call fcn.004249c0
mov esi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x84]
cmp dword [eax + 0x2c], 0
jne 0x46bea3
cmp dword [eax + 0x34], 0
je 0x46bf2e
mov ecx, dword [esp + 0x14]
push 5
call fcn.00505414
mov eax, dword [esi + 0x80]
test eax, eax
push 0x95f
je 0x46becf
mov ecx, dword [esp + 0x18]
lea ebx, [esi + 0x2d8]
push eax
call fcn.00424a10
jmp 0x46bee4
lea edi, [esi + 0x2d8]
mov esi, dword [esp + 0x18]
call fcn.004249c0
mov esi, dword [ebp + 8]
add esp, 4
mov edx, dword [esi + 0x84]
cmp dword [edx + 0x1c], 0
jne 0x46bf2e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46bf13
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.0050743c
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 5
push 0
push 0
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 0
call fcn.00505623
mov eax, dword [esi + 0x84]
cmp dword [eax + 0x40], 0
je 0x46c240
mov ecx, dword [esp + 0x14]
push 5
call fcn.00505414
mov eax, dword [esi + 0x80]
test eax, eax
push 0xc7c
je 0x46bf6a
mov ecx, dword [esp + 0x18]
lea ebx, [esi + 0x2d8]
push eax
call fcn.00424a10
jmp 0x46bf7f
lea edi, [esi + 0x2d8]
mov esi, dword [esp + 0x18]
call fcn.004249c0
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, dword [esi + 0x84]
xor ebx, ebx
cmp dword [ecx + 0x1c], ebx
jne 0x46bfc7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x46bfaf
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.0050743c
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push 5
push ebx
push ebx
push edx
push eax
push ebx
call fcn.00505623
mov eax, dword [esi + 0x80]
test dword [eax + 0x188], 0x10000000
je 0x46c240
mov ecx, dword [eax + 0x208]
lea edx, [esp + 0x2c]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esi + 0x84]
push edx
mov dword [esp + 0x30], ebx
call fcn.004a9520
cmp eax, ebx
jne 0x46c009
push 0x5773b8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x28], ebx
xor edi, edi
call fcn.004238d0
cmp eax, ebx
je 0x46c064
mov edx, dword [0x567780]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x567784]
mov dword [ecx + 4], edx
mov edx, dword [0x567788]
push 4
mov dword [ecx + 8], edx
mov edx, dword [0x56778c]
push ebx
push 0x3b
mov dword [ecx + 0xc], edx
push eax
lea edx, [esp + 0x48]
call fcn.00422670
cmp eax, ebx
jne 0x46c060
push str._CPL__CLineVolumeDlg::InitVolumeCtrls____get_KsProperty_IsHeadPhone_fail___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x46c064
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x2c], ebx
je 0x46c1ec
mov eax, dword [esi + 0x88]
cmp eax, ebx
je 0x46c193
cmp edi, ebx
je 0x46c193
mov eax, dword [eax + 0x88]
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x46c193
cmp dword [edi + 0x24], ebx
je 0x46c193
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
call edx
test eax, eax
je 0x46c193
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fe909
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46c191
mov ecx, dword [esp + 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
push ecx
push ebx
mov ecx, edi
call edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
xor eax, eax
test edx, edx
jbe 0x46c116
lea esp, [esp]
mov ecx, dword [esi + 0x7c]
cmp dword [ebx + eax*4], ecx
jle 0x46c10f
mov dword [ebx + eax*4], ecx
mov edx, dword [esp + 0x18]
add eax, 1
cmp eax, edx
jb 0x46c100
mov eax, dword [esi + 0x80]
test dword [eax + 0x18c], 0x4000000
jne 0x46c137
mov eax, dword [edi]
push edx
mov edx, dword [eax + 0x48]
push ebx
mov ecx, edi
call edx
mov dword [esp + 0x24], eax
mov edi, esi
call fcn.0046c2a0
cmp dword [esp + 0x24], 0
jne 0x46c188
lea ecx, [esp + 0x1c]
call fcn.004025c0
mov dword [esp + 0x60], 0
mov eax, dword [esi + 0x7c]
push eax
lea ecx, [esp + 0x20]
push str._CPL__CLineVolumeDlg::InitVolumeCtrls____SetVolume_fail____d__n
push ecx
call fcn.00402620
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 0xffffffff
call fcn.004592f0
push ebx
call fcn.004fe90e
add esp, 4
xor ebx, ebx
mov dword [esp + 0x38], 1
call fcn.004238d0
cmp eax, ebx
je 0x46c240
mov ecx, dword [esi + 0x80]
test dword [ecx + 0x18c], 0x4000000
jne 0x46c240
mov edx, dword [0x567780]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x567784]
mov dword [ecx + 4], edx
mov edx, dword [0x567788]
mov dword [ecx + 8], edx
mov edx, dword [0x56778c]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x48]
jmp 0x46c225
mov dword [esp + 0x3c], ebx
call fcn.004238d0
cmp eax, ebx
je 0x46c240
mov edx, dword [0x567780]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x567784]
mov dword [ecx + 4], edx
mov edx, dword [0x567788]
mov dword [ecx + 8], edx
mov edx, dword [0x56778c]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x4c]
push 4
push 1
push 0x3b
push eax
call fcn.00422670
test eax, eax
jne 0x46c240
push str._CPL__CLineVolumeDlg::InitVolumeCtrls____set_KsProperty_PROPERTY_CUSTOMIZED_HPLimitedOutputWithEerProtection_fail___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4