joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024e10
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.14004a600
mov rcx, rdi
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [rsp + 0x28]
cmp rax, 0xe
ja case.0x140024e4b.4
lea rcx, [0x14042a11c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 3
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x1400250a3
mov byte [rax + 2], 0x6d
mov word [rax], 0x7261
jmp 0x140024f47
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 4
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x140025094
mov dword [rax], 0x32336169
jmp 0x140024fb1
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 5
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x1400250b2
mov byte [rax + 4], 0x61
mov dword [rax], 0x68706c61
jmp 0x140024f04
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 5
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x1400250b2
mov byte [rax + 4], 0x34
mov dword [rax], 0x366d7261
mov qword [rsi], 5
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 5
jmp 0x14002508a
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 3
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x1400250a3
mov byte [rax + 2], 0x36
mov word [rax], 0x3878
mov qword [rsi], 3
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 3
jmp 0x14002508a
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 4
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x140025094
mov dword [rax], 0x7370696d
jmp 0x140024fb1
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 4
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x140025094
mov dword [rax], 0x34366169
mov qword [rsi], 4
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 4
jmp 0x14002508a
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 7
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x1400250c1
mov dword [rax + 3], 0x34366168
mov dword [rax], 0x68706c61
jmp 0x140025029
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 7
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x1400250c1
mov dword [rax + 3], 0x63707265
mov dword [rax], 0x65776f70
mov qword [rsi], 7
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 7
jmp 0x14002508a
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 6
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x1400250d0
mov word [rax + 4], 0x3436
mov dword [rax], 0x5f363878
mov qword [rsi], 6
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 6
jmp 0x14002508a
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 4
call fcn.1400dc200
mov ecx, 1
mov edx, 3
call fcn.1400dc200
mov ecx, 1
mov edx, 5
call fcn.1400dc200
mov ecx, 1
mov edx, 7
call fcn.1400dc200
mov ecx, 1
mov edx, 6
call fcn.1400dc200
int3
Function at 0x140028a10
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 0x140028a52
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140028a5a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140028a6b
jmp 0x140028a82
xor r10d, r10d
jmp 0x140028b0d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140028a82
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140028a99
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 0x140028ab9
add r11, r8
jmp 0x140028beb
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 0x140028b82
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 0x140028b30
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140028ba0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140028bb2
jmp 0x140028bcd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140028bcd
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140028be7
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 0x1400299a0
Capabilities:
List user account groups

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rdi, qword [rcx + 8]
mov rbx, qword [rcx + 0x10]
mov qword [rcx + 0x10], 0
test rbx, rbx
je 0x140029a02
add rdi, 8
jmp 0x1400299e9
add rdi, 0x20
dec rbx
je 0x140029a02
mov rdx, qword [rdi - 8]
test rdx, rdx
je 0x1400299e0
mov rcx, qword [rdi]
mov r8d, 1
call fcn.140008a40
jmp 0x1400299e0
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x68], 0
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x78]
nop
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x5c], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor edx, edx
lea r8, [rsp + 0x38]
mov r9d, 0xffffffff
call sub.netapi32.dll_NetGroupEnum
test eax, eax
je 0x140029a7a
cmp eax, 0xea
jne 0x140029c26
mov r13, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x4c]
test rbp, rbp
je 0x140029c09
mov dword [rsp + 0x58], eax
shl rbp, 3
xor ebx, ebx
jmp 0x140029aad
add rbx, 8
cmp rbp, rbx
je 0x140029c00
mov rdx, qword [r13 + rbx]
test rdx, rdx
je 0x140029aa0
mov qword [rsp + 0x40], 0
xor ecx, ecx
mov r8d, 3
mov r9, r14
call sub.netapi32.dll_NetGroupGetInfo
test eax, eax
jne 0x140029be0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
mov rcx, r15
call fcn.140038210
mov rax, qword [rsp + 0x78]
cmp rax, rdi
je 0x140029be0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [r13 + rbx]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140029b66
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x70]
call fcn.14004e790
mov r12, qword [rsp + 0x90]
cmp r12, rdi
mov eax, 0
cmove r12, rax
mov r14, qword [rsp + 0x98]
mov ecx, 1
cmove r14, rcx
mov r15, qword [rsp + 0xa0]
cmove r15, rax
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi]
je 0x140029b7b
jmp 0x140029b83
mov r14d, 1
xor r12d, r12d
xor r15d, r15d
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi]
jne 0x140029b83
mov rcx, rsi
call fcn.140026620
mov rax, qword [rsi + 8]
mov rcx, rdi
shl rcx, 5
mov qword [rax + rcx], r12
mov qword [rax + rcx + 8], r14
mov qword [rax + rcx + 0x10], r15
mov dword [rax + rcx + 0x18], 0
inc rdi
mov qword [rsi + 0x10], rdi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
movabs rdi, 0x8000000000000000
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x78]
je 0x140029be0
mov r8d, 1
mov rcx, qword [rsp + 0x60]
call fcn.140008a40
nop dword [rax]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140029aa0
call sub.netapi32.dll_NetApiBufferFree
jmp 0x140029aa0
mov r13, qword [rsp + 0x38]
mov eax, dword [rsp + 0x58]
cmp eax, 0xea
jne 0x140029c2b
test r13, r13
je 0x140029a20
mov rcx, r13
call sub.netapi32.dll_NetApiBufferFree
jmp 0x140029a20
mov r13, qword [rsp + 0x38]
test r13, r13
je 0x140029c38
mov rcx, r13
call sub.netapi32.dll_NetApiBufferFree
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14002a600
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rcx, qword [0x1401011e0]
xor edx, edx
jmp 0x14002b690
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002b777
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002b76f
je 0x14002b76d
test rbx, rbx
je 0x14002b6d4
mov rdi, qword [rbx + 8]
cmp qword [rbx], 0
mov qword [rbx], 0
jne 0x14002b6e4
call fcn.1400649b0
mov rcx, rax
call fcn.1400645b0
mov rdi, rax
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x14002b791
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14002b768
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x14002b755
cmp rax, 1
jne 0x14002b755
call fcn.140065c70
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140008a40
mov rax, rsi
jmp 0x14002b76f
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7a70
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002b6b8
jmp 0x14002b76f
mov ecx, 8
mov edx, 0x10
call fcn.1400dc220
ud2

Function at 0x14002b5c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101148]
jmp 0x14002b5c0
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002b663
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002b65b
je 0x14002b659
test rdi, rdi
je 0x14002b5fc
cmp dword [rdi], 0
mov dword [rdi], 0
je 0x14002b5fc
mov rdi, qword [rdi + 4]
jmp 0x14002b5fe
xor edi, edi
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0xc
mov edx, 4
call fcn.140008a30
test rax, rax
je 0x14002b67d
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14002b654
mov edx, 0xc
mov r8d, 4
mov rcx, rdi
call fcn.140008a40
mov rax, rsi
jmp 0x14002b65b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7a70
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002b5e4
jmp 0x14002b65b
mov ecx, 4
mov edx, 0xc
call fcn.1400dc220
int3
Function at 0x14002b690
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rcx, qword [0x1401011e0]
xor edx, edx
jmp 0x14002b690
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002b777
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002b76f
je 0x14002b76d
test rbx, rbx
je 0x14002b6d4
mov rdi, qword [rbx + 8]
cmp qword [rbx], 0
mov qword [rbx], 0
jne 0x14002b6e4
call fcn.1400649b0
mov rcx, rax
call fcn.1400645b0
mov rdi, rax
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x14002b791
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14002b768
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x14002b755
cmp rax, 1
jne 0x14002b755
call fcn.140065c70
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140008a40
mov rax, rsi
jmp 0x14002b76f
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7a70
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002b6b8
jmp 0x14002b76f
mov ecx, 8
mov edx, 0x10
call fcn.1400dc220
ud2

Function at 0x14002b800
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101348]
jmp 0x14002b800
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002b8cf
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002b8c2
je 0x14002b8c0
test rdi, rdi
je 0x14002b849
movups xmm6, xmmword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 0
jne 0x14002b865
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x14002b8e9
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14002b8bb
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140008a40
mov rax, rsi
jmp 0x14002b8c2
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7a70
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002b82d
jmp 0x14002b8c2
mov ecx, 8
mov edx, 0x18
call fcn.1400dc220
int3
Function at 0x14002b900
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101158]
jmp 0x14002b900
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x14002b9a7
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14002b99f
je 0x14002b940
test rdi, rdi
je 0x14002b944
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x14002b946
mov rbx, qword [rdi + 8]
jmp 0x14002b946
xor eax, eax
jmp 0x14002b99f
xor ebx, ebx
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x14002b9c1
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14002b99c
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140008a40
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b7a70
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14002b924
jmp 0x14002b99f
mov ecx, 8
mov edx, 0x10
call fcn.1400dc220
int3
Function at 0x14002dd20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140101348]
jmp 0x14002b800

Function at 0x140030760
Capabilities:
Get local ipv4 addresses

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, rcx
mov dword [rsp + 0x30], 0x3c00
xor ebx, ebx
lea r14, [rsp + 0x30]
xor ebp, ebp
nop word cs:[rax + rax]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call sub.msvcrt.dll_realloc
test rax, rax
je 0x14003084e
mov rdi, rax
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.iphlpapi.dll_GetAdaptersAddresses
mov dword [rsp + 0x34], eax
test eax, eax
je 0x1400308b2
cmp ebp, 1
ja 0x1400307da
inc ebp
mov rbx, rdi
cmp eax, 0x6f
je 0x140030790
lea rax, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rax, [fcn.1400fb5f0]
mov qword [rsp + 0x40], rax
lea rax, [0x14042ad30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400dd760
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x1400308c7
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x32
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x1400308d5
mov rdi, rax
movups xmm0, xmmword [0x14042acf0]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x14042ace0]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.failed_to_allocate_memory_for_IP_ADAPTER_ADDRESSESGetAdaptersAddresses___failed_with_code]
movups xmmword [rax], xmm0
mov word [rax + 0x30], 0x5345
mov rcx, rbx
call sub.msvcrt.dll_free
mov qword [rsi], 0x32
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], 0x32
jmp 0x1400308c7
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
movabs rax, 0x8000000000000000
mov qword [rsi], rax
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ecx, 1
mov edx, 0x32
call fcn.1400dc200
ud2
Function at 0x140037840
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rcx, [0x14042b3b8]
lea r9, [0x14042b3a8]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1400378c6
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140037906
cmp qword [rsi], 0
je 0x1400378ab
mov rcx, rsi
call fcn.14004eb30
mov qword [rsi], rbx
movups xmm0, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm0
mov rax, qword [rsi]
mov qword [rdi], rax
mov rax, qword [rsi + 8]
mov qword [rdi + 8], rax
jmp 0x140037912
lea rbx, [rsp + 0x38]
mov ecx, eax
call fcn.140057310
mov r14, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
cmp qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 1
jne 0x1400378f7
mov rcx, rbx
call fcn.14004eb30
test r14, r14
je 0x140037906
lea rcx, [rsp + 0x48]
call fcn.140057db0
mov byte [rdi + 0x18], 2
mov rcx, rsi
call fcn.1400362c0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140037c50
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 8], 0
je 0x140037d11
lea r14, [rsi + 8]
lea rcx, [0x14042b3da]
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x30
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov rdx, r14
call fcn.140015d90
mov rcx, rbx
call fcn.1400fe88c
mov rcx, qword [rsp + 0x30]
call fcn.1400fe88c
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x30]
call fcn.14004e3f0
lea rcx, [rsp + 0x38]
call fcn.14004e3f0
cmp qword [rsp + 0x40], 0
mov r14, qword [rsp + 0x48]
je 0x140037d1f
test r14, r14
je 0x140037d11
lea rcx, [rsp + 0x48]
call fcn.140057db0
mov byte [rdi + 0x18], 2
mov rcx, rsi
call fcn.1400362c0
jmp 0x140037d4c
cmp qword [rsi + 0x10], 0
je 0x140037d32
lea rbx, [rsi + 0x10]
mov rcx, rbx
call fcn.14004eb30
mov qword [rsi + 0x10], r14
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x10]
mov qword [rdi + 0x10], rax
mov rax, qword [rsi + 0x18]
mov qword [rdi + 0x18], rax
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14005b340
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rdx + 0x28]
movzx ebp, byte [rdx + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], bpl
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x5f0
mov edx, 8
call fcn.140008a30
test rax, rax
je 0x14005b5b0
mov rbx, rax
movabs r15, 0x800000000000000
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xded7d4e2d7dedfc6
movabs r10, 0xe414a674f0de7325
nop dword [rax]
mov eax, 1
lock xadd qword [0x140478098], rax
mov r11, rax
xor r11, rcx
mov r14, r11
rol r14, 0x10
lea r12, [r11 + rdx]
xor r14, r12
add r11, r8
lea r12, [r14 + r9]
mov r13, r11
xor r13, r10
rol r14, 0x15
rol r11, 0x20
xor rax, r12
xor r12, r15
xor r12, r14
add rax, r13
rol r13, 0xd
add r11, r12
xor r13, rax
rol r12, 0x10
xor r12, r11
rol rax, 0x20
add r11, r13
add rax, r12
rol r13, 0x11
xor r13, r11
rol r12, 0x15
rol r11, 0x20
xor r12, rax
xor rax, r15
xor r11, 0xff
add rax, r13
add r11, r12
rol r13, 0xd
xor r13, rax
rol r12, 0x10
rol rax, 0x20
xor r12, r11
add r11, r13
rol r13, 0x11
add rax, r12
xor r13, r11
rol r12, 0x15
xor r12, rax
rol r11, 0x20
add rax, r13
add r11, r12
rol r13, 0xd
xor r13, rax
rol r12, 0x10
rol rax, 0x20
xor r12, r11
add r11, r13
rol r13, 0x11
add rax, r12
xor r13, r11
rol r12, 0x15
xor r12, rax
rol r11, 0x20
add rax, r13
add r11, r12
rol r13, 0xd
xor r13, rax
rol r12, 0x10
xor r12, r11
add r11, r13
rol r13, 0x11
rol r12, 0x15
mov rax, r11
rol rax, 0x20
xor rax, r13
xor rax, r12
xor rax, r11
je 0x14005b400
mov rcx, qword [rsi + 0x58]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rdx, qword [rsp + 0x20]
mov qword [rdi + 0x138], rdx
mov byte [rdi + 0x140], bpl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
mov rdx, qword [rsp + 0x28]
mov qword [rdi + 0x100], rdx
mov qword [rdi + 0x108], rax
mov qword [rdi + 0x110], rcx
mov rdx, qword [rsi + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14005b59c
test rdx, rdx
je 0x14005b59c
mov rcx, qword [rsi + 0x18]
mov r8d, 1
call fcn.140008a40
mov rax, rdi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1400dc220
ud2