Function at 0x42d510
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x46fc68]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
mov eax, dword [ebp + 8]
add eax, 0xdc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xa8], 0x20
jle 0x42d551
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x20
jmp 0x42d563
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa8]
mov dword [eax + 0xd4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
push ecx
call fcn.0042d280
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42d58d
mov edx, dword [ebp + 8]
mov dword [edx + 0x17a4], 0
jmp 0x42d59a
mov eax, dword [ebp + 8]
mov dword [eax + 0x17a4], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x42d5b3
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0xd4]
jge 0x42d7cc
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x34
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + ecx + 0x4dc], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x34
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x4e0], 1
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x4dc]
push edx
call fcn.0042ccd0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42d7c7
cmp dword [ebp - 0x10], 0
je 0x42d6af
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x4e8]
and edx, 0x80000000
je 0x42d6af
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x4e8]
and edx, 0x7fffffff
mov dword [ebp - 0x1c], edx
jne 0x42d6af
cmp dword [ebp - 4], 0xffffffff
jne 0x42d6af
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x4e8]
and edx, 0x7fffffff
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x4e8], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1688]
and eax, 2
je 0x42d6af
mov ecx, dword [ebp - 8]
push ecx
push str.Channel__d_MSB_set__but_is_not_a_valid_WUH_input_r_n
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x34
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x4e8]
and eax, 0x80000000
je 0x42d793
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1688]
and edx, 2
je 0x42d6fe
mov eax, dword [ebp - 8]
push eax
push str.Channel__d_MSB_set_r_n
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x4e8]
and edx, 0x7fffffff
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 1
jne 0x42d736
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x4dc]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0
jne 0x42d759
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x4dc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0042d3d0
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x42d7c7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1688]
and eax, 2
je 0x42d7c7
mov ecx, dword [ebp - 8]
push ecx
push str.Channel__d_MSB_not_set_r_n
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x42d5aa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1688]
and edx, 2
je 0x42d800
mov eax, dword [ebp - 0xc]
push eax
push str.dwNumOfASIOWUHInputChannels_d_r_n
lea ecx, [ebp - 0x828]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x828]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xd4], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0xd8], 0
push 0x474768
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xdc
push ecx
call fcn.0042cc50
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42d96c
mov dword [ebp - 0x82c], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x42d86d
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xd4]
jge 0x42d948
mov edx, dword [ebp - 8]
shl edx, 4
mov eax, dword [ebp - 8]
imul eax, eax, 0x34
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov edx, dword [esi + edx + 0xe0]
mov dword [ecx + eax + 0x4dc], edx
mov eax, dword [ebp - 8]
shl eax, 4
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x34
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov eax, dword [esi + eax + 0xdc]
mov dword [edx + ecx + 0x4e0], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x34
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x4dc]
push eax
call fcn.0042ccd0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
jne 0x42d93b
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x34
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x4e8]
and eax, 0x7fffffff
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 1
jne 0x42d91b
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x34
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x4dc]
mov dword [ebp - 0x82c], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x34
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x4dc]
push eax
mov ecx, dword [ebp - 0x82c]
push ecx
call fcn.0042d3d0
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x42d943
jmp 0x42d948
jmp 0x42d864
cmp dword [ebp - 0x18], 0
jne 0x42d96c
mov edx, dword [ebp + 8]
add edx, 0xd0
push edx
mov eax, dword [ebp + 8]
add eax, 0xcc
push eax
call fcn.0042ce20
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004148bc
mov esp, ebp
pop ebp
ret