joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400456b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x68
mov rdi, rcx
mov ebx, edx
mov rcx, qword [rcx + 0x150]
test rcx, rcx
je 0x140045882
cmp qword [rdi + 0x3d8], 0
je 0x140045882
call fcn.140020cf0
cmp dword [rdi + 0xe70], eax
jne 0x1400456ef
test ebx, ebx
je 0x140045882
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], r14
xor r14d, r14d
mov dword [rdi + 0xe70], eax
test eax, eax
jne 0x1400457de
lea r9d, [rax + 1]
mov qword [rsp + 0x30], r14
lea r8, str.SOFTWAREReal_Sound_LabCONEQAPOSettings
mov dword [rsp + 0x38], r14d
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x80], r14d
call fcn.140024490
mov rbx, qword [rsp + 0x30]
test eax, eax
jne 0x140045889
lea rax, [rsp + 0x90]
mov dword [rsp + 0x90], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x98]
lea rax, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.DisableSpeakerModeMonitoring
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400457a8
cmp dword [rsp + 0x98], 4
mov esi, r14d
mov eax, SafeArrayDestroy
cmovne esi, eax
test rbx, rbx
je 0x1400457b9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
test esi, esi
jne 0x140045889
mov esi, dword [rsp + 0x80]
test rbx, rbx
je 0x1400457d6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x140045897
mov ebx, 1
mov esi, 0x2fa
cmp qword [rdi + 0x160], r14
je 0x1400457fd
lea rcx, [rdi + 0x158]
call fcn.1400122d0
call fcn.140155310
mov r8d, esi
mov dword [rsp + 0x20], r14d
lea rcx, [rdi + 0x158]
mov rdx, qword [rax + 0x10]
call fcn.140098820
neg ebx
lea rcx, [rdi + 0x3e0]
sbb ebx, ebx
and ebx, 5
mov edx, ebx
call fcn.14015f68c
lea rcx, [rdi + 0x6a8]
mov edx, ebx
call fcn.14015f68c
lea rcx, [rdi + 0x970]
mov edx, ebx
call fcn.14015f68c
lea rcx, [rdi + 0xc38]
mov edx, ebx
call fcn.14015f68c
mov rcx, qword [rdi + 0x40]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
pop rdi
pop rbx
ret
test rbx, rbx
je 0x140045897
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, r14d
mov esi, 0x2f9
jmp 0x1400457e8
Function at 0x1400492f0
Capabilities:
Get common file path
Get program files directory
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor eax, eax
mov rbx, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
call fcn.14004d4f0
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400493fe
test byte [rbx + 0x80], 8
je 0x140049365
cmp qword [rax + 0x530], 0
jle 0x140049365
or dword [rax + 8], 0x2000000
mov rax, qword [rbx + 0x10]
or dword [rax + 8], 0x4000000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rsp + 0x30], 9
mov edx, 0x26
mov eax, 0x2a
cmove edx, eax
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400493fe
mov qword [rsp + 0x298], rdi
lea rcx, [rsp + 0x60]
lea rdi, [rbx + 0x88]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400493c0
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140016ad0
lea rdx, str.RealtekAudioHelp_
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400493e1
mov r8d, ebx
mov rcx, rdi
call fcn.140016630
mov rdi, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1402ecc20
add rsp, 0x280
pop rbx
ret
Function at 0x14004f080
Capabilities:
Check if file exists
Get file attributes
Get file size
Read .ini file

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14004f0a1
mov rax, qword [rcx]
add rsp, 0x50
pop rbx
jmp qword [rax + 0x88]
cmp dword [0x140465934], 0
jne 0x14004f2fc
xor r9d, r9d
lea r8, str.Finished
lea rdx, str.DefLevel
lea rcx, [0x14046a640]
call fcn.140169d48
mov dword [0x140465934], eax
test eax, eax
jne 0x14004f2fc
call fcn.140059700
mov rcx, qword [0x1404667c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14004f120
mov r9d, 1
lea r8, str.Finished
lea rdx, str.DefLevel
lea rcx, [0x14046a640]
call fcn.14016a2dc
mov dword [0x140465934], 1
add rsp, 0x50
pop rbx
ret
mov ecx, 0x20
mov qword [rsp + 0x78], rdi
call fcn.140153a34
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
je 0x14004f2f7
lea rax, vtable.CDefLevelSetter.0
mov qword [rsp + 0x68], rbp
xor ebp, ebp
mov qword [rdi], rax
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov dword [rdi + 0x18], ebp
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14004f2e4
mov qword [rdi + 8], rax
lea r8d, [rbp + 1]
mov rcx, qword [0x1404667c0]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004f2e4
xor edx, edx
mov qword [rsp + 0x70], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x14004f2df
mov eax, 2
mov qword [rsp + 0x48], r14
mul rsi
mov qword [rsp + 0x40], r15
mov r15, 0xffffffffffffffff
cmovo rax, r15
mov rcx, rax
call fcn.140153a84
mov r14, rax
test rax, rax
je 0x14004f2d5
mov word [rax], bp
lea r8, [0x140393240]
mov rcx, qword [0x1404667c0]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor r9d, r9d
lea r8, str.SetCount
lea rdx, str.DefLevel
lea rcx, [0x14046a640]
call fcn.140169d48
mov dword [rdi + 0x10], eax
mov rbx, r14
cmp word [r14], bp
je 0x14004f278
nop word [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.140059860
mov rax, r15
nop
cmp word [rbx + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x14004f260
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], bp
jne 0x14004f250
cmp dword [rdi + 0x18], ebp
je 0x14004f29e
inc dword [rdi + 0x10]
lea r8, str.SetCount
mov r9d, dword [rdi + 0x10]
lea rdx, str.DefLevel
lea rcx, [0x14046a640]
call fcn.14016a2dc
cmp dword [rdi + 0x14], ebp
jne 0x14004f2cd
mov r9d, 1
lea r8, str.Finished
lea rdx, str.DefLevel
lea rcx, [0x14046a640]
call fcn.14016a2dc
mov dword [0x140465934], 1
mov rcx, r14
call fcn.140153a7c
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbp, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbx
ret
Function at 0x140072510
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rdi, r9
mov ebx, r8d
mov rsi, rdx
mov rbp, rcx
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x140072757
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x818], rax
mov qword [rbp + 0x808], rsi
mov dword [rbp + 0x800], ebx
xor r12d, r12d
mov qword [rbp + 0x810], r12
test rdi, rdi
je 0x140072712
lea rdx, [0x140393240]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140072592
mov r8d, eax
lea rcx, [rbp + 0x818]
call fcn.140016ad0
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x1400725b0
mov r8d, ebx
mov rdx, rdi
lea rcx, [rbp + 0x818]
call fcn.140016630
mov rdi, rbp
mov esi, 0x5c00
nop dword [rax]
nop dword [rax + rax]
mov qword [rdi + 8], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
je 0x1400726b2
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov ebx, esi
or ebx, 0x220000
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rax + 3]
mov rcx, qword [rbp + 0x818]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140072657
mov qword [rsp + 0x50], r12
jmp 0x1400726a9
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test ebx, ebx
cmove rcx, r12
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x10], xmm0
add esi, 0xc
add rdi, 0x20
cmp esi, 0x5ef4
jl 0x1400725e0
mov qword [rbp + 0x7e8], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x7e0], rax
test rax, rax
je 0x140072712
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbp
lea r8, [0x140072770]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x810], rax
mov rcx, qword [rbp + 0x818]
sub rcx, 0x18
call fcn.140012250
add rax, 0x18
mov qword [rsp + 0x40], rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140072bf0
nop
mov rax, rbp
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140012800
int3
Function at 0x140094bb0
Capabilities:
Get file version info

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
je 0x140094c8d
test rdx, rdx
je 0x140094c8d
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x140094c7c
mov ecx, eax
call fcn.140153a84
mov rbx, rax
test rax, rax
jne 0x140094c0b
mov rbx, qword [rsp + 0x20]
mov eax, 0x8007000e
add rsp, 0x28
pop rdi
pop rsi
ret
mov r8d, dword [rsp + 0x40]
mov r9, rbx
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140094c74
lea r9, [rsp + 0x40]
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
mov rcx, rbx
lea rdx, [0x140393ef0]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140094c74
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140094c74
mov eax, dword [rcx + 8]
mov dword [rdi + 4], eax
mov eax, dword [rcx + 0xc]
mov rcx, rbx
mov dword [rdi], eax
call fcn.140153a7c
mov rbx, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rbx
call fcn.140153a7c
mov rbx, qword [rsp + 0x20]
mov eax, 0x80004005
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, 0x80070057
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400a4060
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0x409
mov rbx, rcx
mov word [rcx + 0xe], ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
test ax, ax
je 0x1400a4089
movzx edx, ax
call fcn.1400a40e0
mov word [rbx + 0xe], ax
movzx eax, word [rbx + 0xe]
lea r8, str.Language
xor r9d, r9d
mov word [rbx + 0xc], ax
lea rdx, str.General
mov dword [rbx + 8], 1
lea rcx, [0x14046a640]
call fcn.140169d48
test ax, ax
je 0x1400a40cd
movzx edx, ax
call fcn.1400a40e0
mov word [rbx + 0xc], ax
mov dword [rbx + 8], 0
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400adf60
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rsi, rdx
mov rbx, rcx
mov rdx, qword [rdx]
movzx eax, word [rdx]
cmp ax, word [0x140393240]
jne 0x1400adfba
add rdx, 0xffffffffffffffe8
mov rdi, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400adfb3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400ae10f
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x1400ae122
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xd0], rax
lea rbp, [0x1403931fc]
mov rdx, rbp
lea rcx, [rsp + 0xd0]
call fcn.1400168b0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400ae021
mov rax, rdi
inc rax
cmp word [rbp + rax*2], 0
jne 0x1400ae002
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0xd0]
call fcn.140016ad0
nop
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140012250
add rax, 0x18
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x20]
call fcn.14003d360
nop
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140016d50
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ae07b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1402ef020
mov dword [rsp + 0x30], VarBstrFromDisp
test rbx, rbx
jne 0x1400ae09f
mov qword [rsp + 0x38], rbx
jmp 0x1400ae0a8
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x38], rax
lea rax, str.open
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x60], 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ae0ef
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 0x1400ae10a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012800
int3
Function at 0x1400b05c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x240
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
cmp qword [rcx + 0x148], 0
jne 0x1400b0605
xor eax, eax
jmp 0x1400b07c3
cmp qword [rcx + 0x150], 0
je 0x1400b05fe
mov rcx, qword [rcx + 0x160]
xor edi, edi
lea rsi, [rdi - 1]
test rcx, rcx
je 0x1400b0651
mov qword [rbx + 0x160], rdi
mov qword [rbx + 0x168], rdi
mov qword [rbx + 0x170], rdi
mov qword [rbx + 0x178], rdi
mov qword [rbx + 0x184], rsi
mov word [rbx + 0x180], di
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x1400b07eb
mov rax, qword [rax]
call qword [rax + 0x18]
mov r14, rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x48], rcx
mov edx, 0x82
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbx + 0x3d8]
lea rax, [rsp + 0x120]
mov rdx, rsi
nop dword [rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x1400b06a0
mov r8d, edx
lea rdx, [rsp + 0x120]
call fcn.1400b1810
mov rax, qword [rbx + 0x150]
test rax, rax
je 0x1400b06f7
test byte [rax + 0x1dc], 0x40
je 0x1400b06f7
mov rax, qword [rbx + 0x148]
mov ecx, dword [rax + 0x21c]
add ecx, 0xfffffd00
cmp ecx, 1
mov rcx, rbx
ja 0x1400b06f0
call fcn.1400b0cf0
jmp 0x1400b06ff
call fcn.1400b10a0
jmp 0x1400b06ff
mov rcx, rbx
call fcn.1400b0800
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x50]
call fcn.1402ef020
mov rax, qword [rbx + 0x150]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xc7
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, esi
mov r8, qword [rax + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rax, [rsp + 0x50]
mov rdi, rsi
nop dword [rax]
lea rdi, [rdi + 1]
cmp byte [rax + rdi], 0
jne 0x1400b0750
mov rbp, qword [0x140465968]
call fcn.1400b1d20
test eax, eax
je 0x1400b078b
mov rax, qword [0x140465980]
test rax, rax
je 0x1400b078b
lea r9d, [rdi + 1]
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, rbp
call rax
jmp 0x1400b078d
xor al, al
movzx edi, al
mov dword [rbx + 0x3d0], 1
lea rcx, [rbx + 0x138]
mov rax, qword [rcx]
xor edx, edx
call qword [rax]
nop
lock xadd dword [r14 + 0x10], esi
sub esi, 1
jg 0x1400b07c1
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1402ecc20
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140012800
int3
Function at 0x1400b1d20
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp dword [0x1404659b0], 0
je 0x1400b1d37
mov eax, 1
add rsp, 0x28
ret
lea rcx, str.MaxxAudioAPOShell64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1404659a8], rax
test rax, rax
je 0x1400b1ee2
lea rdx, str.WavesFX_Initialize
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_Uninitialize
mov qword [0x1404659a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_SetParameter
mov qword [0x140465998], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_GetParameter
mov qword [0x140465990], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_GetParametersArray
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_SetParametersArray
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_SetProperty
mov qword [0x140465988], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_GetProperty
mov qword [0x140465980], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_Preset_RegisterChangeNotification
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_CreatePluginWindow
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_DetachPluginWindow
mov qword [0x140465978], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_Preset_SaveDefault
mov qword [0x140465970], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_Preset_SetActive
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_RegisterChangeNotification
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_VendorSpecific
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1404659a8]
lea rdx, str.WavesFX_Preset_GetCount
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x1404659b0]
mov ecx, 1
cmp qword [0x1404659a0], 0
cmovne eax, ecx
mov dword [0x1404659b0], eax
add rsp, 0x28
ret
mov eax, dword [0x1404659b0]
add rsp, 0x28
ret
Function at 0x1400d1f80
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
mov eax, 0x10038
call fcn.1402ed7b0
sub rsp, rax
mov rax, qword [0x14044f8c0]
xor rax, rsp
mov qword [rsp + 0x10020], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x160]
test rcx, rcx
je 0x1400d214e
mov rdx, qword [rbx + 0x158]
add rcx, 0x1ac8
call fcn.1400f2270
test rax, rax
je 0x1400d214e
lea rdx, [rbx + 0x650]
xor r8d, r8d
lea rcx, [rax + 0xb8]
call qword [sym.imp.DSOUND.dll_DirectSoundCaptureCreate]
test eax, eax
js 0x1400d214e
mov eax, dword [rbx + 0x7fc]
mov ebp, 1
mov qword [rsp + 0x10058], rsi
shl eax, 2
mov qword [rsp + 0x10060], rdi
xor esi, esi
mov qword [rsp + 0x10030], r14
lea rdi, [rbx + 0x668]
mov dword [rbx + 0x800], eax
lea r14, [rbx + 0x768]
mov dword [rbx + 0x7f8], 0x20001
mov dword [rbx + 0x804], 0x100004
mov r8d, dword [rbx + 0x800]
xor edx, edx
shl r8d, 3
inc esi
shr r8d, 4
xor r9d, r9d
imul r8d, esi
dec r8d
mov dword [rdi], r8d
movzx ecx, word [rbx + 0x804]
mov eax, dword [rbx + 0x800]
shl eax, 3
shr eax, 4
div ecx
xor ecx, ecx
sub r8d, edx
xor edx, edx
mov dword [rdi], r8d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14], rax
lea r14, [r14 + 8]
mov qword [rdi + 8], rax
lea rdi, [rdi + 0x10]
cmp esi, 0x10
jl 0x1400d2040
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rdx, [rsp + 0x20]
mov dword [rbx + 0x758], 0xffffffff
mov ecx, 0x7fff
mov qword [rbx + 0x7e8], rax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r14, qword [rsp + 0x10030]
mov rdi, qword [rsp + 0x10060]
mov rsi, qword [rsp + 0x10058]
test eax, eax
je 0x1400d214e
dec eax
cmp word [rsp + rax*2 + 0x20], 0x5c
je 0x1400d2109
lea r8, [0x140393ef0]
mov edx, 0x7fff
lea rcx, [rsp + 0x20]
call fcn.1402f38d4
lea r8, str.MicCal.wav
mov edx, 0x7fff
lea rcx, [rsp + 0x20]
call fcn.1402f38d4
lea rcx, [rbx + 0x818]
mov rdx, 0xffffffffffffffff
lea r8, [rsp + 0x20]
inc rdx
cmp word [r8 + rdx*2], 0
jne 0x1400d2132
mov r8d, edx
lea rdx, [rsp + 0x20]
call fcn.140016ad0
mov eax, ebp
jmp 0x1400d2150
xor eax, eax
mov rcx, qword [rsp + 0x10020]
xor rcx, rsp
call fcn.1402ecc20
add rsp, 0x10038
pop rbp
pop rbx
ret
Function at 0x1400d24c0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
mov dword [rsp + 0x30], esi
cmp qword [rcx + 0x810], rsi
je 0x1400d252d
mov rcx, qword [rcx + 0x7e8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x810]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x1400d2520
cmp dword [rsp + 0x30], 0x103
jne 0x1400d2520
mov rcx, qword [rbx + 0x810]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x810]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x660]
mov qword [rbx + 0x810], rsi
test rcx, rcx
je 0x1400d254d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbx + 0x660], rsi
mov rcx, qword [rbx + 0x658]
test rcx, rcx
je 0x1400d2578
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbx + 0x658]
test rcx, rcx
je 0x1400d2578
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbx + 0x658], rsi
mov rdi, qword [rbx + 0x7f0]
test rdi, rdi
je 0x1400d25b8
mov rcx, rdi
call fcn.1401522a0
cmp dword [rdi + 0xa4], esi
jne 0x1400d25a4
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400d25a4
call fcn.140153a7c
mov qword [rdi], rsi
mov edx, 0xc8
mov rcx, rdi
call fcn.1400114d0
mov qword [rbx + 0x7f0], rsi
mov rcx, qword [rbx + 0x818]
movzx eax, word [rcx]
cmp ax, word [0x140393240]
je 0x1400d25d1
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 0x4c0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret