Function at 0x180013380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov r10, rdx
mov rax, rcx
imul edx, r9d, 0xa9e
mov ecx, r9d
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], edx
cmp r9d, edx
ja 0x180013422
mov r15, qword [rsp + 0x60]
xor r14d, r14d
mov rsi, qword [rsp + 0x30]
movabs rbx, 0x7fffffffffffffff
mov edi, dword [rsp + 0x28]
movzx ebp, byte [rsp + 0x20]
lea r11, [0x180000000]
cmp ecx, 0x8458
ja 0x1800134de
je 0x1800134ce
cmp ecx, 0x4248
ja 0x180013484
je 0x180013474
cmp ecx, 0x20
je 0x180013466
cmp ecx, 0x38
je 0x18001345c
cmp ecx, 0x7c
je 0x18001343b
cmp ecx, 0x1300
jne 0x180013902
movzx eax, word [rsp + 0x24]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [r8 + 0x18], 0x10
mov rax, r8
jb 0x180013448
mov rax, qword [r8]
add rax, 4
mov bpl, 1
mov qword [rsp + 0x30], rax
mov rsi, rax
jmp 0x180013902
mov dword [rsp + 0x2c], r14d
jmp 0x180013902
mov eax, dword [r8 + 4]
mov word [rsp + 0x24], ax
jmp 0x180013902
mov eax, dword [0x40010000]
mov dword [rsp + 0x2c], eax
jmp 0x180013902
cmp ecx, 0x49a0
je 0x1800134bc
cmp ecx, 0x4f90
je 0x1800134ad
cmp ecx, 0x6350
jne 0x180013902
and dword [rsp + 0x2c], 0xff80
jmp 0x180013902
mov eax, dword [r8]
mov dword [0x423001b0], eax
jmp 0x180013902
mov rax, qword [r8 + 0x10]
sub rax, 4
mov qword [rsp + 0x40], rax
jmp 0x180013902
movzx eax, byte [r8]
shl eax, 4
or dword [rsp + 0x2c], eax
jmp 0x180013902
cmp ecx, 0x1250c
ja 0x180013607
je 0x1800135ea
cmp ecx, 0x92c4
je 0x1800135dc
cmp ecx, 0xa560
je 0x1800135c3
cmp ecx, 0xdbe8
jne 0x180013902
call qword [sym.imp.WINMM.dll_auxGetNumDevs]
mov rdx, qword [rsp + 0x60]
mov r8d, r14d
mov dword [rsp + 0x48], eax
mov ecx, 0x56
nop dword [rax + rax]
cmp ecx, 0x56
je 0x18001357a
cmp ecx, 0x229a
je 0x180013557
cmp ecx, 0x44de
jne 0x18001359a
mov r9, qword [rsp + 0x30]
inc r9
add r9, r15
mov qword [rsp + 0x30], r9
jmp 0x18001359a
mov rax, 0xffffffffffffffff
sub rax, r15
add qword [rsp + 0x40], rax
jne 0x18001359a
nop dword [rax + rax]
mov byte [rsp + 0x24], 0
jmp 0x180013422
mov r9, qword [rsp + 0x30]
mov r15, 0xffffffffffffffff
mov qword [rdx], r9
nop dword [rax]
inc r15
cmp byte [r9 + r15], 0
jne 0x180013590
add ecx, 0x2244
cmp ecx, 0x66cc
jbe 0x180013530
inc r8d
add rdx, 8
cmp r8d, 4
jb 0x180013526
mov rsi, qword [rsp + 0x30]
jmp 0x1800138f2
movzx eax, byte [rax]
mov edx, dword [rsp + 0x2c]
or edx, eax
mov dword [rsp + 0x2c], edx
mov dword [0x40010000], edx
jmp 0x1800138fe
add rax, 0x20
mov qword [rsp + 0x60], rax
jmp 0x180013902
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r10
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x90], xmm0
jmp 0x180013902
cmp ecx, 0x16e30
je 0x1800136a1
cmp ecx, 0x1b754
je 0x18001362c
cmp ecx, 0x20078
je 0x180013422
jmp 0x180013902
test bpl, bpl
je 0x180013691
mov edi, dword [rsp + 0x48]
mov ebx, 0xde
nop word [rax + rax]
mov eax, ebx
sub eax, 0xde
je 0x18001365d
cmp eax, 1
jne 0x180013665
lea rdx, [rsp + 0x58]
mov ecx, edi
call qword [sym.imp.WINMM.dll_auxGetVolume]
jmp 0x180013665
mov edi, r14d
mov dword [rsp + 0x58], r14d
inc ebx
cmp ebx, 0xe0
jb 0x180013640
mov ecx, dword [rsp + 0x3c]
movabs rbx, 0x7fffffffffffffff
mov r9d, dword [rsp + 0x108]
mov edx, dword [rsp + 0x38]
mov dword [rsp + 0x48], edi
mov edi, dword [rsp + 0x28]
cmp qword [rsp + 0x40], 0
sete byte [rsp + 0x24]
jmp 0x180013902
cmp dword [rsp + 0x48], 0
lea rdx, [rsp + 0x90]
mov ecx, r14d
movzx eax, bpl
cmovne ecx, eax
mov dword [rsp + 0x4c], r14d
mov byte [rsp + 0x20], cl
mov qword [rsp + 0x50], rdx
nop word [rax + rax]
mov r13d, 0x126
mov r12d, 5
nop dword [rax]
cmp r12d, 5
ja case.default.0x1800136f8
mov eax, r12d
mov ecx, dword [r11 + rax*4 + 0x13940]
add rcx, r11
jmp rcx
cmp qword [rsp + 0x40], 4
jb 0x180013570
mov eax, dword [rsi]
mov edi, eax
mov dword [rsp + 0x28], eax
jmp case.default.0x1800136f8
add qword [rsp + 0x30], 4
jmp 0x1800138b6
mov eax, edi
cmp rax, qword [rsp + 0x40]
jbe case.default.0x1800136f8
mov eax, 0x15
cmp eax, 0x15
je 0x180013742
cmp eax, 0xcb
je 0x180013422
jmp 0x180013747
mov byte [rsp + 0x24], 0
add eax, 0xb6
cmp eax, 0x181
jb 0x180013730
jmp case.default.0x1800136f8
mov rdi, qword [rdx]
mov r14d, dword [rsp + 0x28]
mov rbp, qword [rdi + 0x18]
cmp r14, rbp
ja 0x1800137ab
mov rbx, rdi
cmp rbp, 0x10
jb 0x180013775
mov rbx, qword [rdi]
mov r8, r14
mov qword [rdi + 0x10], r14
mov rdx, rsi
mov rcx, rbx
call fcn.1800637d0
mov rdx, qword [rsp + 0x50]
lea r11, [0x180000000]
mov edi, dword [rsp + 0x28]
mov byte [rbx + r14], 0
movabs rbx, 0x7fffffffffffffff
jmp case.default.0x1800136f8
mov rcx, rbp
mov rsi, r14
shr rcx, 1
or rsi, 0xf
mov rax, rbx
mov qword [rsp + 0x80], rsi
sub rax, rcx
cmp rbp, rax
jbe 0x1800137d0
mov rsi, rbx
jmp 0x1800137e3
lea rax, [rcx + rbp]
cmp rsi, rax
mov qword [rsp + 0x88], rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x18001381c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180013934
mov rcx, rax
call fcn.180062018
test rax, rax
je 0x18001393a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18001382d
test rcx, rcx
je 0x18001382b
call fcn.180062018
mov rbx, rax
jmp 0x18001382d
xor ebx, ebx
mov rdx, qword [rsp + 0x30]
mov r8, r14
mov rcx, rbx
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], rsi
call fcn.1800637d0
mov byte [rbx + r14], 0
cmp rbp, 0x10
jb 0x180013881
mov rcx, qword [rdi]
lea rdx, [rbp + 1]
cmp rdx, 0x1000
jb 0x18001387c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001393a
mov rcx, r8
call fcn.180062054
mov rdx, qword [rsp + 0x50]
lea r11, [0x180000000]
mov qword [rdi], rbx
movabs rbx, 0x7fffffffffffffff
jmp 0x1800138b2
sub qword [rsp + 0x40], 4
jmp case.default.0x1800136f8
mov eax, dword [rsp + 0x28]
add qword [rsp + 0x30], rax
sub qword [rsp + 0x40], rax
mov edi, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
dec r13d
dec r12d
cmp r13d, 0x120
ja 0x1800136e0
mov eax, dword [rsp + 0x4c]
add rdx, 8
inc eax
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x4c], eax
cmp eax, 2
jb 0x1800136d0
movzx ebp, byte [rsp + 0x20]
xor r14d, r14d
mov r9d, dword [rsp + 0x108]
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
imul eax, r9d, 0x97
add ecx, eax
mov dword [rsp + 0x3c], ecx
cmp ecx, edx
ja 0x180013422
mov r8, qword [rsp + 0x100]
mov rax, qword [rsp + 0xf0]
mov r10, qword [rsp + 0xf8]
jmp 0x1800133e4
call fcn.180039d00
int3
call fcn.1800668e4
int3