joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003ddc
Capabilities:
Get common file path

Disassembly:
jmp 0x14002ff20
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
movsxd rsi, edx
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.140005a15
mov dword [rsp + 0x30], 1
cmp esi, 7
ja case.default.0x14002ff67
lea rdx, [0x140000000]
mov ecx, dword [rdx + rsi*4 + 0x3016c]
add rcx, rdx
jmp rcx
lea rcx, [rsp + 0x60]
call fcn.14000512d
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
jmp case.default.0x14002ff67
test rbx, rbx
je 0x14002ffa4
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
mov rdi, rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test rbx, rbx
mov edi, eax
je 0x14002ffcf
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140004a5c
test edi, edi
je case.default.0x14002ff67
mov rcx, rbx
call fcn.1400035ad
jmp case.default.0x14002ff67
test rbx, rbx
je 0x14002fff8
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
jmp 0x14002fffb
mov rax, rdi
mov edx, 0x1c
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test rbx, rbx
mov esi, eax
je 0x140030027
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140004a5c
test esi, esi
je case.default.0x14002ff67
jmp case.0x14002ff67.1
test rbx, rbx
je 0x14003004d
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
mov edx, 0x23
jmp 0x140030000
mov rax, rdi
mov edx, 0x23
jmp 0x140030000
lea rdx, [0x14011fd20]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
jmp case.default.0x14002ff67
lea rdx, [0x14011f588]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
mov rax, qword [rbx]
cmp qword [rax - 0x10], 0
je case.default.0x14002ff67
lea rdx, str.VST3_
mov rcx, rbx
call fcn.140002455
jmp case.default.0x14002ff67
lea rdx, [0x14011f5a0]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
jmp 0x1400300a2
lea rcx, [rsp + 0x60]
call fcn.14000512d
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
lea rdx, str.VST3
mov rcx, rbx
call fcn.140002455
mov dl, 0x2f
mov rcx, rbx
call fcn.1400070a9
mov r8b, 0x2f
mov dl, 0x5c
mov rcx, rbx
call fcn.140004412
mov rax, qword [rbx]
cmp qword [rax - 0x10], 0
je 0x140030158
mov rcx, rbx
call fcn.14000452a
mov rcx, qword [rbx]
movsxd rax, dword [rcx - 0x10]
cmp byte [rax + rcx - 1], 0x2f
je 0x140030158
mov dl, 0x2f
mov rcx, rbx
call fcn.1400070a9
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140003de1
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14009736c
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401256e8]
mov ecx, 2
lea r8, [0x1401256e0]
lea rdx, str.FlsGetValue
call fcn.140096e3c
mov ecx, ebx
test rax, rax
je 0x1400973a6
add rsp, 0x20
pop rbx
jmp qword [0x140186020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14000400c
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14003afd0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov r15, rdx
mov rdx, rcx
movzx ecx, byte [rsp + 0x70]
xor rcx, 1
sub rcx, 0x7fffffff
mov r8d, 0xf003f
call fcn.140003927
mov rbx, rax
xor dil, dil
xor ecx, ecx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003b091
cmp dword [rsp + 0x30], 3
jne 0x14003b091
test r14, r14
je 0x14003b088
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x14003b08c
cmp qword [rsi], rcx
jb 0x14003b095
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003b091
mov ecx, dword [rsp + 0x70]
mov dil, 1
jmp 0x14003b095
mov ecx, dword [rsp + 0x70]
mov qword [rsi], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
movzx eax, dil
jmp 0x14003b0ad
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x140004075
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400f5054
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400f5084
xor eax, eax
jmp 0x1400f5147
mov rbp, rbx
cmp word [rax], si
je 0x1400f50a9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400f5090
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400f508c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140005344
movsxd r14, eax
test eax, eax
jne 0x1400f50e7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400f507d
mov rcx, r14
call fcn.140001073
mov rdi, rax
test rax, rax
jne 0x1400f5100
xor ecx, ecx
call fcn.1400012c1
jmp 0x1400f50dc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140005344
test eax, eax
jne 0x1400f5131
mov rcx, rdi
call fcn.1400012c1
jmp 0x1400f513b
xor ecx, ecx
call fcn.1400012c1
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140004142
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400eb584
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x14012aee8]
mov rbp, rcx
lea r8, [0x14012aee0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.1400eaaa0
test rax, rax
je 0x1400eb5e4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140186030]
jmp 0x1400eb5fe
xor edx, edx
mov rcx, rbp
call fcn.140003378
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140004156
Capabilities:
Terminate process

Disassembly:
jmp 0x140043cc4
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400050ab
Capabilities:
Set registry value

Disassembly:
jmp 0x14003bf80
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rdx, rcx
xor edi, edi
movzx ecx, r9b
xor rcx, 1
sub rcx, 0x7fffffff
mov r8d, 0xf003f
call fcn.140003927
mov rbx, rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test eax, eax
jne 0x14003c019
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14003c001
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
lea ecx, [rdi + 4]
call fcn.1400013de
test rax, rax
je 0x14003c033
mov edx, esi
mov rcx, rax
call fcn.14000148d
mov rdi, rax
mov qword [rsp + 0x30], rdi
lea rdx, [0x14014f6c0]
lea rcx, [rsp + 0x30]
call fcn.1400071e9
int3

Function at 0x140005371
Capabilities:
Print debug messages

Disassembly:
jmp 0x140013170
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov byte [rcx + 0x30], 1
cmp qword [rcx], 0
je 0x140013268
cmp dword [rcx + 0x24], 0
jle 0x1400131a7
mov rax, qword [rcx + 0x28]
inc dword [rax + 0x10]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400131a7
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x3a98
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
test eax, eax
je 0x140013258
lea rcx, [rsp + 0x30]
call fcn.140005a15
nop
cmp edi, 0x102
jne 0x1400131e0
lea rdx, str.Thread__p_does_not_exit_within__u_seconds.
mov edi, 0xf
jmp 0x1400131e7
lea rdx, str.Cant_wait_for_the_thread__p:_WaitForSingleObject_returned__08X.
mov r9d, edi
mov r8, qword [rbx]
lea rcx, [rsp + 0x30]
call fcn.14000192e
lea rdx, str._This_thread_will_be_terminated._n
lea rcx, [rsp + 0x30]
call fcn.140002455
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, 0xffffffff
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x14001324e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rbx]
lea rdx, str.Cannot_terminate_the_thread__p:_error__u__n
lea rcx, [rsp + 0x30]
call fcn.14000192e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rcx, [rsp + 0x30]
call fcn.140003080
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000648d
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002df50
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov r8d, 4
add rdx, 0x108
mov rsi, rcx
call fcn.140005b00
test al, al
jne 0x14002df8b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r8d, dword [rdi + 0x108]
test r8d, r8d
je 0x14002dfb5
mov rdx, qword [rdi + 0x100]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140005b00
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140006523
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400973c4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140125708]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140125700]
call fcn.140096e3c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140097404
call qword [0x140186020]
jmp 0x14009740a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007009
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14003b380
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov r12, rcx
xor esi, esi
mov dword [rsp + 0x38], esi
mov rdx, r9
call fcn.140006587
mov dword [rsp + 0x38], 1
movzx ecx, byte [rsp + 0xd0]
xor rcx, 1
sub rcx, 0x7fffffff
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14003b54e
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x30], esi
mov dword [rsp + 0xd0], esi
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15d, eax
test eax, eax
jne 0x14003b4b6
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x14003b57f
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x14003b51a
mov ecx, eax
call fcn.14000376f
mov rdi, rax
test rax, rax
je 0x14003b5ae
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0xc0]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15d, eax
test eax, eax
je 0x14003b501
mov edx, 1
mov rcx, rdi
call fcn.140005943
jmp 0x14003b5b2
cmp eax, 2
jne 0x14003b5b2
test r14, r14
je 0x14003b51a
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14003b4d0
lea rcx, [rbx + 1]
call fcn.14000376f
mov rdi, rax
test rax, rax
je 0x14003b5b2
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.1400026a3
mov byte [rdi + rbx], 0
mov rdx, rdi
mov rcx, r12
call fcn.140006cd5
mov edx, 1
mov rcx, rdi
call fcn.140005943
nop
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14003b52e
mov rax, r12
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea ecx, [rsi + 4]
call fcn.1400013de
test rax, rax
je 0x14003b568
mov edx, ebx
mov rcx, rax
call fcn.14000148d
mov rsi, rax
mov qword [rsp + 0x40], rsi
lea rdx, [0x14014f6c0]
lea rcx, [rsp + 0x40]
call fcn.1400071e9
nop
lea ecx, [r15 + 4]
call fcn.1400013de
test rax, rax
je 0x14003b598
mov rcx, rax
call fcn.140006519
mov rsi, rax
mov qword [rsp + 0x50], rsi
lea rdx, [0x14014f748]
lea rcx, [rsp + 0x50]
call fcn.1400071e9
lea r15d, [rax + 0xe]
mov ecx, 4
call fcn.1400013de
test rax, rax
je 0x14003b5cf
mov edx, r15d
mov rcx, rax
call fcn.14000148d
mov rsi, rax
mov qword [rsp + 0x58], rsi
lea rdx, [0x14014f6c0]
lea rcx, [rsp + 0x58]
call fcn.1400071e9
int3

Function at 0x140007108
Capabilities:
Get disk size

Disassembly:
jmp 0x140040210
sub rsp, 0x28
xor r9d, r9d
mov qword [rsp + 0x38], 0
xor r8d, r8d
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x140040237
add rsp, 0x28
ret
mov rax, qword [rsp + 0x38]
add rax, 0xfffff
shr rax, 0x14
add rsp, 0x28
ret
Function at 0x14002ff20
Capabilities:
Get common file path

Disassembly:
jmp 0x14002ff20
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
movsxd rsi, edx
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.140005a15
mov dword [rsp + 0x30], 1
cmp esi, 7
ja case.default.0x14002ff67
lea rdx, [0x140000000]
mov ecx, dword [rdx + rsi*4 + 0x3016c]
add rcx, rdx
jmp rcx
lea rcx, [rsp + 0x60]
call fcn.14000512d
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
jmp case.default.0x14002ff67
test rbx, rbx
je 0x14002ffa4
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
mov rdi, rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test rbx, rbx
mov edi, eax
je 0x14002ffcf
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140004a5c
test edi, edi
je case.default.0x14002ff67
mov rcx, rbx
call fcn.1400035ad
jmp case.default.0x14002ff67
test rbx, rbx
je 0x14002fff8
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
jmp 0x14002fffb
mov rax, rdi
mov edx, 0x1c
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test rbx, rbx
mov esi, eax
je 0x140030027
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140004a5c
test esi, esi
je case.default.0x14002ff67
jmp case.0x14002ff67.1
test rbx, rbx
je 0x14003004d
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
mov edx, 0x23
jmp 0x140030000
mov rax, rdi
mov edx, 0x23
jmp 0x140030000
lea rdx, [0x14011fd20]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
jmp case.default.0x14002ff67
lea rdx, [0x14011f588]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
mov rax, qword [rbx]
cmp qword [rax - 0x10], 0
je case.default.0x14002ff67
lea rdx, str.VST3_
mov rcx, rbx
call fcn.140002455
jmp case.default.0x14002ff67
lea rdx, [0x14011f5a0]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
jmp 0x1400300a2
lea rcx, [rsp + 0x60]
call fcn.14000512d
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
lea rdx, str.VST3
mov rcx, rbx
call fcn.140002455
mov dl, 0x2f
mov rcx, rbx
call fcn.1400070a9
mov r8b, 0x2f
mov dl, 0x5c
mov rcx, rbx
call fcn.140004412
mov rax, qword [rbx]
cmp qword [rax - 0x10], 0
je 0x140030158
mov rcx, rbx
call fcn.14000452a
mov rcx, qword [rbx]
movsxd rax, dword [rcx - 0x10]
cmp byte [rax + rcx - 1], 0x2f
je 0x140030158
mov dl, 0x2f
mov rcx, rbx
call fcn.1400070a9
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14003b130
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14003b130
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov esi, r8d
mov rdi, rdx
mov rdx, rcx
movzx ecx, r9b
xor rcx, 1
sub rcx, 0x7fffffff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14003b2c5
mov rbp, qword [rsp + 0x40]
mov qword [rsp + 0x38], rbp
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp eax, 2
je 0x14003b21d
test eax, eax
jne 0x14003b240
mov eax, dword [rsp + 0x30]
cmp eax, 4
je 0x14003b216
cmp eax, 5
jne 0x14003b28f
mov edx, dword [rsp + 0x88]
mov byte [rsp + 0x8b], dl
mov eax, edx
shr eax, 8
mov byte [rsp + 0x8a], al
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x89], al
shr edx, 0x18
mov byte [rsp + 0x88], dl
mov esi, dword [rsp + 0x88]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 4
call fcn.1400013de
mov qword [rsp + 0x50], rax
cmp edi, 0xea
jne 0x14003b266
test rax, rax
je 0x14003b278
mov rcx, rax
call fcn.140006519
jmp 0x14003b275
test rax, rax
je 0x14003b278
mov edx, edi
mov rcx, rax
call fcn.14000148d
mov rbx, rax
mov qword [rsp + 0x48], rbx
lea rdx, [0x14014f6c0]
lea rcx, [rsp + 0x48]
call fcn.1400071e9
int3
mov ecx, 4
call fcn.1400013de
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003b2ae
mov rcx, rax
call fcn.140006519
mov rbx, rax
mov qword [rsp + 0x50], rbx
lea rdx, [0x14014f748]
lea rcx, [rsp + 0x50]
call fcn.1400071e9
nop
mov ecx, 4
call fcn.1400013de
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003b2e8
mov edx, ebx
mov rcx, rax
call fcn.14000148d
mov rbx, rax
jmp 0x14003b2ea
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea rdx, [0x14014f6c0]
lea rcx, [rsp + 0x38]
call fcn.1400071e9
int3
Function at 0x14003b380
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14003b380
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov r12, rcx
xor esi, esi
mov dword [rsp + 0x38], esi
mov rdx, r9
call fcn.140006587
mov dword [rsp + 0x38], 1
movzx ecx, byte [rsp + 0xd0]
xor rcx, 1
sub rcx, 0x7fffffff
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14003b54e
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x30], esi
mov dword [rsp + 0xd0], esi
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15d, eax
test eax, eax
jne 0x14003b4b6
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x14003b57f
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x14003b51a
mov ecx, eax
call fcn.14000376f
mov rdi, rax
test rax, rax
je 0x14003b5ae
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0xc0]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15d, eax
test eax, eax
je 0x14003b501
mov edx, 1
mov rcx, rdi
call fcn.140005943
jmp 0x14003b5b2
cmp eax, 2
jne 0x14003b5b2
test r14, r14
je 0x14003b51a
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14003b4d0
lea rcx, [rbx + 1]
call fcn.14000376f
mov rdi, rax
test rax, rax
je 0x14003b5b2
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.1400026a3
mov byte [rdi + rbx], 0
mov rdx, rdi
mov rcx, r12
call fcn.140006cd5
mov edx, 1
mov rcx, rdi
call fcn.140005943
nop
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14003b52e
mov rax, r12
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea ecx, [rsi + 4]
call fcn.1400013de
test rax, rax
je 0x14003b568
mov edx, ebx
mov rcx, rax
call fcn.14000148d
mov rsi, rax
mov qword [rsp + 0x40], rsi
lea rdx, [0x14014f6c0]
lea rcx, [rsp + 0x40]
call fcn.1400071e9
nop
lea ecx, [r15 + 4]
call fcn.1400013de
test rax, rax
je 0x14003b598
mov rcx, rax
call fcn.140006519
mov rsi, rax
mov qword [rsp + 0x50], rsi
lea rdx, [0x14014f748]
lea rcx, [rsp + 0x50]
call fcn.1400071e9
lea r15d, [rax + 0xe]
mov ecx, 4
call fcn.1400013de
test rax, rax
je 0x14003b5cf
mov edx, r15d
mov rcx, rax
call fcn.14000148d
mov rsi, rax
mov qword [rsp + 0x58], rsi
lea rdx, [0x14014f6c0]
lea rcx, [rsp + 0x58]
call fcn.1400071e9
int3