joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400361e7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140066c80]
jne 0x14002fbda
rol rcx, 0x10
test cx, 0xffff
jne 0x14002fbd6
repz ret
ror rcx, 0x10
jmp 0x140036140
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14006c7e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14006c8d8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400361c5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14006c7e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400361e7
mov rax, qword [rsp + 0x88]
mov qword [0x14006c8d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14006c878], rax
mov rax, qword [0x14006c8d8]
mov qword [0x14006c750], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14006c860], rax
mov dword [0x14006c740], 0xc0000409
mov dword [0x14006c744], 1
mov rax, qword [0x140066c80]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140066c88]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14006c7d8], eax
mov ecx, 1
call fcn.1400386f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140052ee8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14006c7d8], 0
jne 0x14003626e
mov ecx, 1
call fcn.1400386f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140040a70
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140035910
xor ebx, ebx
cmp qword [0x14006d060], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x140040b9c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x140040caf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140040caf
mov rcx, rax
call fcn.140035840
lea rdx, [0x140053250]
mov rcx, rsi
mov qword [0x14006d060], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140035840
lea rdx, [0x140053238]
mov rcx, rsi
mov qword [0x14006d068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140035840
lea rcx, [rsp + 0x98]
mov qword [0x14006d070], rax
call fcn.1400316b0
test eax, eax
je 0x140040b4f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140030520
cmp dword [rsp + 0x98], 2
jne 0x140040b9c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140035840
test rax, rax
mov qword [0x14006d080], rax
je 0x140040b9c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140035840
mov qword [0x14006d078], rax
mov rcx, qword [0x14006d078]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x140040c48
cmp qword [0x14006d080], rbp
je 0x140040c48
call fcn.140035a00
mov rcx, qword [0x14006d080]
mov rsi, rax
call fcn.140035a00
test rsi, rsi
mov r12, rax
je 0x140040c48
test rax, rax
je 0x140040c48
call rsi
test rax, rax
je 0x140040c13
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140040c13
test byte [rsp + 0x40], 1
jne 0x140040c48
lea rcx, [rsp + 0x30]
call fcn.140031700
test eax, eax
je 0x140040c35
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140030520
cmp dword [rsp + 0x30], 4
jb 0x140040c42
bts edi, 0x15
jmp 0x140040c86
bts edi, 0x12
jmp 0x140040c86
mov rcx, qword [0x14006d068]
cmp rcx, rbp
je 0x140040c86
call fcn.140035a00
test rax, rax
je 0x140040c86
call rax
test rax, rax
mov rbx, rax
je 0x140040c86
mov rcx, qword [0x14006d070]
cmp rcx, rbp
je 0x140040c86
call fcn.140035a00
test rax, rax
je 0x140040c86
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14006d060]
call fcn.140035a00
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x140040caf
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140040cb1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140042a90
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140066c80]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140042ad7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14002fbc0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.1400307a0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14002fbc0
add rsp, 0x38
ret
Function at 0x140049ca8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140066c80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140031f70
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140002000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.140031f70
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x140049d3b
cmp dword [rsp + 0x24], 5
jb 0x140049d55
jmp 0x140049d51
cmp dword [rsp + 0x30], esi
jne 0x140049d55
cmp dword [rsp + 0x24], 4
ja 0x140049d51
jne 0x140049d55
cmp dword [rsp + 0x28], 0
jbe 0x140049d55
mov byte [rbx + 0x18], sil
lea rax, [0x140054c90]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140049b68
movzx ecx, byte [0x14006d3a0]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x14006d3a0], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14002fbc0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140030220
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140030242
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400302bc
mov rdi, r14
mov rcx, rbx
call fcn.14002e8d0
test rax, rax
jle 0x140030294
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140161730
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400302ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400302b4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140030256
sub r14, rdi
jmp 0x1400303a9
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400302d3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400302d5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003030a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140161730
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400303a6
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140030345
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140030381
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140166f1c
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x1400303bf
cmp rbp, rax
ja 0x140030351
mov r8, rdi
test rdi, rdi
je 0x1400303a6
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140166f1c
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x1400303a9
Function at 0x140039e80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0x30], rbx
xor ebp, ebp
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
lea esi, [rbp - 1]
test eax, eax
jne 0x140039f1b
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x140039f39
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14003a00f
cmp rcx, rbx
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
jmp 0x14003a00b
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140039f5d
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, eax
mov dword [rsp + 0x40], eax
jmp 0x140039f61
mov edi, dword [rsp + 0x40]
cmp qword [r14 + 8], rbp
jne 0x140039f88
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140039f81
mov r8, qword [rcx]
cmp rcx, rbx
setne dl
call qword [r8 + 0x20]
mov qword [rbx + 0x38], rbp
mov eax, edi
jmp 0x14003a011
mov rdx, qword [r14]
mov rax, qword [rdx + 8]
mov r8, rdx
movzx r9d, byte [rax + 0x19]
test r9b, r9b
jne 0x140039fb7
mov rcx, rax
nop
cmp dword [rcx + 0x1c], edi
jge 0x140039fab
mov rcx, qword [rcx + 0x10]
jmp 0x140039fb1
mov r8, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], bpl
je 0x140039fa0
cmp byte [r8 + 0x19], bpl
jne 0x140039ff5
cmp edi, dword [r8 + 0x1c]
jl 0x140039ff5
cmp r8, rdx
je 0x140039ff5
test r9b, r9b
jne 0x140039fe7
nop dword [rax]
cmp dword [rax + 0x1c], edi
jge 0x140039fdb
mov rax, qword [rax + 0x10]
jmp 0x140039fe1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], bpl
je 0x140039fd0
cmp byte [rdx + 0x19], bpl
jne 0x14003a029
cmp edi, dword [rdx + 0x1c]
jl 0x14003a029
mov esi, dword [rdx + 0x20]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14003a00f
mov r8, qword [rcx]
cmp rcx, rbx
setne dl
call qword [r8 + 0x20]
mov qword [rbx + 0x38], rbp
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14015eb70
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.invalid_map_K__T__key
call fcn.14015b49c
int3
Function at 0x140041770
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, qword [rcx]
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov r14, rdx
test rsi, rsi
je 0x140041886
lea rax, [rbp]
mov dword [rbp], r15d
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r8d, [r15 + 1]
xor ecx, ecx
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x140041886
mov ecx, dword [rbp]
mov qword [rsp + 0x170], rdi
mov edi, r15d
test ecx, ecx
je 0x14004181e
mov ebx, r15d
nop word [rax + rax]
mov rax, qword [rsp + 0x68]
cmp dword [rbx + rax + 0x10], r15d
jne 0x140041810
mov ecx, dword [rbx + rax]
lea rdx, [rsp + 0x60]
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
jne 0x14004181e
mov ecx, dword [rbp]
inc rdi
mov eax, ecx
add rbx, 0x18
cmp rdi, rax
jb 0x1400417f0
mov rdi, qword [rsp + 0x170]
cmp qword [rsp + 0x60], r15
je 0x140041886
mov rcx, qword [rsp + 0x68]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rcx, qword [rsp + 0x60]
lea r8, [rbp + 8]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0x18], rax
mov r9d, 1
lea rax, [rsp + 0x70]
mov edx, 0x2000000
mov qword [rsp + 0x28], rax
movups xmmword [rbp + 8], xmm0
mov dword [rsp + 0x20], 1
mov dword [rbp + 8], reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_DuplicateTokenEx]
test eax, eax
jne 0x1400418a3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14015eb70
add rsp, 0x130
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
mov r8, qword [r14]
lea r9, [rbp + 8]
mov rcx, qword [rsp + 0x70]
xorps xmm0, xmm0
xor eax, eax
mov rdx, rsi
mov qword [rbp - 0x10], rax
lea rax, str.winsta0default
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x20
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x70], 0x68
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
mov rcx, qword [rsp + 0x78]
test eax, eax
setne bl
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
movzx eax, bl
jmp 0x140041888
Function at 0x1400446f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140046960
mov rcx, rbx
call fcn.140044750
nop
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x140044725
mov qword [rbx + 0xb8], 0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rbx + 0xc0]
test rcx, rcx
je 0x140044743
mov qword [rbx + 0xc0], 0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140042d80

Function at 0x140062c80
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [r11 - 0x28], xmm0
lea rax, str.DolbyEndpointControl::OnNotify
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1e
lea rax, str.c:DAX35dax3APIDAXAPIDolbyEndpointControl.cpp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x31
mov ecx, 0x200
call fcn.1401353e0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x761
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140134f50
nop
lea rcx, [rdi + 0x160]
call fcn.14015ceb4
test eax, eax
jne 0x140062e1a
inc dword [rdi + 0x1b0]
lea rcx, [rdi + 0x160]
cmp dword [rdi + 0x1b0], 1
jle 0x140062d68
call fcn.14015cebc
jmp 0x140062dd6
call fcn.14015cebc
mov ecx, 8
call fcn.14015ea14
xor ebx, ebx
test rax, rax
je 0x140062d83
mov qword [rax], rdi
jmp 0x140062d86
mov rax, rbx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400535c0]
xor edx, edx
xor ecx, ecx
call fcn.14016e06c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140062e0b
cmp dword [rsp + 0x38], 0
je 0x140062e22
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14015c0a0
test eax, eax
jne 0x140062e03
lea rcx, [rsp + 0x50]
call fcn.140135170
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14015eb70
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
mov ecx, eax
call fcn.14015c444
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call fcn.14015c480
nop
mov ecx, eax
call fcn.14015c444
nop
mov ecx, 1
call fcn.14015c480
int3
Function at 0x14006fa10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rdx
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp dword [rbx + 0x10], 0
je 0x14006fa7d
call sub.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId
cmp dword [rbx + 0x10], eax
je 0x14006fb47
movups xmm0, xmmword [rbx + 8]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14015c0c4
test eax, eax
jne 0x14006fb52
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
mov dword [rbx + 0x58], esi
lea rcx, [rbx + 0x18]
mov rdx, rdi
call fcn.14006ee10
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14015ea14
xor esi, esi
test rax, rax
je 0x14006fab6
mov qword [rax], rbx
lea rcx, [0x14006f1a0]
mov qword [rax + 8], rcx
jmp 0x14006fab9
mov rax, rsi
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400429c0]
xor edx, edx
xor ecx, ecx
call fcn.14016e06c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006fb38
cmp dword [rbx + 0x10], 0
jne 0x14006fb32
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 8], xmm0
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14006fb11
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], rsi
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14015eb70
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14016e14c
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.14015c480
nop
mov ecx, 5
call fcn.14015c480
int3
mov ecx, 2
call fcn.14015c480
int3
Function at 0x140098c30
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x140098ce6
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x140098cb2
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140098cd1
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x140098cd1
mov qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x140098cd1
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x14022b178], 0
jne 0x140098d31
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140098d21
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14022b170], rax
mov byte [0x14022b178], 1
jmp 0x140098d38
mov rax, qword [0x14022b170]
mov byte [0x14022b178], 1
jmp 0x140098d38
mov rax, qword [0x14022b170]
mov rdx, rsi
mov rcx, qword [rbx]
test rax, rax
je 0x140098cbb
xor r9d, r9d
mov r8d, dword [rbx + 8]
call rax
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14009a2e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.140099860
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jne 0x14009a3fc
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x14009a3d1
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14009a2e0
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jne 0x14009a3fc
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x14009a380
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14009a3e6
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.140098c30
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x14009a407
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14015eb70
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret