joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003252c
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x90
mov rax, qword [0x14004ffa8]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rsi, qword [rbp + 0x77]
xor ebx, ebx
and qword [rsp + 0x30], rbx
mov rdi, r9
mov r14, qword [rbp + 0x7f]
mov r12, r8
mov r15, rdx
mov dword [rsp + 0x28], 0x2000
and dword [rsi], ebx
lea eax, [rbx + 1]
mov r8d, eax
mov dword [rsp + 0x20], 3
and qword [r14], rbx
mov edx, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [r15], rax
cmp rax, 0xffffffffffffffff
je 0x140032672
and qword [rsp + 0x28], rbx
lea r8d, [rbx + 2]
and dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [r12], rax
cmp rax, 0xffffffffffffffff
je 0x14003266b
and qword [rsp + 0x20], rbx
lea edx, [rbx + 4]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi], rax
test rax, rax
je 0x140032677
xor edx, edx
lea r8d, [rbx + 0x34]
lea rcx, [rbp - 0x29]
call sub.msvcrt.dll_memset
mov rcx, qword [r15]
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov eax, dword [rbp - 5]
mov dword [rsi], eax
mov rax, qword [rbp - 0x15]
test eax, eax
jne 0x14003261a
cmp dword [rbp - 0x11], ebx
jne 0x14003261a
mov rax, qword [rbp - 0x25]
mov qword [r14], rax
mov edx, dword [rsi]
cmp edx, 0x10
ja 0x14003262b
mov ebx, 0x80070018
jmp 0x140032677
mov rcx, qword [rdi]
lea r8, [rbp - 0x39]
xor eax, eax
add rcx, 0x10
add edx, 0xfffffff0
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
call fcn.140032454
mov ebx, eax
test eax, eax
js 0x140032677
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x39]
cmp rcx, qword [rdx]
jne 0x140032664
mov rcx, qword [rbp - 0x31]
cmp rcx, qword [rdx + 8]
je 0x140032677
mov ebx, 0x80070017
jmp 0x140032677
mov ebx, 0x80070002
jmp 0x140032677
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400363b0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400326a0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
and qword [rax - 0x28], 0
mov ebx, r9d
mov dword [rax - 0x30], 0x2000
mov rbp, r8
mov eax, 2
mov r9, rdx
mov edx, eax
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400326f3
mov ebx, 0x80004005
jmp 0x140032782
and dword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14003275d
cmp dword [rsp + 0x40], 0x10
jne 0x14003275d
mov rdx, qword [rsp + 0x80]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14003275d
cmp dword [rsp + 0x40], ebx
jne 0x14003275d
mov rdx, qword [rsp + 0x88]
mov rcx, rdi
call fcn.1400324a0
mov ebx, eax
jmp 0x140032762
mov ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x2000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14003524c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1400517a0]
test rcx, rcx
jne 0x140035272
call fcn.140035310
test eax, eax
je 0x1400352ab
mov rcx, qword [0x1400517a0]
call qword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
xor ecx, ecx
test rax, rax
je 0x14003528f
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rax + 0x10], ecx
mov word [rax + 0x14], cx
jmp 0x1400352ff
mov edx, 0x1000
mov r9d, 0x40
mov r8d, edx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400352af
xor eax, eax
jmp 0x1400352ff
mov eax, dword [rax]
mov rcx, qword [0x1400517a0]
call qword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x1400352dc
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualFree]
mov rax, rdi
jmp 0x1400352ff
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x1400517a0]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x1400352e3
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140036abc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140036b08
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140036b00
cmp dword [rcx + 0x3c], edx
jl 0x140036b00
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140036b00
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140036b08
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140036d48
Capabilities:
Print debug messages

Disassembly:
jmp 0x140036d54
push rbx
sub rsp, 0x540
mov rax, qword [0x14004ffa8]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140036dd1
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140036df1
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400363b0
add rsp, 0x540
pop rbx
ret
Function at 0x14000b9fc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b77c
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba52
mov ecx, 1
call fcn.14000b77c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
xor dword [rbx], esi
iretd
mov al, 0x34
cmp ch, byte [rdi + rdi*8]
xchg edi, eax
sub bh, byte [rsi]
or ebp, dword [rdx]
jnp 0x140023358
sahf
adc al, 0x4b
cmp ecx, dword [rsi + 0x7bad23c6]
sbb eax, 0x7e3fff66
stosb byte [rdi], al
stosb byte [rdi], al
cmp eax, 0x33dbffb2
loop 0x1400232ea
invalid
fnsave dword [rdx + rdi*4 - 0x15]
sub dword [rcx], ecx
jp 0x140023374
inc dword [rsi + 0x7aeda167]
mov ch, 0x8a
cdq
xor ebp, edi
retf
sub eax, dword [rbp + 0x6a]
add eax, 0xbbf6beab
pop rsp
out dx, al
and al, 0x3b
scasd eax, dword [rdi]
invalid
Function at 0x1400ae680
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rbx, rcx
mov byte [rcx], 0
mov ecx, 2
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
mov rax, rbx
jne 0x1400ae6bb
mov byte [rbx], 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140239380
add rsp, 0x1d0
pop rbx
ret

Function at 0x1400af090
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, dl
xor eax, ecx
imul eax, eax, 0x1000193
ret

Function at 0x1400af230
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10d, eax
test rdx, rdx
je 0x1400af25d
lea r11, [0x140300d60]
movzx r9d, byte [r10 + rcx]
inc r10
movzx r8d, al
xor r9, r8
shr rax, 8
xor rax, qword [r11 + r9*8]
cmp r10, rdx
jb 0x1400af241
ret

Function at 0x1400af6a0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400af705
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400ae440
call fcn.1400af580
mov r8, rax
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1400ad280
lea rdx, [0x1402ffee8]
lea rcx, [rsp + 0x20]
call fcn.1400af4e0
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140239380
add rsp, 0x40
pop rdi
ret

Function at 0x1400af740
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov eax, 1
lock xadd dword [0x140338600], eax
inc eax
cmp eax, 1
jne 0x1400af781
lea ecx, [rax + 1]
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x140338604], eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140239380
add rsp, 0x1d8
ret
Function at 0x1400c6dc0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
test r8, r8
jg 0x1400c6dec
xor eax, eax
jmp 0x1400c6ee6
cmp qword [rcx + 0x68], 0
je 0x1400c6dfd
call fcn.1400c7f60
jmp 0x1400c6ee6
mov qword [rsp + 0x78], rbx
mov rbx, rdi
mov qword [rsp + 0x20], rbx
call fcn.1400ced80
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400c6e58
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.1400c6f00
mov rcx, rsi
mov rbx, qword [rax]
call fcn.1400cee50
mov rdx, rax
mov r8, rbx
mov rcx, rbp
call fcn.1400cf5c0
sub qword [rsp + 0x20], rbx
mov edx, ebx
mov rcx, rsi
add rbp, rbx
call fcn.1400cee10
mov rbx, qword [rsp + 0x20]
cmp qword [rsi + 0x80], 0
je 0x1400c6edb
mov rcx, rsi
call fcn.1400ce630
mov rbx, qword [rsp + 0x20]
cmp rbx, 0xfff
jbe 0x1400c6eb7
nop dword [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rbp
call fcn.140248140
mov rbx, qword [rsp + 0x20]
add rbp, rax
sub rbx, rax
mov qword [rsp + 0x20], rbx
cmp rax, 0xfff
jne 0x1400c6edb
cmp rbx, rax
ja 0x1400c6e80
test rbx, rbx
je 0x1400c6edb
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.140248140
mov rbx, qword [rsp + 0x20]
sub rbx, rax
sub rdi, rbx
mov rbx, qword [rsp + 0x78]
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140239380
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d3140
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movzx edx, word [rcx]
movabs rax, 0xcbf29ce484222325
test dx, dx
je 0x1400d3176
movabs r8, 0x100000001b3
nop dword [rax]
movzx edx, dx
lea rcx, [rcx + 2]
xor rax, rdx
movzx edx, word [rcx]
imul rax, r8
test dx, dx
jne 0x1400d3160
ret

Function at 0x1400d3b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movzx edx, byte [rcx]
movabs rax, 0xcbf29ce484222325
test dl, dl
je 0x1400d3b96
movabs r8, 0x100000001b3
nop dword [rax + rax]
movsx rdx, dl
lea rcx, [rcx + 1]
xor rax, rdx
movzx edx, byte [rcx]
imul rax, r8
test dl, dl
jne 0x1400d3b80
ret

Function at 0x1400d9d30
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400daf00
mov rcx, rdx
jmp 0x1400db1f0
jmp 0x1400dd190
mov rdx, rcx
jmp 0x1400ddbc0
movabs rcx, 0xcbf29ce484222325
mov r8d, 8
jmp 0x1400acd00

Function at 0x1400dbbd0
Capabilities:
Hash data using fnv

Disassembly:
xor r9d, r9d
test r8, r8
je 0x1400acd34
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc r9
xor rcx, rax
imul rcx, r10
cmp r9, r8
jb 0x1400acd20
mov rax, rcx
ret
mov r8, rdx
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x1400acd00
jmp 0x1400dd3d0
mov rcx, rdx
jmp 0x1400dd4b0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1400c8810
mov rcx, rdi
mov rbx, rax
call fcn.1400c8820
mov rdx, rbx
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400da700
Function at 0x1400dbc10
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call fcn.1400af1b0
nop
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov rdx, qword [rdx + 0x30]
call fcn.1400af100
lea rcx, [rsp + 0x30]
call fcn.1400af140
test al, al
je 0x1400dbc84
lea rcx, [rsp + 0x30]
call fcn.1400af150
mov r9d, eax
test eax, eax
je 0x1400dbc84
nop dword [rax]
nop word [rax + rax]
dec r9d
lea rcx, [rsp + 0x30]
mov edx, r9d
call fcn.1400af160
mov rcx, rax
call fcn.1400dbb90
cmp eax, 0xfaba0065
je 0x1400dbc99
test r9d, r9d
jne 0x1400dbc60
lea rcx, [rsp + 0x20]
call fcn.1400af1d0
test al, al
jne 0x1400dbc20
xor eax, eax
add rsp, 0x58
ret
mov edx, r9d
lea rcx, [rsp + 0x30]
call fcn.1400af180
add rsp, 0x58
ret

Function at 0x1400dbd50
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call fcn.1400af1b0
nop
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov rdx, qword [rdx + 0x30]
call fcn.1400af100
lea rcx, [rsp + 0x30]
call fcn.1400af140
test al, al
je 0x1400dbdc4
lea rcx, [rsp + 0x30]
call fcn.1400af150
mov r9d, eax
test eax, eax
je 0x1400dbdc4
nop dword [rax]
nop word [rax + rax]
dec r9d
lea rcx, [rsp + 0x30]
mov edx, r9d
call fcn.1400af160
mov rcx, rax
call fcn.1400dbb90
cmp eax, 0x820621f3
je 0x1400dbdd9
test r9d, r9d
jne 0x1400dbda0
lea rcx, [rsp + 0x20]
call fcn.1400af1d0
test al, al
jne 0x1400dbd60
xor eax, eax
add rsp, 0x58
ret
mov edx, r9d
lea rcx, [rsp + 0x30]
call fcn.1400af180
add rsp, 0x58
ret

Function at 0x1400dd4b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
test r8, r8
je 0x1400acd34
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc r9
xor rcx, rax
imul rcx, r10
cmp r9, r8
jb 0x1400acd20
mov rax, rcx
ret
mov r8, rdx
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x1400acd00
jmp 0x1400dd3d0
mov rcx, rdx
jmp 0x1400dd4b0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1400c8810
mov rcx, rdi
mov rbx, rax
call fcn.1400c8820
mov rdx, rbx
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400da700

Function at 0x1400ded40
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
xor r11b, r11b
movzx ebx, cl
shl ebx, 2
nop
movzx r10d, r11b
xor r9b, r9b
add r10d, ebx
shl r10d, 2
nop
movzx eax, r9b
inc r9b
add eax, r10d
movzx ecx, byte [rax + r8]
xor byte [rdx], cl
inc rdx
cmp r9b, 4
jb 0x1400ded60
inc r11b
cmp r11b, 4
jb 0x1400ded50
mov rbx, qword [rsp + 8]
ret

Function at 0x1400ded90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov r9, rcx
lea r11, str.cw
mov r10d, 4
mov rax, r9
mov r8d, 4
nop dword [rax]
movzx edx, byte [rax]
lea rax, [rax + 4]
movzx ecx, byte [rdx + r11]
mov byte [rax - 4], cl
sub r8, 1
jne 0x1400dedb0
inc r9
sub r10, 1
jne 0x1400deda0
ret
Function at 0x1400dee60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea r8, [rcx + 2]
mov ebp, 4
nop dword [rax]
movzx edi, byte [r8 - 2]
movzx r9d, byte [r8 - 1]
movzx ecx, dil
movzx esi, byte [r8 + 1]
xor cl, r9b
movzx r11d, byte [r8]
movzx r10d, sil
xor r10b, r11b
movzx ebx, r10b
xor bl, dil
xor bl, r9b
call fcn.1400dee40
xor al, dil
movzx ecx, r9b
xor al, bl
xor cl, r11b
mov byte [r8 - 2], al
call fcn.1400dee40
xor al, r9b
movzx ecx, r10b
xor al, bl
mov byte [r8 - 1], al
call fcn.1400dee40
xor al, r11b
xor dil, sil
xor al, bl
movzx ecx, dil
mov byte [r8], al
call fcn.1400dee40
xor al, sil
lea r8, [r8 + 4]
xor al, bl
mov byte [r8 - 3], al
sub rbp, 1
jne 0x1400dee80
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400df4f0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp rdi, 0x40000000
jbe 0x1400df53a
lea rax, [rdi - 0x40000000]
cmp rsi, rax
cmovb rsi, rax
mov rbx, qword [0x140338880]
lea rbp, [rdi + 0x40000000]
cmp rcx, rbp
cmovbe rbp, rcx
sub rbp, 0xfff
test rbx, rbx
je 0x1400df57d
nop dword [rax + rax]
cmp rbx, rsi
jb 0x1400df575
cmp rbx, rbp
jae 0x1400df575
cmp qword [rbx + 8], 0
jne 0x1400df67f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400df560
mov qword [rsp + 0x88], r14
mov r14d, 0x40
mov qword [rsp + 0x90], r15
mov r15, rdi
cmp rdi, rsi
jb 0x1400df5e3
nop dword [rax + rax]
mov r8d, dword [rsp + 0x50]
mov rdx, rsi
mov rcx, r15
call fcn.1400df3a0
mov r15, rax
test rax, rax
je 0x1400df5de
mov r9d, r14d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400df62e
cmp r15, rsi
jae 0x1400df5a0
jmp 0x1400df5e3
test rbx, rbx
jne 0x1400df62e
cmp rdi, rbp
ja 0x1400df66f
nop dword [rax]
mov r8d, dword [rsp + 0x50]
mov rdx, rbp
mov rcx, rdi
call fcn.1400df440
mov rdi, rax
test rax, rax
je 0x1400df66f
mov r9d, r14d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400df62e
cmp rdi, rbp
jbe 0x1400df5f0
jmp 0x1400df66f
xor edx, edx
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], edx
nop word [rax + rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rbx + 8], rcx
add r14, 0x40
add rcx, 0x40
mov rdx, rax
cmp r14, 0xfc0
jbe 0x1400df640
mov rax, qword [0x140338880]
mov qword [rbx], rax
mov qword [0x140338880], rbx
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x88]
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140239380
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400df750
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp dword [0x14032fd8c], 0
mov rbx, rcx
jne 0x1400df817
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x60], ymm0
vmovups xmmword [rsp + 0x80], xmm0
mov dword [0x14032fd8c], 1
lea rcx, [rsp + 0x60]
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp word [rsp + 0x60], 0
je 0x1400df7dd
cmp dword [rsp + 0x20], 0
jne 0x1400df7dd
mov dword [0x14032fd88], 1
jmp 0x1400df817
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetProcessDEPPolicy]
test eax, eax
je 0x1400df817
mov eax, dword [rsp + 0x24]
and eax, 1
mov dword [0x14032fd88], eax
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x30], ymm0
vmovups xmmword [rsp + 0x50], xmm0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, rbx
vzeroupper
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [0x14032fd88], 0
je 0x1400df873
cmp dword [rsp + 0x50], 0x1000
jne 0x1400df858
test byte [rsp + 0x54], 0xf0
jne 0x1400df88c
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140239380
add rsp, 0xa0
pop rbx
ret
cmp dword [rsp + 0x50], 0x1000
jne 0x1400df858
mov ecx, dword [rsp + 0x54]
bt ecx, 8
jb 0x1400df858
test cl, 1
jne 0x1400df858
mov eax, 1
jmp 0x1400df85a
Function at 0x1400e0320
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1403285e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400e0449
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400e0440
mov qword [rsp + 0x68], rdi
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1400e041d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1400e041d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1400e041d
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1400e03da
mov rcx, qword [0x14032fd98]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1400e043b
lea rdi, [rbx + 0xc]
jmp 0x1400e0412
mov eax, dword [rbx + 8]
lea rdi, [rbx + 0xc]
cmp dword [rdi], eax
jb 0x1400e0412
mov rcx, qword [0x14032fd98]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1400e043b
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rdi]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400e0380
mov rdi, qword [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140239380
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret

Function at 0x1400e0470
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov ebp, r8d
mov qword [rcx], rbx
mov r14d, edx
mov qword [rcx + 8], rbx
mov rdi, rcx
call fcn.1400e0320
cmp qword [rdi], rbx
je 0x1400e04f8
cmp dword [rdi + 0xc], ebx
jbe 0x1400e04f8
mov qword [rsp + 0x30], rsi
nop dword [rax + rax]
mov rax, qword [rdi]
xor edx, edx
mov ecx, ebx
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1400e04ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1400e01e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1400e04b0
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret