joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d100
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14000cde0
cmp qword [0x14046e048], 0
mov rbx, rax
je 0x14000d218
test rax, rax
je 0x14000d218
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.1400109e0
cmp eax, 1
je 0x14000d226
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je fcn.1402ab60c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1402b0038]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000d22c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14000cbb0
nop
jmp fcn.1402ab60c

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

Disassembly:
sub rsp, 0x28
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000d260
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14000d100
Function at 0x14000d9d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14000daf8
cmp eax, 1
je 0x14000da2b
call fcn.14000c930
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.14000f770
mov r12d, dword [rbx]
test r12d, r12d
je 0x14000da40
cmp r12d, 1
jne 0x14000dad0
mov rcx, rbp
call fcn.14000fa60
test rdi, rdi
je 0x14000da2b
mov rcx, rdi
call fcn.14000ccd0
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x14000cdb0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14000d050
mov ecx, dword [0x1402b0038]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x14000db38
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call r12
test rax, rax
je 0x14000db20
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call r12
test rax, rax
je 0x14000db10
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x14000da16
mov ecx, 2
call qword [fcn.140197860]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14000da16
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14000d100
test rax, rax
jne 0x14000dab9
jmp 0x1402ab625
call fcn.14000d100
test rax, rax
jne 0x14000da95
jmp 0x1402ab63e
call fcn.14000d100
test rax, rax
jne 0x14000da6f
jmp 0x1402ab634
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x14000ddc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000de38
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.1400109f0
cmp esi, dword [rbx + 0x48]
jae 0x14000de13
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14000de13
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.140010a30
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14000d100
mov rbx, rax
jmp 0x14000dded
Function at 0x14000de50
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000df50
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.1400109f0
cmp esi, dword [rbx + 0x48]
jae 0x14000ded0
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.140010a30
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x14000df5d
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14000df5d
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call fcn.140197fc0
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call fcn.140197fc0
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x14000de9f
call fcn.14000d100
mov rbx, rax
jmp 0x14000de8a
mov rcx, r13
call fcn.140010a30
mov eax, 0xc
jmp 0x14000debd

Function at 0x14000df90
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000dfc0
mov rdx, qword [rax + 0x1d8]
mov rax, rdx
add rsp, 0x28
ret
call fcn.14000d100
xor edx, edx
test rax, rax
jne 0x14000dfaa
mov rax, rdx
add rsp, 0x28
ret

Function at 0x14000dfe0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000e008
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14000d100
test rax, rax
jne 0x14000dffa
add rsp, 0x28
ret

Function at 0x14000e070
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000e098
add rax, 0x18
add rsp, 0x28
ret
call fcn.14000d100
test rax, rax
jne 0x14000e08a
jmp 0x14000e08e

Function at 0x14000e1b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140468108]
test eax, eax
jne 0x14000e1c8
xor eax, eax
add rsp, 0x28
ret
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000e1f8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14000e1be
test byte [rax + 0x40], 3
je 0x14000e1be
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14000e1c0
call fcn.14000d100
test rax, rax
jne 0x14000e1de
jmp 0x14000e1be
Function at 0x14000e210
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000e250
test ebx, ebx
jle 0x14000e240
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14000d100
test rax, rax
jne 0x14000e22d
add rsp, 0x20
pop rbx
ret

Function at 0x14000e340
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000e3b8
test byte [rbx + 0x40], 0xc
jne 0x14000e36f
mov eax, dword [0x140468108]
test eax, eax
jne 0x14000e380
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14000f770
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14000e3a3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14000e3a3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14000e3cc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14000fa60
call fcn.14000d100
mov rbx, rax
test rax, rax
jne 0x14000e35f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14000e3ea
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14000fa60
call fcn.14000e260
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14000e470
call fcn.14000f520
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14000e4a8
call fcn.14000d050
mov ecx, dword [0x1402b0038]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000e500
test esi, esi
je 0x14000e486
call fcn.14000e340
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000e4e0
mov edx, edi
call fcn.14000f5d0
call fcn.14000e340
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000e4f0
call fcn.14000e340
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000e340
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000d050
mov ecx, dword [0x1402b0038]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14000e445
call fcn.14000d100
mov rbx, rax
jmp 0x14000e445
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000e45e
call fcn.14000d100
jmp 0x14000e486
call fcn.14000d100
mov rbx, rax
jmp 0x14000e441
Function at 0x14000e400
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000e3b8
test byte [rbx + 0x40], 0xc
jne 0x14000e36f
mov eax, dword [0x140468108]
test eax, eax
jne 0x14000e380
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14000f770
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14000e3a3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14000e3a3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14000e3cc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14000fa60
call fcn.14000d100
mov rbx, rax
test rax, rax
jne 0x14000e35f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14000e3ea
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14000fa60
call fcn.14000e260
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14000e470
call fcn.14000f520
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14000e4a8
call fcn.14000d050
mov ecx, dword [0x1402b0038]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000e500
test esi, esi
je 0x14000e486
call fcn.14000e340
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000e4e0
mov edx, edi
call fcn.14000f5d0
call fcn.14000e340
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000e4f0
call fcn.14000e340
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000e340
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000d050
mov ecx, dword [0x1402b0038]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14000e445
call fcn.14000d100
mov rbx, rax
jmp 0x14000e445
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000e45e
call fcn.14000d100
jmp 0x14000e486
call fcn.14000d100
mov rbx, rax
jmp 0x14000e441

Function at 0x14000e510
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000e580
test esi, esi
je 0x14000e560
call fcn.14000e340
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000e590
mov edx, esi
call fcn.14000f5d0
call fcn.14000e340
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14000e340
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000e340
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14000d100
mov rbx, rax
jmp 0x14000e531
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000e54a
Function at 0x14000eb20
Capabilities:
Create thread
Get thread local storage value
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, rcx
mov rdi, rdx
mov rsi, r8
mov r12, r9
call fcn.14000cde0
mov rbx, rax
test rax, rax
je 0x14000ed57
test rbp, rbp
je 0x14000eb5b
mov rax, qword [rax + 0x1d8]
mov qword [rbp], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbx + 0x44], 1
mov dword [rbx + 0xbc], 0
mov qword [rbx + 0x28], 0xffffffffffffffff
mov r14, r13
mov qword [rbx + 8], r12
mov r12, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rsi
xor esi, esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call r12
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x14000ebd0
test esi, esi
jne 0x14000ebc0
xor ecx, ecx
mov esi, 1
call r14
jmp 0x14000eb8f
add esi, 1
mov ecx, 0x14
call r13
cmp esi, 5
jne 0x14000eb8f
mov qword [rbx + 0x38], 0xffffffffffffffff
lea r12, [rbx + 0x68]
mov rcx, r12
call fcn.1400109e0
cmp eax, 1
je 0x14000eda7
cmp qword [rbx + 0x30], 0
mov dword [rbx], 0xbab1f00d
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xc0], 0
mov dword [rbx + 0xb8], 0
je 0x14000ed40
xor edx, edx
test rdi, rdi
je 0x14000ec3d
mov eax, dword [rdi]
mov rsi, qword [rdi + 0x10]
mov dword [rbx + 0x44], eax
test al, 8
jne 0x14000ed68
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0xc0], eax
mov edx, esi
lea r8, [0x14000d3b0]
mov r9, rbx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rsi, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000ed08
mov eax, dword [rbx + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x14000ece0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [rbx + 0x44], 4
jne 0x14000ecc0
mov qword [rbx + 0x28], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rsi
mov qword [rbx + 0x28], 0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000eca7
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x14000ec81
mov edx, 2
cmp eax, edx
cmovle edx, eax
cmp eax, 0xf
mov eax, 0xf
cmovge edx, eax
jmp 0x14000ec81
mov rcx, qword [rbx + 0x30]
lea rsi, [rbx + 0x38]
test rcx, rcx
je 0x14000ed1b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.14000fbf0
mov rcx, r12
call fcn.1400109e0
cmp eax, 1
je 0x14000eda7
mov qword [rbx + 0x68], 0xffffffffffffffff
pxor xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
test rbp, rbp
je 0x14000ed4d
mov qword [rbp], 0
cmp qword [rbx + 0x1d0], 0
je 0x14000ed90
mov eax, 0xb
jmp 0x14000ecb1
call fcn.14000d050
mov ecx, dword [0x1402b0038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000eda0
mov eax, dword [rax + 0xc0]
jmp 0x14000ec35
mov rcx, rbx
call fcn.14000ceb0
jmp 0x14000ed57
call fcn.14000d100
jmp 0x14000ed7e
call fcn.14000cbb0
nop
nop dword [rax]
Function at 0x1400966b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov r10, qword [0x14041fc80]
mov rdx, qword [r10]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov rax, rcx
mov rcx, qword [rcx]
mov r9, qword [rax + 8]
mov eax, 1
cmp r9, rcx
je 0x140096752
nop dword [rax]
movzx r8d, byte [rcx]
mov edx, eax
shl eax, 5
and eax, 0x3fffffe0
shr edx, 0x19
xor eax, r8d
mov r8d, eax
xor r8d, 0x3b6a57b2
test dl, 1
cmovne eax, r8d
mov r8d, eax
xor r8d, 0x26508e6d
test dl, 2
cmovne eax, r8d
mov r8d, eax
xor r8d, 0x1ea119fa
test dl, 4
cmovne eax, r8d
mov r8d, eax
xor r8d, 0x3d4233dd
test dl, 8
cmovne eax, r8d
mov r8d, eax
xor r8d, 0x2a1462b3
and edx, 0x10
cmovne eax, r8d
add rcx, 1
cmp r9, rcx
jne 0x1400966e0
mov rdx, qword [rsp + 0x28]
sub rdx, qword [r10]
jne 0x140096761
add rsp, 0x38
ret
call fcn.14018c640
nop
nop
nop dword [rax + rax]

Function at 0x14009a8f0
Capabilities:
Get system information on windows

Disassembly:
endbr64
sub rsp, 0x38
pxor xmm0, xmm0
xor r9d, r9d
mov rax, rcx
mov rcx, qword [0x14041fc80]
movups xmmword [rax], xmm0
movq xmm0, qword [rdx + 0xc0]
mov r8, qword [rcx]
mov qword [rsp + 0x28], r8
xor r8d, r8d
mov r8, qword [rdx + 0xb8]
mov qword [rax + 0x10], 0
movhps xmm0, qword [rdx + 0x50]
movups xmmword [rax + 0x18], xmm0
test r8, r8
je 0x14009a8af
nop dword [rax + rax]
add r9, qword [r8 + 0x10]
mov r8, qword [r8]
test r8, r8
jne 0x14009a8a0
mov qword [rax], r9
mov rdx, qword [rdx + 0x48]
test rdx, rdx
je 0x14009a8d7
xor r8d, r8d
nop dword [rax + rax]
mov r10, qword [rdx + 0x10]
mov rdx, qword [rdx]
add r8, qword [r10 + 0x20]
test rdx, rdx
jne 0x14009a8c0
mov qword [rax + 8], r8
add r9, r8
mov qword [rax + 0x10], r9
mov rdx, qword [rsp + 0x28]
sub rdx, qword [rcx]
jne 0x14009a8ea
add rsp, 0x38
ret
call fcn.14018c640
nop
endbr64
push rsi
push rbx
sub rsp, 0x68
mov rsi, qword [0x14041fc80]
mov rax, qword [rsi]
mov qword [rsp + 0x58], rax
lea rax, [0x140426fa0]
mov rbx, rcx
mov qword [rcx], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x58]
sub rax, qword [rsi]
jne 0x14009a93a
add rsp, 0x68
pop rbx
pop rsi
ret
call fcn.14018c640
nop
endbr64
push rbx
sub rsp, 0x30
mov rbx, qword [0x14041fc80]
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx]
mov qword [rcx], rax
lea rax, [rcx + 8]
add rcx, 0x30
mov qword [rdx], 0
movq xmm0, rax
xor edx, edx
mov qword [rcx - 0x18], 0
punpcklqdq xmm0, xmm0
mov qword [rcx - 0x10], r8
mov qword [rcx - 8], 0
movups xmmword [rcx - 0x28], xmm0
call fcn.14000fba0
mov rax, qword [rsp + 0x28]
sub rax, qword [rbx]
jne 0x14009a9a5
add rsp, 0x30
pop rbx
ret
call fcn.14018c640
nop
nop
nop dword [rax]
Function at 0x1400ab540
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
endbr64
push rsi
push rbx
sub rsp, 0x48
mov rsi, qword [0x14041fc80]
xor r8d, r8d
xor edx, edx
mov r9d, 1
mov rax, qword [rsi]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400ab5b5
mov rcx, qword [rsp + 0x30]
mov r8, rbx
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1400ab5b5
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, qword [rsp + 0x38]
sub rax, qword [rsi]
jne 0x1400ab5ba
add rsp, 0x48
pop rbx
pop rsi
ret
call fcn.1400ab4a0
call fcn.14018c640
nop
Function at 0x1400ace40
Capabilities:
Query or enumerate registry value

Disassembly:
endbr64
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rsi, qword [0x14041fc80]
mov rax, qword [rsi]
mov qword [rsp + 0x88], rax
xor eax, eax
mov rbp, rcx
mov rbx, qword [0x140469190]
add rbx, 0x258
call fcn.1400baff0
mov rcx, rax
movabs rax, 0x112e0be826d694b3
imul rcx
sar rcx, 0x3f
sar rdx, 0x1a
sub rdx, rcx
cmp rdx, rbx
jge 0x1400acf90
lea rbx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rdx, rbx
mov rcx, rbp
lea rbx, [rsp + 0x60]
mov r8d, 8
call fcn.1400e3fd0
call fcn.1402646b0
lea rdx, [rsp + 0x48]
mov r8d, 8
mov rcx, rbp
mov qword [rsp + 0x48], rax
call fcn.1400e3fd0
call fcn.140264680
lea rdx, [rsp + 0x50]
mov r8d, 8
mov rcx, rbp
mov qword [rsp + 0x50], rax
call fcn.1400e3fd0
call fcn.1402646b0
lea rdx, [rsp + 0x58]
mov r8d, 8
mov rcx, rbp
mov qword [rsp + 0x58], rax
call fcn.1400e3fd0
mov ecx, 0x1001
call sub.msvcrt.dll_malloc
lea rdx, [rsp + 0x68]
mov r8d, 8
mov rcx, rbp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
call fcn.1400e3fd0
mov r8d, 8
mov rdx, rbx
mov rcx, rbp
call fcn.1400e3fd0
mov rcx, qword [rsp + 0x60]
call fcn.140197f58
mov rsi, qword [0x14041fc80]
mov rax, qword [rsp + 0x88]
sub rax, qword [rsi]
jne 0x1400ad0ce
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xchg qword [0x140469190], rdx
mov ecx, 0x3d090
lea r13, str.Global
lea r15, [rsp + 0x44]
call fcn.1402aa8b0
mov r8d, 0x3d090
xor edx, edx
lea r12, [rax + 0x3d090]
mov rcx, rax
mov qword [rsp + 0x70], rax
mov rdi, rax
mov qword [rsp + 0x80], r12
call fcn.140197fc0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x78], r12
mov r14, qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov qword [rsp + 0x38], rax
nop word [rax + rax]
mov rbx, r12
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
sub rbx, rdi
mov qword [rsp + 0x20], rdi
mov rdx, r13
mov rcx, 0xffffffff80000004
mov dword [rsp + 0x44], ebx
call r14
mov esi, eax
cmp eax, 0xea
jne 0x1400ad080
cmp rbx, 0x98967f
ja 0x1400ad080
lea rdx, [rbx + rbx*2]
cmp rdx, 0x1312d01
ja 0x1400ad058
shr rdx, 1
cmp rbx, rdx
jb 0x1400ad05d
cmp rdx, rbx
jae 0x1400acff0
add rdx, rdi
cmp rdx, r12
je 0x1400acff0
mov qword [rsp + 0x78], rdx
mov r12, rdx
jmp 0x1400acff0
mov edx, 0x989680
mov rcx, qword [rsp + 0x38]
sub rdx, rbx
call fcn.1402700e0
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
jmp 0x1400acff0
mov rcx, 0xffffffff80000004
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1400ad0ad
mov r8d, dword [rsp + 0x44]
mov rdx, rdi
mov rcx, rbp
call fcn.1400e3fd0
mov edx, dword [rsp + 0x44]
mov rcx, rdi
call fcn.1400ad100
test rdi, rdi
je 0x1400acea5
mov rdx, qword [rsp + 0x80]
mov rcx, rdi
sub rdx, rdi
call fcn.1402aa7f0
jmp 0x1400acea5
call fcn.14018c640
endbr64
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x80]
mov rbx, rax
sub rdx, rcx
test rcx, rcx
je 0x1400ad0f4
call fcn.1402aa7f0
mov rcx, rbx
call fcn.14018db80
nop
nop
nop
nop