joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140119470
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1401194b2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1401194f9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140119552
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x140119510
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140119593
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14014a2f2]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14014a2f3]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140119560
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1401195ac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401195e6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401195eb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140119634
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140119634
dec r8
sub rdx, 1
jne 0x14011961a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14011b184
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011b1ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011b1ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011b1ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011b1ce
cmp dword [rcx + 0x84], 0xe
jbe 0x14011b1ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14011b1d0
xor al, al
add rsp, 0x28
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x14000527a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r14
push rsi
push rbx
push r15
sub rsp, 0xf0
mov eax, 0xd6e59a19
mov edx, 0x3bdbf041
mov r8d, edx
mov edx, 0x463cf9df
mov byte [rsp + 0xef], 0xb7
mov dword [rsp + 0xd4], 0x7572760f
mov qword [rsp + 0xc8], 0xc495a6d
mov r9d, dword [rsp + 0xdc]
mov r10d, r9d
imul r10d, r10d
mov dword [rsp + 0xdc], r10d
mov r11, qword [rsp + 0xc8]
sub edx, r9d
mov dword [rsp + 0xdc], edx
sub r8, r11
mov bl, byte [rsp + 0xdb]
mov qword [rsp + 0x70], r8
mov sil, bl
sub sil, 0x40
mov byte [rsp + 0xdb], sil
mov di, word [rsp + 0xd8]
sub eax, dword [rsp + 0xd4]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x50], rcx
mov word [rsp + 0x4e], di
mov dword [rsp + 0x48], r9d
mov qword [rsp + 0x40], r11
mov byte [rsp + 0x3f], bl
call fcn.14000693b
xor edx, edx
mov ecx, edx
mov edx, 0x7572bb5f
mov r9d, dword [rsp + 0x48]
mov dword [rsp + 0xdc], r9d
mov r8, rax
mov r11, qword [rsp + 0x40]
or r11, 0x61e38ab2
mov qword [rsp + 0xe0], r11
mov di, word [rsp + 0x4e]
xor di, 0xffff
movsxd r11, dword [rax + 0x3c]
mov r14, r8
add r14, r11
mov r10d, dword [rax + r11]
mov word [rsp + 0xd8], di
sub edx, dword [rsp + 0xd4]
cmp r10d, edx
cmove rcx, r14
mov di, word [rsp + 0x4e]
xor di, 0x5ad9
mov word [rsp + 0xd8], di
mov bl, byte [rsp + 0x3f]
add bl, bl
mov byte [rsp + 0xdb], bl
mov edx, dword [rcx + 0x88]
mov ecx, edx
mov r11, r8
add r11, rcx
mov byte [rsp + 0xdb], 0x74
mov edx, dword [rax + rcx + 0x20]
imul r10d, r9d, 0x25b0a483
mov dword [rsp + 0xdc], r10d
mov edx, edx
mov r14d, edx
mov r15, qword [rsp + 0x40]
and r15, 0x32649a51
mov qword [rsp + 0xe0], r15
mov r15, r8
add r15, r14
mov bl, byte [rsp + 0x3f]
or bl, 0x92
mov byte [rsp + 0xdb], bl
mov edx, dword [rsp + 0xd4]
add edx, 0x8a8d89f1
mov r10d, dword [rax + rcx + 0x18]
mov byte [rsp + 0xdb], 0x2c
mov qword [rsp + 0x98], 0
cmp r10d, edx
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r11
je 0x140005703
jmp 0x1400058d0
mov al, 0xaf
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x24]
mov r8d, edx
mov r9, qword [rsp + 0x70]
mov r10b, byte [rsp + 0x3f]
sub al, r10b
mov r11, qword [rsp + 0xc8]
mov byte [rsp + 0xdb], al
xor r11, 0xa633cf1
mov qword [rsp + 0x68], r8
cmp r9, r11
jb 0x14000571a
mov eax, 0x7572760f
mov ecx, dword [rsp + 0x48]
xor ecx, 0x4a9aabe4
mov dword [rsp + 0xdc], ecx
mov ecx, dword [rsp + 0xd4]
mov rdx, qword [rsp + 0x30]
add rdx, qword [rsp + 0x68]
sub eax, ecx
mov qword [rsp + 0xb8], rdx
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x48]
and eax, 0x631db7eb
mov dword [rsp + 0xdc], eax
jmp 0x14000562f
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020630]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020630]
call fcn.1400123b8
lea rcx, [0x140021200]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xf0f0fff
call qword [rax]
adc byte [rax], dl
call qword [rcx]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
invalid
invalid
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
invalid
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc byte [rax], dl
adc bh, bh
invalid
or eax, 0xa0a0aff
jmp qword [rbp + 0x51]
add bh, bh
and al, 0x1f
or bh, bh
or eax, 0xdff0d0d
or eax, 0xd0d0dff
dec dword [rsp + rcx]
or eax, 0xd0d0dff
dec dword [rsp + rcx]
or al, 0xff
sbb al, 0x19
or bh, bh
jo 0x14003f73d
invalid
mov al, 0x8e
add bh, bh
popfq
jg 0x14003f6f3
call qword [rdi + 0x48]
invalid
call qword [rax]
ud2
adc byte [rdi], cl
or edi, edi
or al, 0xc
or al, 0xff
or eax, 0xcff0d0d
or al, 0xc
jmp qword [rsp + rdx*2 + 7]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
call qword [rcx]
adc dword [rcx], edx
dec dword [rsi]
invalid
Function at 0x140002270
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400022ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400022ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400022ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400022ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400022ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400022bc
xor al, al
add rsp, 0x28
ret
Function at 0x1400026d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov eax, 0x5a4d
mov rdi, rdx
mov r11, rcx
cmp word [rcx], ax
jne 0x1400027a3
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
cmp dword [r8], 0x4550
jne 0x1400027a3
mov edx, 0x20b
mov eax, 0x88
cmp word [r8 + 0x18], dx
mov ecx, 0x78
cmovne eax, ecx
xor r10d, r10d
mov ebp, dword [rax + r8]
mov r15d, dword [r11 + rbp + 0x1c]
lea r14, [r11 + rbp]
mov r12d, dword [r14 + 0x24]
add r15, r11
mov esi, dword [r14 + 0x20]
add r12, r11
mov r9d, dword [r14 + 0x18]
add rsi, r11
sub r9d, 1
mov r13d, dword [rax + r8 + 4]
js 0x1400027a3
nop dword [rax + rax]
lea r8d, [r9 + r10]
mov rax, rdi
sar r8d, 1
movsxd rbx, r8d
mov edx, dword [rsi + rbx*4]
add rdx, r11
sub rdx, rdi
movzx ecx, byte [rax]
cmp cl, byte [rax + rdx]
jne 0x140002789
inc rax
test cl, cl
jne 0x140002776
xor eax, eax
jmp 0x14000278e
sbb eax, eax
or eax, 1
test eax, eax
jns 0x140002798
lea r9d, [r8 - 1]
jmp 0x14000279e
jle 0x1400027c2
lea r10d, [r8 + 1]
cmp r9d, r10d
jge 0x140002760
xor eax, eax
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
cmp r9d, r10d
jl 0x1400027a3
cmp r8d, dword [r14 + 0x14]
jge 0x1400027a3
movzx eax, word [r12 + rbx*2]
mov ecx, dword [r15 + rax*4]
cmp ecx, ebp
jb 0x1400027e3
mov eax, r13d
add eax, ebp
cmp ecx, eax
jb 0x1400027a3
lea rax, [r11 + rcx]
jmp 0x1400027a5
Function at 0x140002b10
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x168]
sub rsp, 0x268
mov qword [rcx], 0
lea rdx, [rsp + 0x30]
mov eax, dword [0x140076f48]
lea r8, str._lsSystem32_hs
movsd xmm0, qword [0x140076f40]
mov rdi, rcx
mov dword [rsp + 0x38], eax
mov esi, 0x23f0
movzx eax, byte [0x140076f4c]
mov r9d, 0x7ffe0030
mov byte [rsp + 0x3c], al
mov eax, dword [str.CI.dll]
mov dword [rbp + 0x190], eax
movzx eax, word [0x140076f54]
mov word [rbp + 0x194], ax
movzx eax, byte [0x140076f56]
mov byte [rbp + 0x196], al
movsd qword [rsp + 0x30], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [rbp + 0x190]
cmp word [rcx + 0x120], si
lea rcx, [rsp + 0x50]
cmovb rax, rdx
mov edx, 0x82
mov qword [rsp + 0x20], rax
call fcn.140003850
lea r9, [rsp + 0x40]
xor edx, edx
lea r8, [rbp + 0x198]
lea rcx, [rsp + 0x50]
call fcn.1400027f0
mov ebx, eax
test eax, eax
jns 0x140002c02
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, str.Failed_to_map__ls:__08X_n
call fcn.140002ab0
mov eax, ebx
add rsp, 0x268
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword gs:[0x30]
lea rdx, [rbp + 0x1a0]
mov rcx, qword [rax + 0x60]
cmp word [rcx + 0x120], si
jb 0x140002c77
lea rcx, [rbp + 0x190]
call fcn.140002ef0
mov ebx, eax
test eax, eax
jns 0x140002c44
mov edx, eax
lea rcx, str.Failed_to_FindKernelModule__08X_n
call fcn.140002ab0
jmp 0x140002d30
mov rdx, qword [rbp + 0x1a0]
lea r8, [rbp + 0x1a8]
mov rcx, qword [rbp + 0x198]
call fcn.1400030a0
test eax, eax
je 0x140002d2b
mov rax, qword [rbp + 0x1a8]
xor ebx, ebx
mov qword [rdi], rax
jmp 0x140002d30
lea rcx, [rsp + 0x30]
call fcn.140002ef0
mov ebx, eax
test eax, eax
js 0x140002d30
mov r11, qword [rsp + 0x40]
xor r10d, r10d
xor r9d, r9d
test r11, r11
je 0x140002d1f
mov rbx, qword [rbp + 0x198]
lea rsi, [0x140076e84]
nop dword [rax]
mov r8, r9
xor edx, edx
sub r8, rsi
mov rax, rsi
add r8, rbx
nop
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x140002ccd
test cl, cl
jne 0x140002d1b
inc edx
inc rax
cmp edx, 4
jb 0x140002cc0
mov cl, 1
test cl, cl
mov rax, r9
cmove rax, r10
inc r9
mov r10, rax
cmp r9, r11
jb 0x140002cb0
test rax, rax
je 0x140002d1f
movsxd rcx, dword [rax + rbx + 4]
mov rbx, qword [rbp + 0x1a0]
add rcx, rax
add rbx, 8
add rbx, rcx
lea rcx, str.i_:_0x_llx_n_gCiEnabled_:__llx_n_gCiEnabledAddress_:__llx_n
call fcn.140002ab0
mov qword [rdi], rbx
xor ebx, ebx
jmp 0x140002d30
xor cl, cl
jmp 0x140002cd9
lea rcx, str.failed_to_find_CiEnabled_n
call fcn.140002ab0
mov ebx, 0xc0000225
mov rdx, qword [rbp + 0x198]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
add rsp, 0x268
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140002d60
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rdi, rdx
mov rbx, rcx
call fcn.140002e50
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
test eax, eax
js 0x140002e3a
lea r8, [0x140076fc8]
mov dword [rsp + 0x260], 1
mov edx, 5
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rdi
lea rcx, [rsp + 0x30]
mov edx, 0x87
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140002dd0
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea r8, str.ImagePath
lea rax, [rsp + 0x30]
mov rdx, rbx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
test eax, eax
js 0x140002e3a
lea rax, [rsp + 0x260]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Type
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x140002ef0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov rax, rsp
push rsi
push r14
sub rsp, 0x158
mov r14, rdx
mov qword [rdx], 0
xor edx, edx
mov dword [rax + 0x10], 0
mov rsi, rcx
lea r9, [rax + 0x10]
xor r8d, r8d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000308f
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x178]
mov qword [rsp + 0x180], rbp
add r8, r8
mov qword [rsp + 0x150], rdi
mov rdx, qword [rax + 0x60]
mov rcx, qword [rdx + 0x30]
mov edx, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x178]
xor r9d, r9d
add r8d, r8d
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebp, eax
test eax, eax
js 0x140003061
mov qword [rsp + 0x170], rbx
xor ebx, ebx
cmp dword [rdi], ebx
jbe 0x140003059
nop
mov ecx, ebx
lea rax, [rsp + 0x20]
imul rcx, rcx, 0x128
mov edx, 2
add rcx, 8
add rcx, rdi
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140002fc0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x48]
movups xmm1, xmmword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rax + 0x20], rcx
mov rcx, rsi
movzx eax, word [rsp + 0x46]
add rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000304f
inc ebx
cmp ebx, dword [rdi]
jb 0x140002fa0
jmp 0x140003059
mov rax, qword [rsp + 0x30]
xor ebp, ebp
mov qword [r14], rax
mov rbx, qword [rsp + 0x170]
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rsp + 0x150]
mov eax, ebp
mov rbp, qword [rsp + 0x180]
add rsp, 0x158
pop r14
pop rsi
ret
Function at 0x1400030a0
Capabilities:
Disable driver code integrity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, rdx
xor ebx, ebx
lea rdx, str.CiInitialize
mov qword [r8], rbx
mov r14, r8
mov rsi, rcx
call fcn.1400026d0
lea rdx, str.CiInitialize
mov rcx, rsi
mov rdi, rax
call fcn.1400026d0
mov r9, rax
test rax, rax
je 0x1400031dd
mov rax, qword gs:[0x30]
mov r10d, ebx
mov r8d, ebx
mov rcx, qword [rax + 0x60]
mov eax, 0x3fab
cmp word [rcx + 0x120], ax
jb 0x140003172
lea r11, [0x140076e50]
sub r9, r11
nop dword [rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x140003132
test dl, dl
jne 0x14000316e
inc ecx
inc rax
cmp ecx, 0x10
jb 0x140003125
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x140003120
movzx ecx, bx
nop dword [rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x140003160
jmp 0x1400031cc
xor cl, cl
jmp 0x14000313e
lea r11, [0x140076e68]
sub r9, r11
nop dword [rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x140003192
test dl, dl
jne 0x1400031e4
inc ecx
inc rax
cmp ecx, 0xc
jb 0x140003185
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x140003180
mov ecx, ebx
nop dword [rax + rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x1400031c0
test r10d, r10d
jne 0x1400031e8
lea rcx, str.failed_to_find_CipInitialize_n
call fcn.140002ab0
xor eax, eax
jmp 0x1400032a9
xor cl, cl
jmp 0x14000319e
movzx r8d, cx
mov r9d, ebx
movsxd rcx, r10d
mov r10d, ebx
lea rax, [rcx + r8]
mov r11d, dword [rax + rdi]
add rdi, 4
add r11, rcx
add r11, r8
add r11, rdi
lea rdi, [0x140076e78]
mov r8, r11
sub r8, rdi
nop word [rax + rax]
mov ecx, ebx
mov rax, rdi
movzx edx, byte [rax]
cmp byte [r8 + rax], dl
je 0x140003232
test dl, dl
jne 0x140003282
inc ecx
inc rax
cmp ecx, 0xc
jb 0x140003225
mov cl, 1
test cl, cl
mov eax, r9d
cmove eax, r10d
inc r9d
inc r8
movsxd r10, eax
cmp r9d, 0xff
jl 0x140003220
nop dword [rax]
inc bx
movzx r8d, bx
cmp byte [r8 + rdi], 0
jne 0x140003260
test eax, eax
jne 0x140003286
lea rcx, str.failed_to_find_Ci_gOptions_n
call fcn.140002ab0
xor eax, eax
jmp 0x1400032a9
xor cl, cl
jmp 0x14000323e
lea rax, [r8 + r10]
movsxd rax, dword [rax + r11]
sub rax, rsi
add rax, 4
add rax, r8
add rax, r10
add rax, r11
add rax, rbp
mov qword [r14], rax
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000b3e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x150
xor edi, edi
lea r14, [rsp + 0x158]
mov rbp, qword [r14]
mov rsi, rcx
xor edx, edx
mov qword [r14], rdi
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000b487
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14000b47e
nop dword [rax]
lea r8, [rsp + 0x4c]
mov rax, rsi
sub r8, rsi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14000b463
inc rax
test ecx, ecx
jne 0x14000b450
test edx, edx
je 0x14000b47a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14000b440
jmp 0x14000b47e
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x150]
mov qword [r14], rbp
mov rbx, qword [r11 + 0x10]
mov eax, edi
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14000b600
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x14000b661
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14000b620
mov ecx, dword [r9]
jmp 0x14000b74b
cmp ecx, 0x4e0
jb 0x14000b74b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000b680
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000b6d0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret