joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bdfd0
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov esi, r8d
mov rdi, rcx
test rcx, rcx
jne 0x1400be024
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0x10d
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x88]
call fcn.1400be150
nop
lea r9d, [rbx + 2]
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400146e0
test eax, eax
je 0x1400be0a9
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400144b0
test eax, eax
je 0x1400be0a9
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0x11d
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400be0fe
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400be0f9
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_regclient.cpp
mov edx, 0x122
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400be0fe
mov ebx, 1
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400be124
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400be134
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400be700
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2090
call fcn.140282780
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x20c8], rbx
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x2080], rax
mov r15, r9
mov r14, r8
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], r9
xor ebp, ebp
mov dword [rsp + 0x34], ebp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400be8e5
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rsi, [0x140328530]
mov rdx, rsi
mov rcx, rdi
call fcn.140014ab0
lea rbx, [rbp - 1]
test al, al
jne 0x1400be7b9
mov rax, rbx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400be7a0
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.140010390
nop
mov dword [rsp + 0x34], 1
mov r9d, 1
mov r8, qword [r14]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.1400146e0
mov rsi, qword [rsp + 0x40]
test eax, eax
jne 0x1400be874
mov dword [rsp + 0x30], 0x2000
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400be874
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x1400be874
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400be843
test al, 1
jne 0x1400be874
shr rax, 1
cmp word [rsp + rax*2 + 0x7e], 0
je 0x1400be84b
jmp 0x1400be874
mov word [rsp + 0x80], bp
lea rcx, [rsp + 0x80]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400be856
mov r8d, eax
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.140010390
nop
test rsi, rsi
je 0x1400be883
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400be8a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400be8bb
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rsp + 0x2080]
xor rcx, rsp
call fcn.140281bf0
mov rbx, qword [rsp + 0x20c8]
add rsp, 0x2090
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x1400bec70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbp
mov rsi, r8
mov rax, rdx
mov r15, rcx
xor edi, edi
mov qword [rsp + 0x60], rdi
cmp qword [rcx], rdi
jne 0x1400beccd
mov rdx, qword [r8]
sub rdx, 0x18
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400becc6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400bed56
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1400bd410
mov rbx, 0xffffffffffffffff
test eax, eax
js 0x1400bed39
mov rcx, qword [rsi]
test rcx, rcx
jne 0x1400becf2
lea ebp, [rbx + 0xe]
jmp 0x1400bed28
mov rax, rbx
lea rax, [rax + 1]
cmp word [rcx + rax*2], di
jne 0x1400becf5
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebp, ebp
sete dil
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400bed54
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret
Function at 0x1400c20d0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rbx, rcx
call fcn.140025870
add rbx, 0xfffffffffffffff8
xor edi, edi
cmp dword [rbx + 0xa4], edi
jne 0x1400c221b
cmp dword [rbx + 0xa8], edi
jne 0x1400c213e
lea rax, [rbx + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x140340bf8]
xor edx, edx
lea r8d, [rdi + 0x17]
lea rcx, [0x140340c08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400c2265
mov dword [rbx + 0xa8], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0xd0], rax
test rax, rax
je 0x1400c2211
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0xc0], rax
test rax, rax
je 0x1400c2211
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0xc8], rax
test rax, rax
je 0x1400c2211
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1400c2ad0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xb8], rax
test rax, rax
je 0x1400c2211
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x1400c2211
mov rax, qword [rcx]
mov rdx, qword [rbx + 0xc8]
call qword [rax + 0x18]
test eax, eax
js 0x1400c2211
mov dword [rbx + 0xe0], 1
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x1400c2211
mov rax, qword [rcx]
mov rdx, qword [rbx + 0xc0]
call qword [rax + 0x30]
test eax, eax
js 0x1400c2211
mov dword [rbx + 0xe4], 1
mov dword [rbx + 0xa4], 1
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140340bf8]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140340c08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400c2272
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_rtkwovclient.cpp
mov edx, 0x2b0
lea rcx, str._VCpl__EXIT_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
jmp 0x1400c227e
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x40]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400c228e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call fcn.1400c2d50
cmp dword [rbx + 0xe8], 0x64
jae 0x1400c22cc
mov dword [rsp + 0x50], edi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1400c2ed0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xd8], rax
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400c2e80
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.1400c2d50
cmp dword [rbx + 0xe8], 0x64
jae 0x1400c2ec4
xor ecx, ecx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8, [0x1400c2ed0]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rsp + 0x40], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xd8], rax
add rsp, 0x30
pop rbx
ret
Function at 0x1400c4f50
Capabilities:
Print debug messages

Disassembly:
push r12
push r15
sub rsp, 0x68
mov rax, qword [rcx + 0x408]
mov r15, r9
movsxd r10, edx
mov r12, r8
cmp rax, r10
jg 0x1400c4f8d
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_scrollviewerctrl.cpp
mov edx, 0x511
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x68
pop r15
pop r12
jmp fcn.140052e90
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r14
test edx, edx
js 0x1400c519f
cmp r10, rax
jge 0x1400c519f
mov rax, qword [rcx + 0x400]
mov ebx, dword [rax + r10*4]
test ebx, ebx
je 0x1400c5088
test bl, 1
je 0x1400c50a8
mov edi, dword [r9]
lea rax, [rsp + 0x40]
mov esi, dword [r9 + 4]
xor r8d, r8d
movdqa xmm0, xmmword [0x140347ea0]
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x90], rbp
lea rbp, [rcx + 0xe8]
mov dword [rsp + 0x80], edi
mov rcx, rbp
mov dword [rsp + 0x84], esi
lea edx, [r9 + 6]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x20], r12
call fcn.1400b0b30
test bl, 2
je 0x1400c5080
movdqa xmm0, xmmword [0x140347ea0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x80], edi
xor r8d, r8d
mov dword [rsp + 0x84], esi
mov rcx, rbp
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea edx, [r9 + 7]
mov qword [rsp + 0x20], r12
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400b0b30
mov rbp, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x50]
add rsp, 0x68
pop r15
pop r12
ret
test bl, 2
je 0x1400c5088
lea rbx, [rcx + 0xe8]
xor esi, esi
mov rax, qword [rbx]
xor r8d, r8d
mov rcx, rbx
mov r14d, esi
lea edx, [rsi + 6]
call qword [rax + 0x98]
test eax, eax
js 0x1400c50f0
movsxd rdi, eax
cmp rdi, qword [rbx + 0xb8]
jge 0x1400c50f0
test eax, eax
js 0x1400c519f
mov rax, qword [rbx + 0xb0]
mov rdi, qword [rax + rdi*8]
jmp 0x1400c50f3
mov rdi, rsi
mov rax, qword [rbx]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 7]
call qword [rax + 0x98]
test eax, eax
js 0x1400c512b
movsxd rcx, eax
cmp rcx, qword [rbx + 0xb8]
jge 0x1400c512b
test eax, eax
js 0x1400c519f
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + rcx*8]
jmp 0x1400c512e
mov rcx, rsi
test rdi, rdi
je 0x1400c5144
test rcx, rcx
je 0x1400c5144
mov esi, dword [rdi]
sub esi, dword [rcx]
mov r14d, dword [rdi + 4]
sub r14d, dword [rcx + 4]
mov edx, dword [r15]
lea rax, [rsp + 0x40]
movdqa xmm0, xmmword [0x140347ea0]
add edx, esi
mov dword [rsp + 0x80], edx
xor r9d, r9d
mov edx, dword [r15 + 4]
xor r8d, r8d
mov qword [rsp + 0x30], rax
add edx, r14d
mov dword [rsp + 0x84], edx
mov rcx, rbx
mov rax, qword [rsp + 0x80]
lea edx, [r9 + 7]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400b0b30
jmp 0x1400c5088
call fcn.1400f5890
int3
Function at 0x1400c62b0
Capabilities:
Resume thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbp, rdx
mov rdi, rcx
call fcn.140101b30
nop
lea rax, vtable.CSilencePlayer.0
mov qword [rdi], rax
lea rax, vtable.CSilencePlayer::XNotifyClient.0
mov qword [rdi + 0x40], rax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400c64d4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 0x48], rax
lea r15, [rdi + 0x60]
xor ecx, ecx
mov qword [r15], rcx
mov qword [rdi + 0x68], rcx
mov qword [rdi + 0x70], rcx
mov qword [rdi + 0x78], rcx
lea rbx, [rdi + 0x80]
lea esi, [rcx + 4]
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
lea rbx, [rbx + 8]
sub rsi, 1
jne 0x1400c6340
test rbp, rbp
jne 0x1400c6366
xor eax, eax
jmp 0x1400c637b
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x1400c6370
mov r8d, eax
mov rdx, rbp
lea rcx, [rdi + 0x48]
call fcn.140010390
mov rax, qword [rsp + 0xa0]
movaps xmm0, xmmword [rax]
movups xmmword [rdi + 0x50], xmm0
mov qword [rsp + 0x20], r15
lea r9, [0x14032bce8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14032bcd8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400c63dc
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_silenceplayer.cpp
mov edx, 0x26
lea rcx, str._VCpl__RETURN_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
jmp 0x1400c64b9
mov rcx, qword [r15]
mov rax, qword [rcx]
lea rdx, [rdi + 0x40]
call qword [rax + 0x30]
test eax, eax
jns 0x1400c640d
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_silenceplayer.cpp
mov edx, 0x2a
lea rcx, str._VCpl__RETURN_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
jmp 0x1400c64b9
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
lea rcx, [0x1400c6a60]
call fcn.14010a808
mov rsi, rax
test rax, rax
jne 0x1400c6451
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_silenceplayer.cpp
lea edx, [rbp + 0x2f]
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400c64b9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
lea r9, [rdi + 0x78]
mov r8, rbx
mov rdx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call fcn.1400c68d0
test eax, eax
je 0x1400c64b9
mov rcx, rdi
call fcn.1400c68d0
test eax, eax
je 0x1400c64b9
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x1400c64b9
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x1400cc710
Capabilities:
Read file via mapping

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x80
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
cmp edx, 0x21010093
jne 0x1400cc8cb
xorps xmm6, xmm6
xor eax, eax
mov qword [r11 - 0x5c], rax
mov qword [r11 - 0x54], rax
mov qword [r11 - 0x4c], rax
mov qword [r11 - 0x44], rax
mov dword [rsp + 0x5c], eax
lea rdi, [rcx - 0xb8]
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x1400cc7a3
lea edx, [rax + 1]
mov rcx, rdi
call fcn.1400cada0
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x1400cc7a3
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_sndeffectsetting.cpp
mov edx, 0x40e
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400cc820
mov qword [rsp + 0x20], 0x28
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
xor ebp, ebp
test rax, rax
setne bpl
test rax, rax
je 0x1400cc7ee
movups xmm2, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm0
movsd xmm1, qword [rax + 0x20]
movsd qword [rsp + 0x58], xmm1
movaps xmm6, xmm2
movups xmmword [rsp + 0x38], xmm2
jmp 0x1400cc805
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x1400cc805
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x78], 0
test ebp, ebp
je 0x1400cc820
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop dword [rax]
nop word [rax + rax]
movss xmm2, dword [0x140347dd4]
mulss xmm6, xmm2
cvttss2si eax, xmm6
mov dword [rsi], eax
movss xmm0, dword [rsp + 0x3c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rsi + 4], eax
movss xmm1, dword [rsp + 0x40]
mulss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [rsi + 8], eax
movss xmm0, dword [rsp + 0x44]
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rsi + 0xc], eax
movss xmm1, dword [rsp + 0x48]
mulss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [rsi + 0x10], eax
movss xmm0, dword [rsp + 0x4c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rsi + 0x14], eax
movss xmm1, dword [rsp + 0x50]
mulss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [rsi + 0x18], eax
movss xmm0, dword [rsp + 0x54]
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rsi + 0x1c], eax
movss xmm1, dword [rsp + 0x58]
mulss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [rsi + 0x20], eax
movss xmm0, dword [rsp + 0x5c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rsi + 0x24], eax
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140281bf0
mov rbx, qword [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400cf9c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rsi
mov rsi, r8
cmp dword [rcx + 0x38], 0
jne 0x1400cfa09
mov edx, VariantTimeToSystemTime
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_soundedgev2setting.cpp
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
mov edi, 0xffffffff
jmp 0x1400cfaa7
test r9, r9
jne 0x1400cfa15
mov edx, VariantTimeToSystemTime
jmp 0x1400cf9eb
mov edi, 0xffffffff
test edx, edx
jne 0x1400cfaa7
mov rcx, r9
call qword [sym.imp.SECOMN64.dll_SEAPOCOMAPI_GetLastError]
mov ebx, eax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400cfad1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
cmp ebx, 0xffffff00
jne 0x1400cfa67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rdx, str._s_WinError___d_n
jmp 0x1400cfa71
mov r9d, ebx
lea rdx, str._s_Error___d_n
mov r8, qword [rsi]
lea rcx, [rsp + 0x40]
call fcn.14000dd70
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400cfaa7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400cfac1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000dc70
int3
Function at 0x1400d5250
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
test rcx, rcx
jne 0x1400d527f
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_spksettingui.cpp
mov edx, 0x1c9
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x20
pop rbx
jmp fcn.140052e90
call fcn.140017e40
test eax, eax
je 0x1400d5318
mov rcx, rbx
call fcn.1400d3e50
mov dword [rbx + 0x10c], eax
mov r8d, eax
cmp eax, 4
je 0x1400d5318
mov edx, eax
test eax, eax
je 0x1400d52de
sub edx, 1
je 0x1400d52d1
sub edx, 1
je 0x1400d52c4
cmp edx, 1
jne 0x1400d52f8
mov rax, qword [rbx + 0x20]
test byte [rax + 0x310], 0x20
jmp 0x1400d52ec
mov rax, qword [rbx + 0x20]
test byte [rax + 0x310], 0x40
jmp 0x1400d52ec
mov rax, qword [rbx + 0x20]
test byte [rax + 0x310], 0x10
jmp 0x1400d52ec
mov rax, qword [rbx + 0x20]
test dword [rax + 0x308], 0x40000
je 0x1400d52f8
mov dword [rbx + 0x10c], 4
mov rax, qword [rbx + 0xf8]
test dword [rax + 0x2c], 0x10000
je 0x1400d5318
cmp r8d, 1
ja 0x1400d5318
mov dword [rbx + 0x10c], 4
add rsp, 0x20
pop rbx
ret
Function at 0x1400d5f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, qword [rsp + 0xf0]
mov rbp, rdx
xor edx, edx
mov rbx, r8
mov rsi, rcx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x64]
call fcn.1402841a0
lea r8, [0x140330f50]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rbx, rbx
je 0x1400d617f
test rax, rax
je 0x1400d617f
mov rdx, rax
mov qword [rsp + 0xe8], r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rdi
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor r8d, r8d
mov dword [rsp + 0x24], 0x204d454d
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov dword [rsp + 0x3c], edi
call qword [sym.imp.WINMM.dll_mmioOpenW]
mov r9d, 0x20
mov dword [rsi + 0x268], 0x45564157
mov rcx, rax
lea rdx, [rsi + 0x260]
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x1400d6172
mov r15d, 0x10
mov dword [rsi + 0x24c], 0x20746d66
mov r9d, r15d
lea r8, [rsi + 0x260]
lea rdx, [rsi + 0x24c]
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x1400d6172
xor r8d, r8d
lea rdx, [rsi + 0x24c]
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioAscend]
mov r9d, r15d
mov dword [rsi + 0x238], 0x61746164
lea r8, [rsi + 0x260]
mov rcx, rbx
lea rdx, [rsi + 0x238]
call qword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
jne 0x1400d6172
xor r8d, r8d
lea rdx, [rsi + 0x238]
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioAscend]
mov edx, dword [rsi + 0x258]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioSeek]
mov r8d, dword [rsi + 0x250]
lea rdx, [rsi + 0x210]
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioRead]
cmp dword [rsi + 0x250], eax
jne 0x1400d6172
mov edi, 1
cmp di, word [rsi + 0x212]
jne 0x1400d6172
cmp r15w, word [rsi + 0x21e]
jne 0x1400d6172
mov eax, dword [rsi + 0x23c]
mov rdx, r14
mov rcx, rsi
mov dword [rsi + 0xd4], eax
call fcn.1400d6190
test eax, eax
jne 0x1400d615d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioClose]
mov rcx, rsi
call fcn.1400d6610
xor eax, eax
mov r15, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140281bf0
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsi + 0xd0], edi
mov rax, rbx
mov dword [rsi + 0xdc], 0
jmp 0x1400d6137
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINMM.dll_mmioClose]
jmp 0x1400d6135
xor eax, eax
jmp 0x1400d613f
Function at 0x1400d73b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x180]
xor edi, edi
mov rbx, rcx
test rax, rax
je 0x1400d7408
cmp dword [rax + 0xdc], edi
je 0x1400d73eb
mov rcx, qword [rax + 0x20]
mov dword [rax + 0xdc], edi
test rcx, rcx
je 0x1400d73eb
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, qword [rbx + 0x180]
test rcx, rcx
je 0x1400d7408
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x180], rdi
mov edx, 1
mov rcx, rbx
call fcn.1400d7640
mov rcx, qword [0x1403db8b0]
mov qword [rbx + 0x198], rdi
mov dword [rbx + 0x1bc], 1
test rcx, rcx
jne 0x1400d7454
lea r8, str.c:userschunyung_source_repos_rtkngui_rtkngui_audioobjectui.cpp
mov edx, 0x9b
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140052e90
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x21000400
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x60]