Function at 0x7ff71cd79e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ebx, ecx
lea rdi, [0x7ff71ceee40]
mov rbp, r8
mov rcx, rdi
mov r14, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
or r12d, 0xffffffff
cmp ebx, dword [0x7ff71cf0e28]
jb 0x7ff71cd7ad4
test ebx, ebx
jne 0x7ff71cd7a82
mov rcx, qword [0x7ff71cee2c8]
xor r8d, r8d
mov edx, 0xc8
call sym.WINMM.dll_mciLoadCommandResource
cmp eax, r12d
jne 0x7ff71cd7ad4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x7ff71cee2c0]
lea rax, [0x7ff71cee2c0]
cmp rcx, rax
je 0x7ff71cd7c0a
bt dword [rcx + 0x1c], 0x16
jae 0x7ff71cd7c0a
cmp byte [rcx + 0x19], 1
jb 0x7ff71cd7c0a
lea edx, [rbx + 0x23]
jmp 0x7ff71cd7bfa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x7ff71cee2c0]
lea rax, [0x7ff71cee2c0]
cmp rcx, rax
je 0x7ff71cd7c0a
bt dword [rcx + 0x1c], 0x16
jae 0x7ff71cd7c0a
cmp byte [rcx + 0x19], 1
jb 0x7ff71cd7c0a
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff71ce9580]
mov edx, 0x24
mov r9d, ebx
call fcn.7ff71cc3dd4
jmp 0x7ff71cd7c0a
lea r13, [rbx + rbx*4]
lea rbx, [0x7ff71cf0e80]
mov rcx, qword [rbx + r13*8]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
jne 0x7ff71cd7b2f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x7ff71cee2c0]
lea rax, [0x7ff71cee2c0]
cmp rcx, rax
je 0x7ff71cd7c0a
bt dword [rcx + 0x1c], 0x16
jae 0x7ff71cd7c0a
cmp byte [rcx + 0x19], 1
jb 0x7ff71cd7c0a
lea edx, [r15 + 0x25]
jmp 0x7ff71cd7bfa
mov rsi, qword [rbx + r13*8 + 0x18]
test rsi, rsi
jne 0x7ff71cd7b76
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x7ff71cee2c0]
lea rax, [0x7ff71cee2c0]
cmp rcx, rax
je 0x7ff71cd7c0a
bt dword [rcx + 0x1c], 0x16
jae 0x7ff71cd7c0a
cmp byte [rcx + 0x19], 1
jb 0x7ff71cd7c0a
lea edx, [rsi + 0x26]
jmp 0x7ff71cd7bfa
mov eax, dword [rsi]
cmp eax, r12d
je 0x7ff71cd7bcc
mov r12, r14
shr r12, 0x10
mov ebx, eax
lea rdx, [rsp + 0x60]
xor r8d, r8d
add rbx, r15
add rsi, 4
mov rcx, rbx
call fcn.7ff71cd726c
mov edi, dword [rsp + 0x60]
test r12, r12
je 0x7ff71cd7bb6
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jmp 0x7ff71cd7bbc
movzx eax, r14w
cmp edi, eax
je 0x7ff71cd7c29
mov eax, dword [rsi]
cmp eax, 0xffffffff
jne 0x7ff71cd7b84
lea rdi, [0x7ff71ceee40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x7ff71cee2c0]
lea rax, [0x7ff71cee2c0]
cmp rcx, rax
je 0x7ff71cd7c0a
bt dword [rcx + 0x1c], 0x16
jae 0x7ff71cd7c0a
cmp byte [rcx + 0x19], 3
jb 0x7ff71cd7c0a
mov edx, 0x28
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff71ce9580]
call fcn.7ff71cc12c0
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rax, [0x7ff71cf0e80]
mov qword [rax + r13*8 + 0x20], r15
test rbp, rbp
je 0x7ff71cd7c3d
mov dword [rbp], edi
lea rcx, [0x7ff71ceee40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x7ff71cee2c0]
lea rax, [0x7ff71cee2c0]
cmp rcx, rax
je 0x7ff71cd7c86
bt dword [rcx + 0x1c], 0x16
jae 0x7ff71cd7c86
cmp byte [rcx + 0x19], 3
jb 0x7ff71cd7c86
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff71ce9580]
mov edx, 0x27
mov r9, rbx
mov dword [rsp + 0x20], edi
call fcn.7ff71cc1660
mov rax, rbx
jmp 0x7ff71cd7c0c