Function at 0x180008bc0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x180046bd8]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov qword [rsp + 0x78], r9
mov qword [rbp - 0x60], r8
mov r10, rdx
mov qword [rbp - 0x48], rdx
mov dword [rbp - 0x78], ecx
xor edx, edx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], dl
mov edi, edx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdx
mov r12d, ecx
lea esi, [rcx + 0x10f4]
mov dword [rbp - 0x50], esi
cmp ecx, esi
jae 0x180008d3a
lea ebx, [rdx + 0x59]
lea eax, [rdx + 0x55]
lea r11d, [rdx + 0x74]
lea r14d, [rdx + 0x4d]
mov r15, qword [rbp - 0x70]
mov r13, qword [rbp - 0x70]
nop dword [rax]
cmp r12d, 0x2c4
ja 0x180008f92
je 0x180008f6b
cmp r12d, 0x18e
ja 0x180008de3
je 0x180008dbf
cmp r12d, 0xf3
ja 0x180008cdb
je 0x180008cd4
mov eax, r12d
sub eax, 0x54
je 0x180008cc4
sub eax, 0x7e
je 0x180008c9f
cmp eax, 0x1d
mov eax, 0x55
jne 0x180008d16
mov word [rbp + 0x16], r11w
jmp 0x180008d16
mov dword [rsp + 0x30], 0x19
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
xor ecx, ecx
call fcn.180005ee0
jmp 0x180008d0c
mov dword [rbp + 0x10], 0x6e6f63
mov dword [rbp + 0x13], 0x63656e
jmp 0x180008d11
mov byte [rsp + 0x71], 1
jmp 0x180008d16
mov eax, r12d
sub eax, 0x119
je 0x180008daa
sub eax, 0x54
je 0x180008d94
cmp eax, 0x1d
jne 0x180008d11
lea r8d, [rax - 0x1c]
lea rdx, [0x18003d4a0]
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov r9, qword [rsp + 0x78]
mov eax, 0x55
add r12d, 0x9b
cmp r12d, esi
mov r8, qword [rbp - 0x60]
mov r10, qword [rbp - 0x48]
mov edx, 0
lea ebx, [rdx + 0x59]
lea r11d, [rdx + 0x74]
jb 0x180008c50
mov edi, dword [rbp - 0x78]
lea r15d, [rdi - 0x1d]
movzx ebx, byte [rsp + 0x70]
cmp edi, r15d
jbe 0x180009262
lea r14d, [rdi - 0x4d]
lea rdx, [0x180000000]
movabs r11, 0x6f007200700020
mov rsi, qword [rbp - 0x70]
movzx r12d, byte [rsp + 0x70]
mov r13, qword [rbp - 0x70]
cmp r14d, 0xcc
ja 0x18000955f
movzx eax, byte [rdx + r14 + 0x9678]
mov ecx, dword [rdx + rax*4 + 0x9600]
add rcx, rdx
jmp rcx
mov rdi, r10
cmp qword [r10 + 0x18], 0x10
jb 0x180008d11
mov rdi, qword [r10]
jmp 0x180008d11
mov dword [rbp + 0x18], 0x4c0045
mov eax, 0x45
mov word [rbp + 0x1c], ax
jmp 0x180008d11
mov byte [rsp + 0x70], 1
movzx eax, word [r8]
mov word [rbp - 0x80], ax
mov r8d, 0xdd
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.180003aa0
jmp 0x180008d0c
cmp r12d, 0x229
ja 0x180008f2e
je 0x180008f1c
mov eax, r12d
sub eax, 0x1b4
je 0x180008f10
sub eax, 0x54
je 0x180008e2a
cmp eax, 0x1d
jne 0x180008d11
mov word [rbp + 0x52], dx
lea r8d, [rax - 0x18]
lea rdx, [0x18003d468]
lea rcx, [rbp + 0x52]
jmp 0x180008d06
mov rbx, r9
cmp qword [r9 + 0x18], 0x10
jb 0x180008e40
mov rbx, qword [r9]
nop word [rax + rax]
mov rcx, r9
cmp qword [r9 + 0x18], 0x10
jb 0x180008e4d
mov rcx, qword [r9]
add rcx, qword [r9 + 0x10]
cmp rbx, rcx
je 0x180008f02
mov r14d, 0xde
mov eax, r14d
sub eax, 0xde
je 0x180008e9e
sub eax, 0x66
je 0x180008e8e
cmp eax, 0x66
jne 0x180008ee4
inc rdi
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rax, qword [rbp - 0x20]
movzx eax, byte [rax + r13]
mov byte [rbx], al
jmp 0x180008ee4
movzx edx, byte [rdi]
mov rcx, r15
call qword [r8]
mov r13, rax
xor edx, edx
jmp 0x180008ee0
lea rsi, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rsi, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x180008ed1
movsx edx, byte [rbx]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x180008ecf
sub r15, rsi
xor edx, edx
jmp 0x180008ed8
xor edx, edx
mov r15, 0xffffffffffffffff
cmp r15, 0xffffffffffffffff
cmove r15, rdx
mov r8, qword [rbp - 0x60]
add r14d, 0x66
cmp r14d, 0x210
jb 0x180008e60
inc rbx
mov r9, qword [rsp + 0x78]
jmp 0x180008e40
mov esi, dword [rbp - 0x50]
mov r14d, 0x4d
jmp 0x180008d11
mov dword [rbp + 0x1e], 0x45004d
jmp 0x180008d11
mov qword [rbp - 0x28], rdx
call qword [sym.imp.WINMM.dll_midiInGetNumDevs]
mov dword [rbp - 0x4c], eax
jmp 0x180008d0c
mov eax, r12d
sub eax, 0x24f
je 0x180008f5f
cmp eax, 0x71
jne 0x180008d11
mov word [rbp + 0x5c], dx
lea r8d, [rax - 0x6e]
lea rdx, [0x18003d43e]
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x180008d0c
mov dword [rbp + 0x22], 0x54004e
jmp 0x180008d11
lea r9, [rbp - 0x28]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
mov dword [rbp - 0x68], eax
mov r9, qword [rsp + 0x78]
lea rax, [0x18001f040]
mov qword [r9], rax
jmp 0x180008d11
cmp r12d, 0x420
ja 0x180009113
je 0x180009107
cmp r12d, 0x385
ja 0x180009014
je 0x18000900b
mov eax, r12d
sub eax, 0x2ea
je 0x180008fff
sub eax, 0x71
je 0x180008ff1
cmp eax, 4
jne 0x180008d11
mov ecx, edx
movzx eax, byte [rsp + 0x70]
cmp dword [rbp - 0x4c], 0
cmovne ecx, eax
mov byte [rsp + 0x70], cl
mov ecx, edx
movzx eax, byte [rsp + 0x71]
cmp dword [rbp - 0x68], 0
cmove ecx, eax
mov byte [rsp + 0x71], cl
jmp 0x180008d11
mov eax, 0x6c
mov word [rbp + 0x62], ax
jmp 0x180008d11
mov dword [rbp + 0x26], 0x54005f
jmp 0x180008d11
mov word [rbp + 0x2a], bx
jmp 0x180008d16
mov eax, r12d
sub eax, 0x3f6
je 0x1800090dd
cmp eax, 4
jne 0x180008d11
cmp byte [rsp + 0x71], 0
je 0x18000908c
mov ebx, 0xe6
mov eax, ebx
sub eax, 0xe3
je 0x18000906d
sub eax, 1
je 0x180009067
sub eax, 1
je 0x180009055
cmp eax, 1
jne 0x18000907d
mov qword [rbp - 0x58], rdx
jmp 0x18000907d
lea r8, [rbp - 0x58]
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesDecodeIncrementalHandleCreate
mov dword [rbp - 0x68], eax
jmp 0x18000907b
mov rcx, qword [rbp - 0x28]
jmp 0x180009071
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18000907d
call sub.RPCRT4.dll_MesHandleFree
xor edx, edx
dec ebx
cmp ebx, 0xe2
ja 0x180009037
mov r9, qword [rsp + 0x78]
cmp byte [rsp + 0x70], 0
je 0x180008d11
mov ebx, 0x62
nop dword [rax]
cmp ebx, 0x62
je 0x1800090c1
cmp ebx, 0xf2
jne 0x1800090c5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WINMM.dll_midiInMessage]
jmp 0x1800090c5
mov qword [rbp - 0x70], rdx
add ebx, 0x90
cmp ebx, 0x182
mov edx, 0
jb 0x1800090a0
jmp 0x180008d0c
mov word [rbp + 0x64], dx
movsd xmm0, qword [str.ws2_32]
movsd qword [rbp + 0x68], xmm0
mov eax, dword [0x18003d4f0]
mov dword [rbp + 0x70], eax
movzx eax, word [0x18003d4f4]
mov word [rbp + 0x74], ax
jmp 0x180008d11
mov dword [rbp + 0x2c], 0x450050
jmp 0x180008d16
cmp r12d, 0x556
ja 0x180009191
je 0x180009185
mov eax, r12d
sub eax, 0x491
je 0x18000916f
sub eax, 4
je 0x180009147
cmp eax, 0x26
mov eax, 0x55
jne 0x180008d16
mov dword [rbp + 0x30], 0x52005f
jmp 0x180008d16
lea rcx, [r9 + 0xa]
cmp rcx, r10
je 0x180008d11
mov rdx, r10
cmp qword [r10 + 0x18], 0x10
jb 0x180009161
mov rdx, qword [r10]
mov r8, qword [r10 + 0x10]
call fcn.180024af0
jmp 0x180008d0c
mov r8d, 2
lea rdx, [0x18003d488]
lea rcx, [rbp + 0x74]
jmp 0x180008d06
mov dword [rbp + 0x34], 0x55005f
jmp 0x180008d16
cmp r12d, 0x5f1
je 0x1800091b3
cmp r12d, 0x68c
jne 0x180008d16
mov dword [rbp + 0x3c], 0x500055
jmp 0x180008d16
mov dword [rbp + 0x38], 0x53004e
jmp 0x180008d16
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x180009595
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009582
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009582
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor eax, eax
mov r13d, eax
jmp 0x18000955f
dec edi
mov dword [rbp - 0x78], edi
dec r14d
cmp edi, r15d
jbe 0x180009262
mov r9, qword [rsp + 0x78]
mov r8, qword [rbp - 0x60]
mov r10, qword [rbp - 0x48]
jmp 0x180008d72
call fcn.18003900c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
xor eax, eax
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1800095d3
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800095ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800095ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18003900c
movzx eax, bl
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.180039520
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret