joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f4b0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x14000f516
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
jmp 0x14000f4d8
add rdi, rbx
sub rsi, rbx
je 0x14000f516
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xbfffffff
jbe 0x14000f4d0
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x14000f4d0
and ebp, 0x7fffffff
jmp 0x14000f518
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140011430
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x34]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x140011593
mov rdi, rax
mov qword [rsp + 0x68], rsi
movsxd rbp, dword [rsp + 0x34]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x48], 0
test rbp, rbp
je 0x140011573
shl rbp, 3
xor esi, esi
lea r14, [rsp + 0x50]
jmp 0x1400114cc
mov rax, qword [rsp + 0x40]
lea rcx, [r15 + r15*2]
mov qword [rax + rcx*8], r12
mov qword [rax + rcx*8 + 8], r13
mov qword [rax + rcx*8 + 0x10], rbx
inc r15
mov qword [rsp + 0x48], r15
add rsi, 8
cmp rbp, rsi
je 0x140011573
mov r12, qword [rdi + rsi]
mov rcx, r12
call sub.msvcrt.dll_wcslen
mov r13, rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 0
test rax, rax
je 0x140011520
mov rax, r13
shr rax, 1
mov r8, r13
sub r8, rax
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, r14
xor edx, edx
call fcn.140020de0
lea rax, [r12 + r13*2]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rax
mov word [rsp + 0x80], 0
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.140024f40
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x48]
cmp r15, qword [rsp + 0x38]
jne 0x1400114a0
lea rcx, [rsp + 0x38]
call fcn.140020a10
jmp 0x1400114a0
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
movups xmmword [rcx], xmm0
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0x10], rax
jmp 0x1400115aa
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

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

Disassembly:
mov rcx, qword [0x1400d9358]
xor edx, edx
jmp 0x1400278c0
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 0x14002798e
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140027981
je 0x14002797f
test rdi, rdi
je 0x140027908
movups xmm6, xmmword [rdi + 8]
test byte [rdi], 1
mov qword [rdi], 0
jne 0x140027924
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 [0x140105118]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.14000b1e0
test rax, rax
je 0x1400279a8
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 0x14002797a
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.14000b1f0
mov rax, rsi
jmp 0x140027981
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.14008eee0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400278ed
jmp 0x140027981
mov ecx, 8
mov edx, 0x18
call fcn.1400b3820
int3
Function at 0x1400147d0
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0x90], 0x40
lea rcx, [rsp + 0x90]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi + 0x138], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x1400148bc
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0x148], r8
mov qword [rsi + 0x150], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rsi
ret
Function at 0x140018d10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d9358]
jmp 0x1400278c0
Function at 0x14001c920
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d9358]
jmp 0x1400278c0

Function at 0x14001d040
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 0x14001d082
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14001d08a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001d09b
jmp 0x14001d0b2
xor r10d, r10d
jmp 0x14001d13d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14001d0b2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14001d0c9
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 0x14001d0e9
add r11, r8
jmp 0x14001d219
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 0x14001d1b2
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 0x14001d160
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14001d1cf
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x14001d1e0
jmp 0x14001d1fb
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14001d1fb
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 0x14001d215
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 0x14001da40
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x78], 0
je 0x14001da83
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov rcx, qword [rcx + 0x50]
lea r9, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14001da83
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x80], rax
mov al, 1
add rsp, 0x30
pop rsi
ret
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x140022380
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d9198]
jmp 0x140027670
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140027717
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002770f
je 0x1400276b0
test rdi, rdi
je 0x1400276b4
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x1400276b6
mov rbx, qword [rdi + 8]
jmp 0x1400276b6
xor eax, eax
jmp 0x14002770f
xor ebx, ebx
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.14000b1e0
test rax, rax
je 0x140027731
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 0x14002770c
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.14000b1f0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14008eee0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140027694
jmp 0x14002770f
mov ecx, 8
mov edx, 0x10
call fcn.1400b3820
int3

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

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d9190]
jmp 0x1400275a0
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140027643
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002763b
je 0x140027639
test rdi, rdi
je 0x1400275dc
test byte [rdi], 1
mov dword [rdi], 0
je 0x1400275dc
mov rdi, qword [rdi + 4]
jmp 0x1400275de
xor edi, edi
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov ecx, 0xc
mov edx, 4
call fcn.14000b1e0
test rax, rax
je 0x14002765d
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 0x140027634
mov edx, 0xc
mov r8d, 4
mov rcx, rdi
call fcn.14000b1f0
mov rax, rsi
jmp 0x14002763b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14008eee0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400275c4
jmp 0x14002763b
mov ecx, 4
mov edx, 0xc
call fcn.1400b3820
int3
Function at 0x1400245a0
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, r9
mov rdi, rcx
add r8, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], r8
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.140018860
mov rax, qword [rsp + 0xe0]
add rax, rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rax
mov word [rsp + 0x50], 0
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x78]
lea rbx, [rsp + 0x40]
mov rdx, rbx
call fcn.140018860
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call sub.ADVAPI32.dll_RegOpenKeyExW
test eax, eax
je 0x140024681
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x14002465f
mov rcx, qword [rsp + 0x80]
add rdx, rdx
mov r8d, 2
call fcn.14000b1f0
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14002467a
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.14000b1f0
xor ebp, ebp
jmp 0x140024716
mov rbx, qword [rsp + 0x40]
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 0
mov rdi, qword [rsp + 0x80]
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call sub.ADVAPI32.dll_RegQueryValueExW
test eax, eax
sete bpl
mov r14d, dword [rsp + 0x38]
mov rcx, rbx
call sub.ADVAPI32.dll_RegCloseKey
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x1400246fb
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.14000b1f0
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140024716
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.14000b1f0
shl r14, 8
movzx eax, bpl
or rax, r14
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d9190]
jmp 0x1400275a0
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140027643
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002763b
je 0x140027639
test rdi, rdi
je 0x1400275dc
test byte [rdi], 1
mov dword [rdi], 0
je 0x1400275dc
mov rdi, qword [rdi + 4]
jmp 0x1400275de
xor edi, edi
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov ecx, 0xc
mov edx, 4
call fcn.14000b1e0
test rax, rax
je 0x14002765d
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 0x140027634
mov edx, 0xc
mov r8d, 4
mov rcx, rdi
call fcn.14000b1f0
mov rax, rsi
jmp 0x14002763b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14008eee0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400275c4
jmp 0x14002763b
mov ecx, 4
mov edx, 0xc
call fcn.1400b3820
int3
Function at 0x140027670
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x1400d9198]
jmp 0x140027670
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140027717
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002770f
je 0x1400276b0
test rdi, rdi
je 0x1400276b4
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x1400276b6
mov rbx, qword [rdi + 8]
jmp 0x1400276b6
xor eax, eax
jmp 0x14002770f
xor ebx, ebx
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.14000b1e0
test rax, rax
je 0x140027731
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 0x14002770c
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.14000b1f0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14008eee0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140027694
jmp 0x14002770f
mov ecx, 8
mov edx, 0x10
call fcn.1400b3820
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140027833
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002782b
je 0x140027829
test rbx, rbx
je 0x140027793
mov rdi, qword [rbx + 8]
test byte [rbx], 1
mov qword [rbx], 0
jne 0x1400277a3
call fcn.14003c0f0
mov rcx, rax
call fcn.14003be60
mov rdi, rax
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.14000b1e0
test rax, rax
je 0x14002784d
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 0x140027824
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
xor rax, 1
or rax, qword [rcx + 0x818]
jne 0x140027811
call fcn.14003d2f0
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.14000b1f0
mov rax, rsi
jmp 0x14002782b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14008eee0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140027778
jmp 0x14002782b
mov ecx, 8
mov edx, 0x10
call fcn.1400b3820
ud2
mov rcx, qword [0x1400d91f0]
xor edx, edx
jmp 0x140027750
Function at 0x1400278c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rcx, qword [0x1400d9358]
xor edx, edx
jmp 0x1400278c0
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 0x14002798e
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140027981
je 0x14002797f
test rdi, rdi
je 0x140027908
movups xmm6, xmmword [rdi + 8]
test byte [rdi], 1
mov qword [rdi], 0
jne 0x140027924
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 [0x140105118]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.14000b1e0
test rax, rax
je 0x1400279a8
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 0x14002797a
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.14000b1f0
mov rax, rsi
jmp 0x140027981
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.14008eee0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400278ed
jmp 0x140027981
mov ecx, 8
mov edx, 0x18
call fcn.1400b3820
int3
Function at 0x140028910
Capabilities:
Reference wmi statements

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], 0
mov r15, qword [rdx + 0x10]
cmp r15, 1
jne 0x1400289ee
lea rcx, [0x1400dd84a]
call sub.OLEAUT32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysFreeString
mov rcx, r14
call sub.OLEAUT32.dll_SysFreeString
test ebp, ebp
js 0x1400289ee
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsi + 0x28]
cmp qword [rsi + 0x20], 0
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x1400289ba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x140028a68
mov qword [rdi], 2
mov rcx, qword [rsi + 0x28]
cmp qword [rsi + 0x20], 0
mov qword [rsi + 0x20], 0
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x140028a19
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 0x10], 0
test r15, r15
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x140028a3b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x140028a5d
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [rsi + 0x30], 1
jne 0x140028a68
call fcn.1400d6ea4
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140028e40
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov dword [rsp + 0x28], 0x3c00
mov ecx, 0x3c00
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140028f7c
mov rdi, rax
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x2c], eax
test eax, eax
je 0x140028fd5
cmp eax, 0x6f
jne 0x140028f1e
mov rcx, rdi
call sub.msvcrt.dll_free
mov ecx, dword [rsp + 0x28]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140028f7c
mov rdi, rax
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x2c], eax
test eax, eax
je 0x140028fd5
cmp eax, 0x6f
jne 0x140028f1e
mov rcx, rdi
call sub.msvcrt.dll_free
mov ecx, dword [rsp + 0x28]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x140028f7c
mov rdi, rax
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x2c], eax
test eax, eax
je 0x140028fd5
mov rcx, rdi
call sub.msvcrt.dll_free
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [fcn.1400d3640]
mov qword [rsp + 0x38], rax
lea rax, [0x1400dd950]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b4d60
jmp 0x140028fea
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov ecx, 0x32
mov edx, 1
call fcn.14000b1e0
test rax, rax
je 0x140028ff5
movups xmm0, xmmword [0x1400dd914]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1400dd904]
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 qword [rsi], 0x32
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 0x32
jmp 0x140028fea
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 0x32
call fcn.1400b3800
int3
Function at 0x140029790
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140027833
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14002782b
je 0x140027829
test rbx, rbx
je 0x140027793
mov rdi, qword [rbx + 8]
test byte [rbx], 1
mov qword [rbx], 0
jne 0x1400277a3
call fcn.14003c0f0
mov rcx, rax
call fcn.14003be60
mov rdi, rax
mov rax, qword [0x140105118]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.14000b1e0
test rax, rax
je 0x14002784d
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 0x140027824
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
xor rax, 1
or rax, qword [rcx + 0x818]
jne 0x140027811
call fcn.14003d2f0
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.14000b1f0
mov rax, rsi
jmp 0x14002782b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14008eee0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140027778
jmp 0x14002782b
mov ecx, 8
mov edx, 0x10
call fcn.1400b3820
ud2
mov rcx, qword [0x1400d91f0]
xor edx, edx
jmp 0x140027750

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

Disassembly:
mov rcx, qword [0x1400d9198]
xor edx, edx
jmp 0x140027670