joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140095109
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, r8d
mov rdi, rdx
mov rax, qword [rcx + 0xd8]
mov rdx, qword [rcx + 0xe0]
mov rcx, rax
call qword [rdx + 0xb8]
test rax, rax
je 0x140095145
mov rcx, rax
mov rdx, rdi
mov r8d, esi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14007a010
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400b3a90
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.1400b3a90
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret

Function at 0x1400b3b9a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400b3b70
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret
Function at 0x1400c1100
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400c1220
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400c1160
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400c1160
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400c1160
Function at 0x1400c5a80
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400c5b2f
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret
cmp r8, 0x10
jb 0x1400c5bda
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x1400c5b2f
cmp r8, 0
je 0x1400c5ca0
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1400c5bf0
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret
Function at 0x1400d3f60
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.1400d4d20
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.1400d4d20
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 0x1400d3fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14018e264]
mov rbx, rcx
test esi, esi
jle 0x1400d4100
mov rax, qword [0x14018e268]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400d401b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400d40a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400d4000
mov rcx, rbx
call fcn.1400d4a40
mov rdi, rax
test rax, rax
je 0x1400d4122
mov rax, qword [0x14018e268]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400d4b80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14018e268]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400d4107
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400d409e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400d40b0
add dword [0x14018e264], 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 [0x14018e268]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400d409e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400d3f60
nop dword [rax]
xor esi, esi
jmp 0x1400d4028
mov rax, qword [0x14018e268]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400d3f60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400d3f60
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400d46b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14018e2c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14018e2a0]
test rbx, rbx
je 0x1400d470c
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 rsi, rsi
je 0x1400d4703
test eax, eax
jne 0x1400d4703
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400d46e8
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 0x1400d4a40
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400d4ac0
Capabilities:
Parse pe header

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

Function at 0x1400d4b80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140147770]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400d4b9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400d4ba8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400d4fa0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r10, rcx
mov rbx, r8
cmp edx, 0x80
je 0x1400d5036
mov eax, 1
cmp edx, 0x100
jne 0x1400d5256
lea rdi, [rsp + 0x20]
mov rdx, rcx
lea rbp, [rsp + 0x30]
mov dword [r8 + 0xf0], 0xe
mov rcx, rdi
mov esi, 2
lea r12, [rsp + 0x40]
lea r13, [0x14016d160]
call fcn.1400da4b0
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.1400d5450
lea rdx, [r10 + 0x10]
mov rcx, rbp
call fcn.1400da4b0
lea rcx, [rbx + 0x10]
mov rdx, rbp
add rbx, 0x20
mov r8d, 0x10
call fcn.1400d5450
jmp 0x1400d512a
lea rdi, [rsp + 0x30]
mov rdx, rcx
lea rsi, [rbx + 0x10]
mov dword [r8 + 0xf0], 0xa
mov rcx, rdi
lea rbp, [0x14016d160]
lea r12, [rsp + 0x40]
call fcn.1400da4b0
mov rcx, rbx
mov r8d, 0x10
mov rdx, rdi
call fcn.1400d5450
add rbx, 0xb0
mov rdx, rdi
mov rcx, r12
inc rbp
call fcn.1400da980
mov r8b, byte [rbp - 1]
mov rcx, qword [rsp + 0x40]
call fcn.1400da8b0
mov rdx, r8
shr r8, 4
and edx, 0xf
shr rax, 0x30
xor rax, qword [rsp + 0x30]
and r8d, 0xf
xor rax, rdx
mov rdx, rax
mov rcx, rax
shl rcx, 0x10
shl rdx, 0x20
xor rdx, rcx
mov rcx, qword [rsp + 0x48]
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov qword [rsp + 0x30], rax
call fcn.1400da8b0
shr rax, 0x30
xor rax, qword [rsp + 0x38]
xor rax, r8
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
mov rcx, rsi
add rsi, 0x10
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rdi
mov qword [rsp + 0x38], rax
call fcn.1400d5450
cmp rbx, rsi
jne 0x1400d5079
xor eax, eax
jmp 0x1400d5256
mov rdx, rbp
mov rcx, r12
lea r14, [rbx + 0x20]
call fcn.1400da980
mov rax, rsi
mov rcx, qword [rsp + 0x40]
shr rax, 1
mov r8b, byte [r13 + rax - 1]
call fcn.1400da8b0
mov rdx, r8
shr rax, 0x30
xor rax, qword [rsp + 0x20]
and edx, 0xf
shr r8, 4
xor rax, rdx
and r8d, 0xf
mov rdx, rax
mov rcx, rax
shl rcx, 0x10
shl rdx, 0x20
xor rdx, rcx
mov rcx, qword [rsp + 0x48]
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov qword [rsp + 0x20], rax
call fcn.1400da8b0
shr rax, 0x30
xor rax, qword [rsp + 0x28]
xor rax, r8
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
mov rcx, rbx
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rdi
mov qword [rsp + 0x28], rax
call fcn.1400d5450
cmp rsi, 0xe
je 0x1400d5123
mov rdx, rdi
mov rcx, r12
add rsi, 2
call fcn.1400da980
movzx eax, word [rsp + 0x46]
xor rax, qword [rsp + 0x30]
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x4e]
xor rax, qword [rsp + 0x38]
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
lea rcx, [rbx + 0x10]
mov rbx, r14
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rbp
mov qword [rsp + 0x38], rax
call fcn.1400d5450
jmp 0x1400d512a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400d5270
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov ebx, 1
mov r9d, 0x40
xor eax, eax
mov r8d, 1
shl rbx, 0x3f
mov rdx, r8
mov r11, rcx
shr rax, 1
and edx, 1
neg rdx
and r11, rdx
and rdx, rbx
mov r10, r11
add rax, rdx
xor r10, r8
and r8, r11
shr r10, 1
add r8, r10
dec r9
jne 0x1400d5288
pop rbx
ret

Function at 0x1400d7710
Capabilities:
Encrypt data using curve25519

Disassembly:
mov al, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x1400da570
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r8, qword [rdx + rax*8]
xor qword [rcx + rax*8], r8
inc rax
cmp rax, 8
jne 0x1400da492
ret
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov ebp, 1
mov qword [rsp + 0x20], rcx
mov rdi, rdx
mov rdx, rcx
mov rcx, r8
mov rbx, r8
call 0x1400da490
mov rcx, rbx
cmp rbp, rdi
jae 0x1400da74e
call fcn.1400da9f0
mov rcx, rbx
call fcn.1400da910
mov r10, qword [rbx]
mov r14, qword [rbx + 8]
mov r9, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rcx, r10
mov r13, qword [rbx + 0x20]
mov r12, qword [rbx + 0x28]
call fcn.1400da8b0
mov rcx, r14
mov r11, qword [rbx + 0x30]
mov rsi, qword [rbx + 0x38]
xor r10, rax
mov r15, rax
mov qword [rsp + 0x28], r10
call fcn.1400da8b0
mov rcx, r9
xor r14, rax
mov r10, rax
mov qword [rsp + 0x30], r14
call fcn.1400da8b0
mov rcx, r8
xor r9, rax
mov r14, rax
mov qword [rsp + 0x38], r9
call fcn.1400da8b0
mov rcx, r13
xor r8, rax
mov r9, rax
mov qword [rsp + 0x40], r8
call fcn.1400da8b0
mov rcx, r12
xor r13, rax
mov r8, rax
mov qword [rsp + 0x48], r13
call fcn.1400da8b0
mov rcx, r11
xor r12, rax
mov r13, rax
mov qword [rsp + 0x50], r12
call fcn.1400da8b0
mov rcx, rsi
xor r11, rax
mov r12, rax
mov qword [rsp + 0x58], r11
call fcn.1400da8b0
mov rcx, qword [rsp + 0x28]
xor rsi, rax
mov r11, rax
call fcn.1400da8e0
mov rcx, qword [rsp + 0x30]
xor r15, rax
xor r15, rsi
mov qword [rbx], r15
call fcn.1400da8e0
mov rcx, qword [rsp + 0x38]
xor r10, rax
mov rax, qword [rsp + 0x28]
xor r10, rax
xor r10, rsi
mov qword [rbx + 8], r10
call fcn.1400da8e0
mov rcx, qword [rsp + 0x40]
xor r14, rax
mov rax, qword [rsp + 0x30]
xor r14, rax
mov qword [rbx + 0x10], r14
call fcn.1400da8e0
mov rcx, qword [rsp + 0x48]
xor r9, rax
mov rax, qword [rsp + 0x38]
xor r9, rax
xor r9, rsi
mov qword [rbx + 0x18], r9
call fcn.1400da8e0
mov rcx, qword [rsp + 0x50]
xor r8, rax
mov rax, qword [rsp + 0x40]
xor r8, rax
xor r8, rsi
mov qword [rbx + 0x20], r8
call fcn.1400da8e0
mov rcx, qword [rsp + 0x58]
xor r13, rax
mov rax, qword [rsp + 0x48]
xor r13, rax
mov qword [rbx + 0x28], r13
call fcn.1400da8e0
mov rcx, rsi
xor r12, rax
mov rax, qword [rsp + 0x50]
xor r12, rax
mov qword [rbx + 0x30], r12
call fcn.1400da8e0
mov rdx, rbp
mov rcx, rbx
inc rbp
xor r11, rax
mov rax, qword [rsp + 0x58]
shl rdx, 6
xor r11, rax
mov rax, qword [rsp + 0x20]
mov qword [rbx + 0x38], r11
add rdx, rax
call 0x1400da490
jmp 0x1400da59b
call fcn.1400da9f0
mov rcx, rbx
shl rdi, 6
call fcn.1400da910
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
add rdx, rdi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1400da490
Function at 0x1400db210
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
movzx r8d, r8b
mov r11, rcx
mov rbx, rdx
mov qword [rsp + 0x28], r8
call 0x1400db210
mov r8, qword [rsp + 0x28]
lea rdx, [rdx + 0x28]
lea rcx, [rcx + 0x28]
call 0x1400db210
mov r8, qword [rsp + 0x28]
lea rdx, [rbx + 0x50]
lea rcx, [r11 + 0x50]
add rsp, 0x30
pop rbx
jmp 0x1400db210
xor eax, eax
neg r8
mov r10, qword [rcx + rax]
mov r9, qword [rdx + rax]
xor r9, r10
and r9, r8
xor r9, r10
mov qword [rcx + rax], r9
add rax, 8
cmp rax, 0x28
jne 0x1400db215
ret

Function at 0x1400db240
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
neg r8
mov r10, qword [rcx + rax]
mov r9, qword [rdx + rax]
xor r9, r10
and r9, r8
xor r10, r9
mov qword [rcx + rax], r10
xor qword [rdx + rax], r9
add rax, 8
cmp rax, 0x28
jne 0x1400db245
ret
Function at 0x306e1162e
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 0x306e1164f
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sym.fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp fcn.306e41580

Function at 0x306e13297
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x38
mov qword [rsp + 0x28], rdx
mov r13, rcx
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, r13
mov edx, 1
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
add rsp, 0x38
pop r12
pop r13
jmp fcn.306e41580

Function at 0x306e14629
Capabilities:
Read file on windows

Disassembly:
push r13
push rbx
sub rsp, 0x38
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sub.msvcrt.dll_fread
cmp rbx, rax
je 0x306e1465d
mov rcx, r13
mov qword [rsp + 0x28], rax
call sym.checkErr__systemZio_141
mov rax, qword [rsp + 0x28]
add rsp, 0x38
pop rbx
pop r13
ret

Function at 0x306e152f7
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [sym.__acrt_iob_func]
xor r12d, r12d
mov rdi, rcx
mov rbx, rdx
cmp r12, rbx
jl 0x306e15352
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x306e44102]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rsi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp fcn.306e41580
test r12, r12
jns 0x306e15363
lea rdx, [rbx - 1]
mov rcx, r12
call sym.raiseIndexError2
mov r13, qword [rdi + r12*8]
mov ecx, 1
call rsi
xor r8d, r8d
mov rcx, rax
mov rdx, r13
call sym.writeWindows__systemZio_205
add r12, 1
jno 0x306e15312
call sym.raiseOverflow
nop
Function at 0x306e1e923
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
mov r8d, 4
xor r10d, r10d
mov rax, rdx
mov r9, rcx
mov rcx, rdx
cqo
idiv r8
xor r8d, r8d
shl rax, 2
cmp r8, rax
jl 0x306e1e95c
mov rax, rcx
mov r11d, 4
cqo
idiv r11
xor eax, eax
jmp 0x306e1e9b8
cmp r8, rcx
jl 0x306e1e96a
lea rdx, [rcx - 1]
mov rcx, r8
jmp 0x306e1e9cb
mov edx, dword [r9 + r8]
add r8, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, r10d
rol edx, 0xd
lea edx, [rdx + rdx*4]
lea r10d, [rdx - 0x19ab949c]
jmp 0x306e1e945
dec rdx
mov r11, r8
add r11, rdx
js 0x306e1e9bf
cmp r11, rdx
jb 0x306e1e9bf
cmp r11, rcx
jge 0x306e1e9c4
test r11, r11
js 0x306e1e9c4
movzx r11d, byte [r9 + r11]
shl eax, 8
or eax, r11d
test rdx, rdx
jg 0x306e1e993
jmp 0x306e1e9d0
call sym.raiseOverflow
lea rdx, [rcx - 1]
mov rcx, r11
call sym.raiseIndexError2
imul eax, eax, 0xcc9e2d51
xor r10d, ecx
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r10d
mov edx, eax
shr edx, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
ret

Function at 0x306e1f28c
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r13, rdx
call sym.nimToCStringConv.lto_priv.0.lto_priv.0
mov rcx, rax
call sub.msvcrt.dll_getenv
xor edx, edx
mov rcx, rax
mov r12, rax
call sym.eqeq___system_7761.lto_priv.0.lto_priv.0
test al, al
jne 0x306e1f2c5
mov rcx, r12
add rsp, 0x28
pop r12
pop r13
jmp sym.cstrToNimstr
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sym.copyString

Function at 0x306e1f2d5
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x306e1f2ef
mov rdx, qword [rcx]
add rcx, 0x10
test rdx, rdx
jns 0x306e1f2f1
call sym.raiseIndexError
xor edx, edx
add rsp, 0x28
jmp sym.murmurHash__pureZhashes_192
Function at 0x306e31f10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x306e32882
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x306e6d408]
test eax, eax
je 0x306e3291a
lea rax, [0x306e6d3e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x306e6d410]
mov qword [rbp - 8], rax
jmp 0x306e328fe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x306e328f2
cmp qword [rbp - 0x10], 0
je 0x306e328f2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x306e328b8
lea rax, [0x306e6d3e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x306e3291b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x306e32a20
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x306e32a48
mov eax, 0
jmp 0x306e32a96
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x306e32a71
mov eax, 0
jmp 0x306e32a96
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x306e32a91
mov eax, 0
jmp 0x306e32a96
mov eax, 1
add rsp, 0x20
pop rbp
ret