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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x140001eac
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 0x140001ea3
test rsi, rsi
je 0x140001ea3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001e88
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 0x1400020c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400020e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

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

Disassembly:
mov rdx, qword [0x140005ec0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002220
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002228
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002220
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000227d
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]
cmp rcx, r8
mov rdx, r8
jb 0x140002274
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002220
add rax, 0x28
cmp rax, r9
jne 0x140002260
xor eax, eax
ret

Function at 0x140002280
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005ec0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000229f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000229f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002340
Capabilities:
Parse pe header

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

Function at 0x140002520
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8d, 0x2c
mov ecx, 2
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x140002550
mov ecx, 2
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 0x140002980
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
lea rcx, str.KERNEL32.DLL
call sub.KERNEL32.dll_GetModuleHandleW
lea rdx, str.VirtualAlloc
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov rdx, rbx
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call rax
mov rcx, rbx
xor r8d, r8d
xor edx, edx
mov rdi, rax
mov r9, rax
rep movsb byte [rdi], byte [rsi]
mov ecx, 0x10000
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.CRYPT32.dll_CertEnumSystemStore]

Function at 0x140002a50
Capabilities:
Get local ipv4 addresses

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, qword [0x140005f90]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
xor eax, eax
lea rsi, [rsp + 0x3c]
xor eax, eax
mov rdi, rcx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
mov dword [rsp + 0x3c], eax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
je 0x140002a9a
xor eax, eax
jmp 0x140002b1c
mov edx, dword [rsp + 0x3c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x140002a93
mov qword [rsp + 0x20], rsi
mov r9, rax
xor r8d, r8d
xor edx, edx
lea r12, [rsp + 0x42]
xor ecx, ecx
mov rsi, rbx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp dword [rsi + 0x58], 6
jne 0x140002b05
mov eax, dword [rsi + 0x50]
mov r8d, 3
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x42], eax
mov ax, word [rsi + 0x54]
mov word [rsp + 0x46], ax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140002b05
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x140002b1c
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140002acd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140002a93
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rbp]
je 0x140002b2c
call fcn.140002520
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140002bd0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [0x140005f90]
mov rsi, qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call rsi
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call rsi
mov edx, dword [rsp + 0x30]
xor eax, eax
cmp dword [rsp + 0x28], edx
jne 0x140002c1e
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x2c], eax
sete al
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbx]
je 0x140002c2d
call fcn.140002520
add rsp, 0x48
pop rbx
pop rsi
ret

Function at 0x140002c40
Capabilities:
Enumerate processes

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x160
mov rdi, qword [0x140005f90]
xor edx, edx
mov rax, qword [rdi]
mov qword [rsp + 0x158], rax
xor eax, eax
mov rsi, rcx
mov ecx, 2
mov dword [rsp + 0x28], 0x238
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rbp, [rsp + 0x28]
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32First
lea r12, [rsp + 0x54]
test eax, eax
jne 0x140002c98
xor eax, eax
jmp 0x140002cba
mov rdx, rbp
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140002c94
mov rdx, rsi
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
jne 0x140002c98
mov eax, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x158]
sub rdx, qword [rdi]
je 0x140002ccc
call fcn.140002520
add rsp, 0x160
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140002ce0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x140005f90]
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
xor eax, eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x48], 1
setbe al
mov rdx, qword [rsp + 0x58]
sub rdx, qword [rbx]
je 0x140002d18
call fcn.140002520
add rsp, 0x60
pop rbx
ret

Function at 0x140002d20
Capabilities:
Get local ipv4 addresses

Disassembly:
sub rsp, 0x28
lea rcx, [0x140005050]
call fcn.140002a50
test al, al
jne 0x140002d94
lea rcx, [0x140005054]
call fcn.140002a50
test al, al
jne 0x140002d94
lea rcx, [0x140005058]
call fcn.140002a50
test al, al
jne 0x140002d94
lea rcx, [0x14000505c]
call fcn.140002a50
test al, al
jne 0x140002d94
lea rcx, [0x140005060]
call fcn.140002a50
test al, al
jne 0x140002d94
lea rcx, [0x140005064]
call fcn.140002a50
test al, al
jne 0x140002d94
lea rcx, [0x140005068]
add rsp, 0x28
jmp fcn.140002a50
mov al, 1
add rsp, 0x28
ret

Function at 0x140002da0
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, qword [0x140005f90]
mov rax, qword [rbx]
mov qword [rsp + 0x68], rax
xor eax, eax
mov dword [rsp + 0x28], 0x40
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x30], 0x7fffffff
setbe al
mov rdx, qword [rsp + 0x68]
sub rdx, qword [rbx]
je 0x140002de4
call fcn.140002520
add rsp, 0x70
pop rbx
ret
Function at 0x2ba323300
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r13, qword [fcn.2ba3b78d0]
mov rdi, qword [0x2ba3e1ef0]
xor r12d, r12d
mov rsi, rcx
mov rbx, rdx
lea rbp, [rsp + 0x20]
jmp 0x2ba32333a
add r12, 1
jo 0x2ba3233f8
cmp r12, rbx
jge 0x2ba323390
test r12, r12
js 0x2ba3233d8
mov r14, r12
mov ecx, 1
call r13
shl r14, 4
xor r8d, r8d
mov rdx, rbp
add r14, rsi
mov rcx, rax
movdqu xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
call fcn.2ba3231b0
cmp byte [rdi], 0
je 0x2ba323330
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rbx, qword [fcn.2ba3b78d0]
mov ecx, 1
call rbx
mov r8d, 1
mov edx, 1
lea rcx, [0x2ba3b917c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbx
mov rcx, rax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp fcn.2ba3b7188
lea rdx, [rbx - 1]
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp fcn.2ba32b450
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp fcn.2ba326290
Function at 0x2ba323910
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, [0x2ba3b91a0]
movabs r15, 0x7fffffffffffffff
movabs rbp, 0x8000000000000000
mov r14, rcx
mov r13, rdx
lea rcx, [rsp + 0x20]
mov edx, 0xfa0
mov qword [rsp + 0x38], rax
lea rdi, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
call fcn.2ba32c260
mov rax, qword [rsp + 0x20]
mov rsi, qword [0x2ba3e1ef0]
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
test rbx, rbx
jle 0x2ba323a78
nop dword [rax]
mov rax, qword [rsp + 0x48]
mov r9, r13
mov r8d, 0xfa0
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov r12, rax
cmp rax, 0xfa0
je 0x2ba323a10
mov rcx, r13
call sub.msvcrt.dll_ferror
test eax, eax
je 0x2ba3239db
mov rcx, r13
call fcn.2ba322f10
cmp byte [rsi], 0
lea r13, [rsp + 0x40]
je 0x2ba323ab0
mov rcx, r13
call fcn.2ba3260e0
movdqu xmm0, xmmword [rsp + 0x30]
mov rax, r14
movups xmmword [r14], xmm0
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi], 0
jne 0x2ba323b63
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.2ba326f70
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x2ba323a78
mov r8, rbx
add r8, 1
jo 0x2ba323a8d
test r8, r8
js 0x2ba323a98
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rdx + rax + 8]
mov rax, qword [rsp + 0x48]
lea rdx, [rax + 8]
call fcn.2ba3b7138
add rbx, qword [rsp + 0x30]
jo 0x2ba323a8d
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x2ba3239a0
nop dword [rax]
lea rdx, [rbx - 1]
xor ecx, ecx
lea r13, [rsp + 0x40]
call fcn.2ba32b450
jmp 0x2ba3239e9
call fcn.2ba326290
jmp 0x2ba323a67
mov r8, r15
xor edx, edx
mov rcx, rbp
call fcn.2ba326850
jmp 0x2ba323a67
test r12, r12
js 0x2ba323b20
mov rdx, r12
mov rcx, r13
call fcn.2ba3271c0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.2ba326f70
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x2ba3239e9
mov r8, rbx
add r8, 1
jo 0x2ba323b39
test r8, r8
js 0x2ba323b43
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rdx + rax + 8]
mov rax, qword [rsp + 0x48]
lea rdx, [rax + 8]
call fcn.2ba3b7138
add rbx, qword [rsp + 0x30]
jo 0x2ba323b39
mov qword [rsp + 0x30], rbx
jmp 0x2ba3239e9
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r12
call fcn.2ba326850
jmp 0x2ba3239e9
call fcn.2ba326290
jmp 0x2ba3239e9
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.2ba326850
jmp 0x2ba3239e9
lea r13, [rsp + 0x40]
jmp 0x2ba3239e9
Function at 0x2ba323b70
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], 0
mov r14, rcx
mov r13, rdx
mov r12, r8
mov qword [rsp + 0x38], 0
test r8, r8
js 0x2ba323c68
lea rsi, [rsp + 0x20]
mov rdx, r8
mov rcx, rsi
call fcn.2ba32c260
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rdx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
test rdx, rdx
jle 0x2ba323cc0
mov rax, qword [rsp + 0x38]
mov r9, r13
mov r8, r12
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov r15, rax
cmp r12, rax
je 0x2ba323c04
mov rcx, r13
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x2ba323c80
mov rdi, qword [0x2ba3e1ef0]
cmp byte [rdi], 0
jne 0x2ba323c48
mov rcx, r13
call sub.msvcrt.dll_fgetc
mov rdx, r13
mov ecx, eax
mov ebx, eax
call sub.msvcrt.dll_ungetc
cmp byte [rdi], 0
jne 0x2ba323c48
test ebx, ebx
jns 0x2ba323cd0
cmp r12, r15
jle 0x2ba323c48
test r15, r15
js 0x2ba323ca0
lea rcx, [rsp + 0x30]
mov rdx, r15
call fcn.2ba3271c0
movdqu xmm0, xmmword [rsp + 0x30]
mov rax, r14
movups xmmword [r14], xmm0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r12
call fcn.2ba326850
jmp 0x2ba323c48
mov rcx, r13
call fcn.2ba322f10
mov rdi, qword [0x2ba3e1ef0]
cmp byte [rdi], 0
je 0x2ba323c10
jmp 0x2ba323c48
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r15
call fcn.2ba326850
jmp 0x2ba323c48
sub rdx, 1
xor ecx, ecx
call fcn.2ba32b450
jmp 0x2ba323c48
mov qword [rsp + 0x40], 0
mov rdx, r13
mov rcx, rsi
mov qword [rsp + 0x48], 0
call fcn.2ba323910
movdqu xmm1, xmmword [rsp + 0x20]
cmp byte [rdi], 0
movups xmmword [rsp + 0x40], xmm1
jne 0x2ba323d4d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.2ba326f70
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x2ba323d4d
mov r8, rbx
add r8, 1
jo 0x2ba323d5c
test r8, r8
js 0x2ba323d68
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rdx + rax + 8]
mov rax, qword [rsp + 0x48]
lea rdx, [rax + 8]
call fcn.2ba3b7138
add rbx, qword [rsp + 0x30]
jo 0x2ba323d5c
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
call fcn.2ba3260e0
jmp 0x2ba323c48
call fcn.2ba326290
jmp 0x2ba323d4d
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.2ba326850
jmp 0x2ba323d4d
Function at 0x2ba324070
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rax, [0x2ba3b917b]
mov rdi, qword [rcx]
mov rbp, qword [rcx + 8]
test rdi, rdi
lea rcx, [rbp + 8]
cmove rcx, rax
mov r13, rdx
lea rdx, [0x2ba3b9190]
mov rbx, r8
call fcn.2ba323410
mov rsi, qword [0x2ba3e1ef0]
mov r12, rax
cmp byte [rsi], 0
jne 0x2ba3240f8
test rax, rax
je 0x2ba324118
test rbx, rbx
jle 0x2ba324200
mov rcx, r13
mov r9, rax
mov r8, rbx
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x2ba324108
mov rcx, r12
movzx ebx, byte [rsi]
mov byte [rsi], 0
call sub.msvcrt.dll_fclose
cmp byte [rsi], 0
jne 0x2ba3240f8
mov byte [rsi], bl
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, r12
call fcn.2ba322f10
jmp 0x2ba3240e3
mov edx, 8
mov ecx, 0x40
movabs rbx, 0x6f20746f6e6e6163
call fcn.2ba327470
lea rdx, [rdi + 0xd]
lea rcx, [rsp + 0x30]
mov r12, rax
mov rax, qword [0x2ba3e1c90]
mov qword [r12], rax
lea rax, [0x2ba3b9163]
mov qword [r12 + 0x10], rax
call fcn.2ba327220
mov rsi, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov edx, 0x20
lea rax, [rsi + r13 + 8]
mov qword [rax], rbx
mov rbx, rsi
add rbx, 0xd
mov dword [rax + 8], 0x3a6e6570
mov word [rax + 0xc], dx
jo 0x2ba324230
test rdi, rdi
jle 0x2ba3241b9
mov r8, rdi
add r8, 1
jo 0x2ba32423d
test r8, r8
js 0x2ba324210
lea rcx, [rbx + r13 + 8]
lea rdx, [rbp + 8]
call fcn.2ba3b7138
add rdi, rbx
jo 0x2ba32423d
mov rbx, rdi
mov qword [r12 + 0x18], rbx
lea r9, str.io.nim
mov rcx, r12
lea r8, str.writeFile
mov qword [r12 + 0x20], r13
lea rdx, [0x2ba3b9163]
mov qword [r12 + 8], 0
mov qword [rsp + 0x20], 0x381
call fcn.2ba32aff0
nop
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rdx, [rbx - 1]
xor ecx, ecx
call fcn.2ba32b450
jmp 0x2ba3240e3
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.2ba326850
jmp 0x2ba3241b9
call fcn.2ba326290
mov rbx, rsi
jmp 0x2ba324188
call fcn.2ba326290
jmp 0x2ba3241b9

Function at 0x2ba324470
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x2ba324491
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp fcn.2ba3b7188

Function at 0x2ba331370
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x2ba3313d0
lea r8, [rax + rdx + 8]
lea rcx, [rdx + 8]
xor eax, eax
nop word [rax + rax]
movzx edx, byte [rcx]
add rcx, 1
add rdx, rax
mov rax, rdx
shl rax, 0xa
add rax, rdx
mov rdx, rax
shr rdx, 6
xor rax, rdx
cmp r8, rcx
jne 0x2ba331390
lea rdx, [rax + rax*8]
mov rax, rdx
shr rax, 0xb
xor rax, rdx
mov rdx, rax
shl rdx, 0xf
add rax, rdx
ret
xor eax, eax
ret
Function at 0x2ba3339c0
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
sub rsp, 0x28
lea r9, [rdx + 3]
test rdx, rdx
mov r11, rcx
mov r8, rdx
cmovns r9, rdx
and r9, 0xfffffffffffffffc
jle 0x2ba333b69
test rdx, rdx
jle 0x2ba333a31
mov rax, qword [0x2ba3e1ef0]
mov edx, dword [rcx]
cmp byte [rax], 0
jne 0x2ba333b40
xor r10d, r10d
mov ecx, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul eax, edx, 0x1b873593
xor eax, r10d
rol eax, 0xd
lea r10d, [rax + rax*4 - 0x19ab949c]
cmp r9, rcx
jle 0x2ba333a48
cmp r8, rcx
jle 0x2ba333a33
mov edx, dword [r11 + rcx]
add rcx, 4
jmp 0x2ba333a00
xor ecx, ecx
lea rdx, [r8 - 1]
call fcn.2ba32b450
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rax, r8
and eax, 3
je 0x2ba333b91
sub rax, 1
mov r9, rcx
xor edx, edx
add r9, rax
js 0x2ba333ba2
cmp r9, rax
jb 0x2ba333ba2
test rdx, rdx
jne 0x2ba333b5d
cmp r9, r8
jge 0x2ba333b4a
test r9, r9
js 0x2ba333b4a
movzx edx, byte [r11 + r9]
test rax, rax
je 0x2ba333af1
sub rax, 1
mov rbx, rcx
xor esi, esi
add rbx, rax
js 0x2ba333bac
cmp rbx, rax
jb 0x2ba333bac
mov r9, rbx
test rsi, rsi
jne 0x2ba333b5d
cmp r8, rbx
jle 0x2ba333b4a
test rbx, rbx
js 0x2ba333b4a
movzx r9d, byte [r11 + rbx]
shl edx, 8
or edx, r9d
test rax, rax
je 0x2ba333af1
test rcx, rcx
js 0x2ba333b47
cmp r8, rcx
jle 0x2ba333b47
movzx eax, byte [r11 + rcx]
shl edx, 8
or edx, eax
imul eax, edx, 0xcc9e2d51
mov rdx, qword [0x2ba3e1ef0]
rol eax, 0xf
imul eax, eax, 0x1b873593
cmp byte [rdx], 0
jne 0x2ba333b40
xor eax, r10d
xor r8d, eax
mov edx, r8d
shr edx, 0x10
xor r8d, edx
imul edx, r8d, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul edx, eax, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
jmp 0x2ba333a3e
xor eax, eax
jmp 0x2ba333a3e
mov r9, rcx
lea rdx, [r8 - 1]
mov rcx, r9
call fcn.2ba32b450
xor eax, eax
jmp 0x2ba333a3e
call fcn.2ba326290
xor eax, eax
jmp 0x2ba333a3e
sar rdx, 0x3f
shr rdx, 0x3e
lea rax, [r8 + rdx]
and eax, 3
sub rax, rdx
test rax, rax
jle 0x2ba333b98
sub rax, 1
xor ecx, ecx
xor r10d, r10d
mov r9, rax
jmp 0x2ba333a78
xor eax, eax
jmp 0x2ba333b0c
xor r10d, r10d
xor edx, edx
jmp 0x2ba333af1
mov edx, 1
jmp 0x2ba333a6f
mov esi, 1
jmp 0x2ba333aaf

Function at 0x2ba333bc0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
test rdx, rdx
js 0x2ba333be8
lea rax, [rcx + 8]
test rcx, rcx
cmovne rcx, rax
add rsp, 0x28
jmp fcn.2ba3339c0
call fcn.2ba32dd90
xor eax, eax
add rsp, 0x28
ret
Function at 0x2ba349120
Capabilities:
Encode data using xor

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov rbx, qword [rcx]
mov rsi, qword [rcx + 8]
mov r12, rbx
cmp rsi, rbx
jl 0x2ba3491d8
mov rax, qword [0x2ba3e1ef0]
movzx eax, byte [rax]
sub rsi, rbx
jne 0x2ba349160
test al, al
jne 0x2ba349264
mov rax, r12
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov rcx, qword [0x2ba3ef130]
mov r8, qword [0x2ba3ef138]
cmp rsi, 0xffffffffffffffff
je 0x2ba349260
test al, al
jne 0x2ba349264
mov rax, 0xffffffffffffffff
xor edx, edx
div rsi
not rdx
nop
lea rax, [r8 + rcx]
xor r8, rcx
ror rcx, 9
mov r9, r8
xor rcx, r8
ror r8, 0x1c
shl r9, 0xe
xor rcx, r9
cmp rdx, rax
jb 0x2ba349190
movq xmm0, rcx
movq xmm2, r8
add rsi, 1
xor edx, edx
punpcklqdq xmm0, xmm2
div rsi
movups xmmword [0x2ba3ef130], xmm0
jmp 0x2ba349246
movdqu xmm1, xmmword [0x2ba3be400]
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm1
call fcn.2ba321f80
mov rax, qword [0x2ba3e1ef0]
cmp byte [rax], 0
jne 0x2ba349264
sub rsi, rbx
je 0x2ba349152
mov rcx, qword [0x2ba3ef130]
mov r8, qword [0x2ba3ef138]
cmp rsi, 0xffffffffffffffff
jne 0x2ba349180
lea rdx, [rcx + r8]
xor r8, rcx
ror rcx, 9
mov rax, r8
xor rcx, r8
ror r8, 0x1c
shl rax, 0xe
mov qword [0x2ba3ef138], r8
xor rcx, rax
mov qword [0x2ba3ef130], rcx
lea r12, [rbx + rdx]
mov rax, r12
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
test al, al
je 0x2ba34921c
xor r12d, r12d
mov rax, r12
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
Function at 0x2ba36cf00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rbx
test rdx, rdx
lea rbx, [rdx + 7]
mov r9, rdx
mov eax, r8d
cmovns rbx, rdx
sar rbx, 3
cmp rdx, 7
jle 0x2ba36cffe
mov rdx, qword [0x2ba3e1ef0]
cmp byte [rdx], 0
jne 0x2ba36cffb
xor r11d, r11d
lea r10, [0x2ba3c2560]
nop dword [rax + rax]
mov edx, dword [rcx + r11*8 + 4]
xor eax, dword [rcx + r11*8]
add r11, 1
mov r8d, edx
movzx esi, dl
shr r8d, 0x18
mov r8d, dword [r10 + r8*4]
xor r8d, dword [r10 + rsi*4 + 0xc00]
movzx esi, al
xor r8d, dword [r10 + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor r8d, dword [r10 + rsi*4 + 0x1000]
movzx esi, dh
shr edx, 0x10
movzx edx, dl
xor r8d, dword [r10 + rsi*4 + 0x800]
xor r8d, dword [r10 + rdx*4 + 0x400]
movzx edx, ah
shr eax, 0x10
xor r8d, dword [r10 + rdx*4 + 0x1800]
movzx edx, al
mov eax, dword [r10 + rdx*4 + 0x1400]
xor eax, r8d
cmp rbx, r11
jg 0x2ba36cf40
lea rdx, [rbx*8]
cmp r9, 7
mov ebx, 8
cmovle rdx, rbx
cmp r9, rdx
jle 0x2ba36cffb
add rdx, rcx
lea r10, [0x2ba3c2560]
add rcx, r9
nop dword [rax]
movzx r8d, byte [rdx]
add rdx, 1
xor r8d, eax
shr eax, 8
movzx r8d, r8b
xor eax, dword [r10 + r8*4]
cmp rcx, rdx
jne 0x2ba36cfe0
pop rbx
pop rsi
ret
xor edx, edx
jmp 0x2ba36cfca