joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140105db0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140c0c0c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140105e45
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140105ea6
lea rdx, [0x140147b20]
mov rcx, rdi
call fcn.1400e0300
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140119c70
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140105f61
sub ecx, 1
je 0x140105fd4
sub ecx, 1
je 0x140105f10
cmp ecx, 1
je 0x140105ef3
lea r8, [0x140147b50]
mov rcx, rdi
lea rdx, [0x140bf23a8]
call fcn.1400e0300
jmp 0x140105fd4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140105ae0
test eax, eax
je 0x140105fd4
jmp 0x140105e7a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140105fd4
sub rax, rsi
cmp rax, rbp
jae 0x140105fd4
mov r8, rsi
lea rdx, [0x140147b40]
mov rcx, rdi
call fcn.1400e0480
jmp 0x140105fd4
cmp r8d, 4
jle 0x140105fd4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140105fd4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400e0220
mov esi, eax
test eax, eax
je 0x140105fb3
mov edx, 5
mov rcx, rbx
call fcn.140106aa0
mov eax, esi
jmp 0x140105e7a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400eed00
mov rcx, r14
call fcn.1400eefe0
test eax, eax
je 0x140105e78
mov edx, 5
mov rcx, rbx
call fcn.140106aa0
mov eax, Ordinal_45
jmp 0x140105e7a
Function at 0x140118d70
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 0x140118db2
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 0x140118df9
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 0x140118e52
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 0x140118e10
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140118e93
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14014a372]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14014a373]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140118e60
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 0x140118eac
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, [0x14014a480]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140118ee6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140118eeb
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 0x140118f34
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 0x140118f34
dec r8
sub rdx, 1
jne 0x140118f1a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14011ace4
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14003d652
mov r10d, 8
sub r10, r11
cmp r10, r8
mov rdi, r8
cmovb rdi, r10
cmp rdi, 4
jb 0x14003d65a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14003d66b
jmp 0x14003d682
xor r10d, r10d
jmp 0x14003d70d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14003d682
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14003d699
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14003d6b9
add r11, r8
jmp 0x14003d7e9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14003d782
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14003d730
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14003d79f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x14003d7b0
jmp 0x14003d7cb
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14003d7cb
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x14003d7e5
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret

Function at 0x140048c2c
Capabilities:
Parse pe header

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

Function at 0x1400495a4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400496ec
Function at 0x140001f64
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], rcx
lea r8, [rbp - 0x38]
xor ebx, ebx
mov dword [rbp - 0x38], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x20], 0x40
lea rcx, [rbp + 0x10]
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp + 0x10], rbx
movabs rsi, 0xfffff78000000330
mov edx, 0xf003f
mov edi, 0xc0000001
mov eax, dword [rsi]
mov r9d, eax
imul r9, rax
imul r9, rax
imul r9, rax
xor r9, qword [0x140008060]
call r9
test eax, eax
js 0x140002092
mov eax, dword [rsi]
mov rcx, qword [rbp + 0x10]
mov edx, eax
imul rdx, rax
imul rdx, rax
imul rdx, rax
xor rdx, qword [0x140008068]
call rdx
mov edi, eax
test eax, eax
jns 0x140002073
cmp byte [0x1400077dd], bl
mov ecx, dword [0x1400077d8]
movups xmm0, xmmword [0x1400077c8]
mov dword [rbp - 0x40], ecx
movzx ecx, word [0x1400077dc]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], cx
je 0x14000204f
lea r8, [rbp - 0x50]
mov eax, 0x51eb851f
mul ebx
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8], al
inc r8
cmp ebx, 0x16
jl 0x14000202c
mov eax, dword [rsi]
lea r8, [rbp - 0x50]
mov r9d, eax
xor edx, edx
imul r9, rax
lea ecx, [rdx + 0x4d]
imul r9, rax
imul r9, rax
xor r9, qword [0x140008018]
call r9
mov eax, dword [rsi]
mov rcx, qword [rbp + 0x10]
mov edx, eax
imul rdx, rax
imul rdx, rax
imul rdx, rax
xor rdx, qword [0x140008070]
call rdx
jmp 0x1400020f9
cmp byte [0x1400077f3], bl
movups xmm0, xmmword [0x1400077e0]
mov eax, dword [0x1400077f0]
mov dword [rbp - 0x40], eax
movups xmmword [rbp - 0x50], xmm0
je 0x1400020d5
lea r8, [rbp - 0x50]
mov eax, 0x51eb851f
mul ebx
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8], al
inc r8
cmp ebx, 0x14
jl 0x1400020b2
mov eax, dword [rsi]
lea r8, [rbp - 0x50]
mov r9d, eax
xor edx, edx
imul r9, rax
lea ecx, [rdx + 0x4d]
imul r9, rax
imul r9, rax
xor r9, qword [0x140008018]
call r9
lea r11, [rsp + 0x70]
mov eax, edi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140002114
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
call fcn.140003894
xor r14d, r14d
test al, al
je 0x140002280
call fcn.1400067f0
test al, al
je 0x140002280
lea rcx, [0x140008140]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov rbx, qword [rdi + 0x28]
mov rcx, rsi
call fcn.140001f64
lea rsi, [rbx + 0x48]
mov rcx, rsi
call fcn.1400033cc
movups xmm0, xmmword [rbx + 0x58]
lea rdx, [rbp - 0x20]
mov rcx, rdi
movdqu xmmword [rbp - 0x20], xmm0
call fcn.1400016b8
test eax, eax
js 0x1400021db
movups xmm0, xmmword [rbx + 0x58]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14000121c
test eax, eax
js 0x1400021db
lea r8, [rbp + 0x38]
mov qword [rbp + 0x30], r14
lea rdx, [rbp + 0x30]
mov qword [rbp + 0x38], r14
lea rcx, [0x140006cb0]
call fcn.1400030f4
test eax, eax
js 0x140002254
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140002254
mov edx, dword [rbp + 0x38]
call fcn.140001134
jmp 0x140002254
cmp byte [0x14000780b], r14b
movups xmm0, xmmword [str.c_X_a]
mov eax, dword [0x140007808]
mov dword [rbp - 0x10], eax
movups xmmword [rbp - 0x20], xmm0
je 0x140002226
mov r8d, r14d
lea r9, [rbp - 0x20]
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9], al
inc r9
cmp r8d, 0x14
jl 0x1400021ff
movabs rax, 0xfffff78000000330
lea r8, [rbp - 0x20]
xor edx, edx
mov eax, dword [rax]
mov r9d, eax
lea ecx, [rdx + 0x4d]
imul r9, rax
imul r9, rax
imul r9, rax
xor r9, qword [0x140008018]
call r9
movzx r8d, word [rbx + 0x58]
xor edx, edx
mov rcx, qword [rbx + 0x60]
call fcn.140006b80
movzx r8d, word [rsi]
xor edx, edx
mov rcx, qword [rbx + 0x50]
mov dword [rbx + 0x58], r14d
call fcn.140006b80
mov word [rsi], r14w
mov word [rbx + 0x4a], r14w
mov rbx, qword [rsp + 0x60]
mov eax, 0xc0000001
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140002298
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140008268]
mov rbx, rdx
mov rdi, rcx
test rax, rax
je 0x1400022c8
call rax
jmp 0x140002382
mov dword [rbp - 0x40], 0xe397e3b1
lea rax, [rbp - 0x40]
mov dword [rbp - 0x3c], 0xe3a5e38f
mov edx, 0xe3e3
mov dword [rbp - 0x38], 0xe38de38a
mov ecx, 0x1e
mov dword [rbp - 0x34], 0xe3a6e387
mov dword [rbp - 0x30], 0xe393e39b
mov dword [rbp - 0x2c], 0xe391e38c
mov dword [rbp - 0x28], 0xe386e397
mov dword [rbp - 0x24], 0xe3b1e387
mov dword [rbp - 0x20], 0xe396e38c
mov dword [rbp - 0x1c], 0xe38ae397
mov dword [rbp - 0x18], 0xe386e38d
mov dword [rbp - 0x14], 0xe39ae3a1
mov dword [rbp - 0x10], 0xe382e3ad
mov dword [rbp - 0xc], 0xe386e38e
mov dword [rbp - 8], 0xe3e3e3e3
xor word [rax], dx
lea rax, [rax + 2]
sub rcx, 1
jne 0x14000233f
xorps xmm0, xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [0x140008268], rax
test rax, rax
je 0x140002382
mov rdx, rbx
mov rcx, rdi
jmp 0x1400022c1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1400024f4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
movsxd r9, dword [rcx + 0x3c]
mov rdi, r8
mov r11, rdx
mov rbx, rcx
movzx eax, word [r9 + rcx + 0x14]
lea r10, [r9 + rcx]
add rax, 0x18
add r10, rax
movzx eax, word [r9 + rcx + 6]
lea r9, [rax + rax*4]
lea rsi, [r10 + r9*8]
cmp r10, rsi
jae 0x1400025bd
mov rax, qword [r10]
mov rbp, r11
mov qword [rsp + 0x18], rax
test r11, r11
je 0x14000258e
lea r8, [rsp + 0x18]
sub r8, r11
movsx ecx, byte [r8 + rbp]
movsx edx, byte [rbp]
inc rbp
lea eax, [rcx - 0x41]
cmp ax, 0x19
lea r9d, [rcx + 0x20]
lea eax, [rdx - 0x41]
cmova r9w, cx
cmp ax, 0x19
lea ecx, [rdx + 0x20]
cmova cx, dx
test r9w, r9w
jne 0x140002588
test cx, cx
je 0x140002594
cmp r9w, cx
je 0x140002553
add r10, 0x28
jmp 0x140002532
test rdi, rdi
je 0x1400025b4
mov ecx, dword [r10 + 8]
mov eax, dword [r10 + 0x10]
cmp ecx, eax
cmovbe ecx, eax
add ecx, 0xfff
and ecx, 0xfffff000
mov dword [rdi], ecx
mov eax, dword [r10 + 0xc]
add rax, rbx
jmp 0x1400025bf
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r14
pop rdi
ret
Function at 0x140002988
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x20
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 0xb]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov eax, dword [rsp + 0x30]
mov ecx, 0x101
add eax, 0x2800
mov dword [rsp + 0x30], eax
mov edx, eax
movabs rax, 0xfffff78000000330
mov eax, dword [rax]
mov r8d, eax
imul r8, rax
imul r8, rax
imul r8, rax
xor r8, qword [0x140008028]
call r8
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
je 0x140002a0e
test rbx, rbx
je 0x140002a13
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140002a13
test rbx, rbx
jne 0x140002a17
xor eax, eax
jmp 0x140002a1a
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140002a5c
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140008260]
test rax, rax
jne 0x140002b2f
cmp dword [0x140008144], 0xa
jne 0x140002b1e
mov edx, 0xe3e3
mov dword [rbp - 0x40], 0xe38ee3ae
mov word [rbp - 0x10], dx
lea rax, [rbp - 0x40]
mov dword [rbp - 0x3c], 0xe386e3a4
mov ecx, 0x19
mov dword [rbp - 0x38], 0xe3b5e397
mov dword [rbp - 0x34], 0xe391e38a
mov dword [rbp - 0x30], 0xe396e397
mov dword [rbp - 0x2c], 0xe38fe382
mov dword [rbp - 0x28], 0xe38ce3a5
mov dword [rbp - 0x24], 0xe3b3e391
mov dword [rbp - 0x20], 0xe39ae38b
mov dword [rbp - 0x1c], 0xe38ae390
mov dword [rbp - 0x18], 0xe382e380
mov dword [rbp - 0x14], 0xe3e3e38f
xor word [rax], dx
lea rax, [rax + 2]
sub rcx, 1
jne 0x140002ae8
xorps xmm0, xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rax, qword [rax + 0x10]
and rax, 0xfffffffffffffff0
jmp 0x140002b28
movabs rax, 0xfffffa8000000000
mov qword [0x140008260], rax
add rsp, 0x70
pop rbp
ret

Function at 0x140002b60
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140008258]
test rax, rax
jne 0x140002c2f
cmp dword [0x140008144], 0xa
jne 0x140002c1e
mov edx, 0xe3e3
mov dword [rbp - 0x40], 0xe38ee3ae
mov word [rbp - 0x10], dx
lea rax, [rbp - 0x40]
mov dword [rbp - 0x3c], 0xe386e3a4
mov ecx, 0x19
mov dword [rbp - 0x38], 0xe3b5e397
mov dword [rbp - 0x34], 0xe391e38a
mov dword [rbp - 0x30], 0xe396e397
mov dword [rbp - 0x2c], 0xe38fe382
mov dword [rbp - 0x28], 0xe38ce3a5
mov dword [rbp - 0x24], 0xe3b3e391
mov dword [rbp - 0x20], 0xe39ae38b
mov dword [rbp - 0x1c], 0xe38ae390
mov dword [rbp - 0x18], 0xe382e380
mov dword [rbp - 0x14], 0xe3e3e38f
xor word [rax], dx
lea rax, [rax + 2]
sub rcx, 1
jne 0x140002bec
xorps xmm0, xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rax, qword [rax + 0x22]
jmp 0x140002c28
movabs rax, 0xfffff68000000000
mov qword [0x140008258], rax
add rsp, 0x70
pop rbp
ret
Function at 0x140002c38
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd rdi, dword [rdx + 0x3c]
mov rbp, rdx
mov rbx, qword [rcx + 0x10]
add rdi, rdx
mov rcx, rbx
mov esi, dword [rdi + 0x50]
mov edx, esi
call fcn.1400066b4
xor r12d, r12d
test rbx, rbx
jne 0x140002c7f
xor eax, eax
jmp 0x140002d8a
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140006b80
mov r8d, dword [rdi + 0x54]
mov rdx, rbp
mov rcx, rbx
call fcn.1400068c0
movzx esi, word [rdi + 0x14]
mov r14d, r12d
add rsi, 0x2c
cmp r12w, word [rdi + 6]
jae 0x140002cd4
add rsi, rdi
mov edx, dword [rsi]
mov ecx, dword [rsi - 8]
add rdx, rbp
mov r8d, dword [rsi - 4]
add rcx, rbx
call fcn.1400068c0
movzx eax, word [rdi + 6]
lea rsi, [rsi + 0x28]
inc r14d
cmp r14d, eax
jl 0x140002cb0
mov rcx, rbx
call fcn.140003330
mov rcx, rbx
call fcn.140002fd4
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx + 0xdc], r12d
je 0x140002d04
mov eax, dword [rax + rbx + 0xd8]
mov rcx, qword [rax + rbx + 0x58]
inc qword [rcx]
mov eax, dword [rbx + 0x3c]
movsxd rdi, eax
mov rdx, rbx
add rdi, rbx
mov rcx, rbx
mov eax, dword [rdi + 0x28]
add rax, rbx
call rax
test eax, eax
js 0x140002d85
movzx eax, word [rdi + 0x14]
lea r15, [rdi + 0x18]
add r15, rax
mov esi, r12d
cmp r12w, word [rdi + 6]
jae 0x140002d75
movsxd r14, esi
lea rax, [r14 + r14*4]
lea rcx, [r15 + rax*8]
test rcx, rcx
je 0x140002d51
lea rdx, [0x140006c90]
call sub.ntoskrnl.exe__stricmp
test eax, eax
je 0x140002d5d
movzx eax, word [rdi + 6]
inc esi
cmp esi, eax
jge 0x140002d75
jmp 0x140002d31
lea rax, [r14 + r14*4]
xor edx, edx
mov ecx, dword [r15 + rax*8 + 0xc]
mov r8d, dword [r15 + rax*8 + 8]
add rcx, rbx
call fcn.140006b80
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call fcn.140006b80
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140002dac
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r12, rdx
mov r14, rcx
test rcx, rcx
jne 0x140002dd7
xor eax, eax
jmp 0x140002fbb
movabs rax, 0xfffff78000000330
mov ebx, 0x130
mov edx, ebx
xor ecx, ecx
mov eax, dword [rax]
mov r9d, eax
imul r9, rax
imul r9, rax
imul r9, rax
xor r9, qword [0x140008028]
call r9
and dword [rbp + 0x30], 0
lea r9, [rbp + 0x30]
mov r8d, ebx
mov rdx, rax
mov ecx, 0xb
mov rsi, rax
call sub.ntoskrnl.exe_ZwQuerySystemInformation
movsxd rbx, eax
test eax, eax
jns 0x140002ec0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r15d, 0xc0000004
cmp ebx, r15d
je 0x140002e49
mov rax, rbx
jmp 0x140002fbb
mov edi, dword [rbp + 0x30]
movabs rax, 0xfffff78000000330
add edi, 0x130
xor ecx, ecx
mov edx, edi
mov eax, dword [rax]
mov r9d, eax
imul r9, rax
imul r9, rax
imul r9, rax
xor r9, qword [0x140008028]
call r9
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140006b80
lea r9, [rbp + 0x30]
mov r8d, edi
mov rdx, rsi
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov ecx, 0x80000000
movsxd rbx, eax
lea eax, [rbx + rcx]
test ecx, eax
jne 0x140002ec0
cmp ebx, r15d
je 0x140002ec0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140002e41
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
mov rdx, r14
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
xorps xmm0, xmm0
lea rdx, [0x140006c70]
lea rcx, [rbp - 0x30]
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
xorps xmm0, xmm0
lea rdx, [0x140006c80]
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
xor r14d, r14d
xor r15d, r15d
test ebx, ebx
js 0x140002fa4
mov r8b, 1
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
je 0x140002f9c
mov r8b, 1
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
je 0x140002f9c
xor ebx, ebx
cmp dword [rsi], ebx
jbe 0x140002fa4
lea rdi, [rsi + 8]
movzx edx, word [rdi + 0x26]
lea rcx, [rbp - 0x10]
add rdx, 0x28
xorps xmm0, xmm0
add rdx, rdi
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
mov r8b, 1
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
je 0x140002f86
inc ebx
add rdi, 0x128
cmp ebx, dword [rsi]
jb 0x140002f46
jmp 0x140002fa4
movsxd rax, ebx
imul rcx, rax, 0x128
mov r14, qword [rcx + rsi + 0x18]
mov r15d, dword [rcx + rsi + 0x20]
jmp 0x140002fa4
mov r14, qword [rsi + 0x18]
mov r15d, dword [rsi + 0x20]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test r12, r12
je 0x140002fb8
mov qword [r12], r15
mov rax, r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret