joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c400
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c14f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000c41f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000c428
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000c440
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400c14f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000c460
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000c468
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c460
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x14000c460
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000c4b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000c4c0
add rdx, 0x28
cmp rdx, r9
jne 0x14000c4a0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x14000c4d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400c14f0]
xor r8d, r8d
cmp word [r11], 0x5a4d
mov r10d, ecx
jne 0x14000c4f4
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x14000c500
mov rax, r8
ret
cmp word [rcx + 0x18], 0x20b
jne 0x14000c4f4
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x14000c4f4
movzx edx, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r9w, r9w
je 0x14000c4f4
lea ecx, [r9 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rdx + 0xc]
mov rcx, r8
cmp rax, r8
jb 0x14000c54c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x14000c560
add rdx, 0x28
cmp r9, rdx
jne 0x14000c538
xor r8d, r8d
mov rax, r8
ret
add rax, r11
jmp 0x14000c570
sub r10d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14000c57e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000c555
test r10d, r10d
jg 0x14000c568
mov r8d, dword [rax + 0xc]
add r8, r11
mov rax, r8
ret

Function at 0x14000c840
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000c870
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp dbg.__mingwthr_key_dtor
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x14000c8b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14000c8e0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000c8f8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14000d060
Capabilities:
Allocate thread local storage
Create thread
Resume thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [str._p_v_]
mov rsi, r8
mov r8d, dword [rax]
mov rdi, rcx
mov rbp, rdx
test r8d, r8d
je 0x14000d090
mov ecx, dword [0x1400b7030]
test ecx, ecx
je 0x14000d110
mov ecx, 0x18
call sym.malloc
xor ecx, ecx
lea r8, [0x14000d020]
xor edx, edx
mov qword [rax], rbp
mov rbx, rax
mov r9, rax
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
mov rcx, rax
test rax, rax
je 0x14000d0f0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rbx + 0x10]
mov qword [rdi], rax
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rbx
call sym.free
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
lock add dword [0x1400b7034], 1
jne 0x14000d150
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000d180
mov rdx, qword [sym.free]
mov ecx, eax
mov dword [0x1400b7038], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x14000d188
mov dword [0x1400b7030], 1
jmp 0x14000d090
mov edx, dword [0x1400b7030]
mov r12, qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [0x1400b7030]
test edx, edx
jne 0x14000d090
nop dword [rax]
xor ecx, ecx
call r12
mov eax, dword [rbx]
test eax, eax
je 0x14000d170
jmp 0x14000d090
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000d139
call sym.abort
nop
nop
Function at 0x14000d220
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rax, qword [str._p_v_]
mov r8d, dword [rax]
test r8d, r8d
je 0x14000d244
mov ecx, dword [0x1400b7030]
test ecx, ecx
je 0x14000d300
mov ebx, dword [0x1400b7038]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
mov esi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x14000d280
mov rax, qword [rbx + 0x10]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 0x18
mov rsi, rax
call sym.malloc
mov rbx, rax
mov qword [rax], 0
mov qword [rax + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rbx + 0x10]
mov r8, rsi
mov rcx, rsi
mov dword [rsp + 0x30], 2
mov rdx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14000d378
mov ecx, dword [0x1400b7038]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000d26d
call rdi
jmp 0x14000d26d
lock add dword [0x1400b7034], 1
jne 0x14000d340
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000d370
mov rdx, qword [sym.free]
mov ecx, eax
mov dword [0x1400b7038], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x14000d378
mov dword [0x1400b7030], 1
jmp 0x14000d244
mov edx, dword [0x1400b7030]
mov rsi, qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [0x1400b7030]
test edx, edx
jne 0x14000d244
nop dword [rax]
xor ecx, ecx
call rsi
mov eax, dword [rbx]
test eax, eax
je 0x14000d360
jmp 0x14000d244
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000d329
call sym.abort
nop
nop
nop
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [rcx]
mov rsi, rcx
test rdi, rdi
je 0x14000d3b4
xor ebx, ebx
nop dword [rax]
mov rax, qword [rsi + rbx*8 + 8]
test rax, rax
je 0x14000d3ab
mov rcx, qword [rax - 8]
call sym.free
add rbx, 1
cmp rdi, rbx
jne 0x14000d398
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.free
Function at 0x14000d470
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [str._p_v_]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x14000d4a8
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14000d510
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14000d520
mov esi, dword [0x1400e8188]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000d578
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x14000d5c0
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x14000d497
mov rcx, rbx
call fcn.14000d3d0
mov qword [rsi + r12*8 + 8], rax
jmp 0x14000d497
call fcn.14000d3d0
mov qword [rbx + 0x10], rax
jmp 0x14000d497
mov r10d, dword [rsi]
test r10d, r10d
je 0x14000d651
mov r9d, dword [0x1400b7040]
test r9d, r9d
je 0x14000d679
lea rcx, [0x1400e81a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14000d65e
mov eax, dword [rsi]
test eax, eax
je 0x14000d4b1
lea rcx, [0x1400e81a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000d4b1
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sym.calloc
mov rsi, rax
test rax, rax
je 0x14000d6b4
mov qword [rax], rdi
mov ecx, dword [0x1400e8188]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000d4eb
call r13
jmp 0x14000d4eb
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sym.realloc
mov rsi, rax
test rax, rax
je 0x14000d6b4
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sym.memset
jmp 0x14000d59b
lea rcx, [0x1400e81a0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000d6ac
lea rdx, [0x14000d380]
mov ecx, eax
mov dword [0x1400e8188], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x14000d6b4
mov dword [0x1400b7040], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000d53c
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x14000d4b1
mov rax, qword [0x1400e8180]
lea r12, [rax + 1]
mov qword [0x1400e8180], r12
mov qword [rbx + 0x10], r12
jmp 0x14000d556
lock add dword [0x1400b7044], 1
je 0x14000d609
mov r8d, dword [0x1400b7040]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x1400b7040]
test r8d, r8d
jne 0x14000d647
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x14000d6a0
jmp 0x14000d647
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000d639
call sym.abort
nop
nop word [rax + rax]
Function at 0x140015d20
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x140015d70
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x20
pop rbx
pop rsi
pop rbp
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x1400e8ce0], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x140015d54

Function at 0x1400183c0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x1400183ec
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140019060
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400ba020], 0
jne 0x140019166
mov byte [0x1400ba020], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x14001913c
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [dbg.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14001912d
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400bb291]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140019128
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x1400190f7
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x1400191fb
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x140019161
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x140019161
Function at 0x140079690
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x1400796d8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x1400796aa
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008d3e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008d408
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008d450
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008d420
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008d45c
call rbp
cmp dword [rax], 4
je 0x14008d420
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14009db70
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor edx, edx
test eax, eax
cmovs eax, edx
add rsp, 0x58
ret

Function at 0x1400b51b0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400ba040]
jmp sym.__emutls_get_address

Function at 0x1400b51c0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400ba040]
jmp sym.__emutls_get_address
Function at 0x14000179d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0
mov dword [rbp - 0xc], 0
jmp 0x140001896
mov eax, dword [rbp - 4]
lea edx, [rax + 1]
mov eax, edx
sar eax, 0x1f
shr eax, 0x18
add edx, eax
movzx edx, dl
sub edx, eax
mov dword [rbp - 4], edx
mov eax, dword [rbp - 4]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx edx, al
mov eax, dword [rbp - 8]
add edx, eax
mov eax, edx
sar eax, 0x1f
shr eax, 0x18
add edx, eax
movzx edx, dl
sub edx, eax
mov dword [rbp - 8], edx
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rdx, rax
mov eax, dword [rbp - 4]
movsxd rcx, eax
mov rax, qword [rbp + 0x10]
add rax, rcx
mov rcx, rax
call fcn.14000169c
mov eax, dword [rbp - 4]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx ecx, byte [rax]
mov eax, dword [rbp - 8]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
add eax, ecx
movzx edx, al
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, qword [rbp + 0x18]
add rax, rdx
movzx eax, byte [rax]
mov edx, eax
mov eax, dword [rbp - 0x10]
mov ecx, edx
xor ecx, eax
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, qword [rbp + 0x28]
add rax, rdx
mov edx, ecx
mov byte [rax], dl
add dword [rbp - 0xc], 1
mov eax, dword [rbp - 0xc]
cmp eax, dword [rbp + 0x20]
jl 0x1400017cf
nop
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14000d2d0
Capabilities:
Hash data with crc32

Disassembly:
endbr64
vmovdqa xmm1, xmmword [0x14001a1c0]
vmovdqa xmm2, xmmword [rcx]
vmovdqa xmm0, xmmword [rcx + 0x10]
vpclmulqdq xmm3, xmm2, xmm1, 0x10
vpclmulqdq xmm2, xmm2, xmm1, 1
vpternlogq xmm0, xmm2, xmm3, 0x96
vpclmulqdq xmm3, xmm0, xmm1, 0x10
vpclmulqdq xmm2, xmm0, xmm1, 1
vmovdqa xmm0, xmmword [rcx + 0x20]
vpternlogq xmm0, xmm2, xmm3, 0x96
vmovdqa xmm3, xmmword [0x14001a1d0]
vpclmulqdq xmm2, xmm0, xmm1, 0x10
vpclmulqdq xmm1, xmm0, xmm1, 1
vmovdqa xmm0, xmmword [rcx + 0x30]
vpternlogq xmm0, xmm2, xmm1, 0x96
vpclmulqdq xmm1, xmm0, xmm3, 0
vpsrldq xmm0, xmm0, 8
vpxor xmm0, xmm1, xmm0
vmovdqa xmm1, xmmword [0x14001a1e0]
vpslldq xmm2, xmm0, 4
vpclmulqdq xmm2, xmm2, xmm3, 0x10
vpternlogq xmm1, xmm0, xmm2, 0x60
vmovdqa xmm2, xmmword [0x14001a1f0]
vmovdqa xmm0, xmmword [0x14001a200]
vpclmulqdq xmm3, xmm1, xmm2, 0
vpternlogq xmm0, xmm1, xmm3, 0x60
vpclmulqdq xmm2, xmm0, xmm2, 0x10
vpternlogq xmm0, xmm1, xmm2, 0x96
vpextrd eax, xmm0, 2
not eax
mov dword [rcx + 0x40], eax
ret

Function at 0x14000dcb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14000ee00
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14000ee00
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000dd20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14001f104]
mov rbx, rcx
test esi, esi
jle 0x14000de50
mov rax, qword [0x14001f108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000dd6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000ddf5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000dd50
mov rcx, rbx
call fcn.14000e770
mov rdi, rax
test rax, rax
je 0x14000de72
mov rax, qword [0x14001f108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000e8b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14001f108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000de57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000ddee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000de00
add dword [0x14001f104], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14001f108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000ddee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000dcb0
nop dword [rax]
xor esi, esi
jmp 0x14000dd78
mov rax, qword [0x14001f108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000dcb0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000dcb0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000e3e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14001f160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001f140]
test rbx, rbx
je 0x14000e43c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000e433
test rsi, rsi
je 0x14000e433
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000e418
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000e770
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14001a7f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000e790
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000e798
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000e790
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000e7ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000e7e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000e790
add rax, 0x28
cmp rax, r9
jne 0x14000e7d0
xor eax, eax
ret

Function at 0x14000e7f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001a7f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000e80f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000e818
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000e80f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000e8b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001a7f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000e8cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000e8d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000ed70
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp r9, r8
jb 0x14000ed62
add rsp, 0x28
jmp sub.msvcrt.dll_memcpy
call 0x14000ed70
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, str._buffer_overflow_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000eda0
mov ecx, 8
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14000f910
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x7b], 0
mov qword [rsp + 0x83], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x14000fa12
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14000f9ea
add rax, 1
cmp rax, 0x6b
je 0x14000fa07
cmp byte [rcx + rax], 0
jne 0x14000f9e0
movsxd rdx, eax
cmp eax, 0x6a
je 0x14000fa07
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14000f9fb