joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400026d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400026fd
xor eax, eax
jmp 0x140002869
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002737
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002737
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002869
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000285c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000277a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400027a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002861
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002814
sub eax, 1
je 0x140002814
cmp eax, 2
jne 0x14000285c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002861
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002842
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000285c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002861
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003820
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002bd0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002ca3
cmp byte [rcx + 0x71], 0
je 0x140002ca3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002c9f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002c64
sub eax, 1
je 0x140002c68
cmp eax, 2
jne 0x140002c9f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003820
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002c96
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002c9f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002c4c
xor al, al
jmp 0x140002c4c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003820
add rsp, 0x60
pop rbx
ret

Function at 0x1400041b4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400041fe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400041fe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400041fe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400041fe
cmp dword [rcx + 0x84], 0xe
jbe 0x1400041fe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004200
xor al, al
add rsp, 0x28
ret
Function at 0x1400060ca
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2b0
mov rbx, rcx
mov rdi, rdx
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov ecx, 0x410
call fcn.1400bb9b0
mov rsi, rax
mov word [rsp + 0x2a0], 0x1c
mov word [rsp + 0x2a2], 0x4d
mov word [rsp + 0x2a4], 0x48
mov word [rsp + 0x2a6], 0x60
mov word [rsp + 0x2a8], 0x17
mov word [rsp + 0x2aa], 0x10
mov word [rsp + 0x2ac], 0x15
mov word [rsp + 0x2ae], 0x40
lea rcx, [rsp + 0x2a0]
mov edx, 0
movsxd rax, edx
imul rax, rax, 0x94f2095
sar rax, 0x21
mov r8d, edx
sar r8d, 0x1f
sub eax, r8d
imul eax, eax, 0x37
mov r8d, edx
sub r8d, eax
lea eax, [r8 + 0x39]
xor word [rcx], ax
add edx, 1
add rcx, 2
cmp edx, 8
jne 0x140006162
mov r9, rdi
lea r8, [rsp + 0x2a0]
mov edx, 0x208
mov rcx, rsi
call sub.msvcrt.dll_swprintf_s
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov rax, qword [0x140190f10]
call qword [rax + 0x180]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140006319
lea r12, [rsp + 0x40]
lea r13, [rsp + 0x7c]
mov rbp, qword [0x140190f10]
jmp 0x1400062ca
mov qword [rsp + 0x30], r12
mov rcx, r13
call sub.msvcrt.dll_wcslen
lea rdi, [rax + rax]
mov r14, rdi
sar r14, 1
mov qword [rsp + 0x28], r14
cmp rdi, 0xe
ja 0x14000625c
mov rcx, qword [rsp + 0x30]
cmp r14, 1
jne 0x140006282
movzx eax, word [rsp + 0x7c]
mov word [rcx], ax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*2], 0
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx + 0x10]
je 0x1400062b4
lea rax, [rcx + 0x10]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x30]
mov r9d, 0
mov rax, qword [rsp + 0x38]
lea r8, [rdx + rax*2]
call fcn.1400aa870
jmp 0x140006294
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r8d, 0
call fcn.1400ac660
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
jmp 0x140006208
test r14, r14
je 0x14000621b
mov r8, rdi
mov rdx, r13
call sub.msvcrt.dll_memcpy
jmp 0x14000621b
add qword [rbx + 8], 0x20
mov rcx, qword [rsp + 0x30]
cmp rcx, r12
je 0x1400062d5
mov rax, qword [rsp + 0x40]
lea rdx, [rax + rax + 2]
call fcn.1400bb9a0
jmp 0x1400062d5
lea r8, [rsp + 0x30]
mov rdx, rcx
mov rcx, rbx
call fcn.1400a5860
jmp 0x140006299
test eax, eax
je 0x1400062e5
test byte [rsp + 0x50], 0x10
je 0x1400061e6
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [rbp + 0x188]
jmp 0x1400062c6
mov rcx, rsi
mov rax, qword [0x140190f10]
call qword [rax + 0x190]
jmp 0x140006319
mov rax, rbx
add rsp, 0x2b0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14000c5a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov r8, rdx
mov rax, rdx
mov rdx, rcx
add r8, 0x10
movzx r9d, byte [rax]
mov byte [rcx], r9b
movzx r9d, byte [rax + 1]
mov byte [rcx + 1], r9b
movzx r9d, byte [rax + 2]
mov byte [rcx + 2], r9b
movzx r9d, byte [rax + 3]
mov byte [rcx + 3], r9b
add rax, 4
add rcx, 4
cmp rax, r8
jne 0x14000c5b0
mov r11d, 4
lea rbx, [0x14018b680]
lea rsi, [0x14018b560]
jmp 0x14000c620
xor r9b, byte [rax]
mov byte [rax + 0x10], r9b
xor r8b, byte [rax + 1]
mov byte [rax + 0x11], r8b
xor r10b, byte [rax + 2]
mov byte [rax + 0x12], r10b
xor cl, byte [rax + 3]
mov byte [rax + 0x13], cl
add r11d, 1
add rdx, 4
cmp r11d, 0x2c
je 0x14000c672
mov rax, rdx
movzx r9d, byte [rdx + 0xc]
movzx r8d, byte [rdx + 0xd]
movzx r10d, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
test r11b, 3
jne 0x14000c5f5
movzx r8d, r8b
movzx edi, byte [rbx + r8]
movzx r10d, r10b
movzx r8d, byte [rbx + r10]
movzx ecx, cl
movzx r10d, byte [rbx + rcx]
movzx r9d, r9b
movzx ecx, byte [rbx + r9]
mov r9d, r11d
shr r9d, 2
mov r9d, r9d
xor dil, byte [rsi + r9]
mov r9d, edi
jmp 0x14000c5f5
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000c676
Capabilities:
Encode data using xor

Disassembly:
shl rcx, 4
and ecx, 0xff0
add r8, rcx
lea rcx, [rdx + 4]
lea r10, [rdx + 0x14]
lea rax, [rcx - 4]
mov rdx, r8
movzx r9d, byte [rdx]
xor byte [rax], r9b
add rax, 1
add rdx, 1
cmp rax, rcx
jne 0x14000c692
add r8, 4
add rcx, 4
cmp rcx, r10
jne 0x14000c68b
ret

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

Disassembly:
lea rdx, [rcx + 0x10]
lea r9, [rcx + 0x14]
lea r8, [0x14018b680]
lea rax, [rdx - 0x10]
movzx ecx, byte [rax]
movzx ecx, byte [r8 + rcx]
mov byte [rax], cl
add rax, 4
cmp rax, rdx
jne 0x14000c6c7
add rdx, 1
cmp rdx, r9
jne 0x14000c6c3
ret

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

Disassembly:
lea rdx, [rcx + 0x10]
lea r9, [rcx + 0x14]
lea r8, [0x14018b580]
lea rax, [rdx - 0x10]
movzx ecx, byte [rax]
movzx ecx, byte [r8 + rcx]
mov byte [rax], cl
add rax, 4
cmp rax, rdx
jne 0x14000c708
add rdx, 1
cmp rdx, r9
jne 0x14000c704
ret
Function at 0x140017770
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1401b8474]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140017920
mov rax, qword [0x1401b8478]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400177bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140017847
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1400177a0
mov rcx, r12
call fcn.140018220
mov rbp, rax
test rax, rax
je 0x14001797d
mov rax, qword [0x1401b8478]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.140018350
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1401b8478]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140017962
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140017840
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400178d0
add dword [0x1401b8474], 1
cmp ebx, 8
jae 0x140017878
test bl, 4
jne 0x140017930
test ebx, ebx
je 0x140017869
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140017950
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140017869
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1400178aa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1401b8478]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140017840
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140017700
xor edi, edi
jmp 0x1400177c7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140017869
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140017869
mov rax, qword [0x1401b8478]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.140017700
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140017700
nop
nop dword [rax]
Function at 0x140017e90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401b84e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401b84c0]
test rbx, rbx
je 0x140017ee4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140017edb
test r12, r12
je 0x140017edb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140017ec0
lea rcx, [0x1401b84e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140018220
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140190d80]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140018299
mov rcx, r10
call fcn.1400180f0
test eax, eax
je 0x140018299
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140018296
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14001828d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140018299
add r8, 0x28
cmp r8, r9
jne 0x140018278
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140018590
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x1401b84c8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x140017f20
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x140017f73
mov dword [rax], edi
lea rcx, [0x1401b84e0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1401b84c0]
lea rcx, [0x1401b84e0]
mov qword [0x1401b84c0], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x140017f16
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x1400185c0
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x140023c80
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x140023c90
xor eax, eax
ret
jmp 0x140017f00

Function at 0x140018600
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x140018640
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140018658
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x140017a88
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
test qword [r15 + 0xf], r12
test byte [rbp + 4], dl
add byte [rax], al
push rbp
mov dl, 0x19
push rdi
push r12
push r13
push r15
sub eax, 0x8348ec8b
in al, dx
js 0x140017aed
mov edx, dword [rsi - 0x73]
cmc
add eax, dword [rax]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r8
outsb dx, byte [rsi]
int1
stosd dword [rdi], eax
shr ebx, 0x58
cmp byte cs:[rcx], 0xef
popfq
mov edi, ecx
je 0x140017a99
mov r8, rbx
call 0x10c01d120
jmp 0x140017f89
add byte [rdx - 0x7bf024c3], cl
and byte [rax + rax], al
add byte [rbx + rbp - 0xa], cl
lea r12, [0x140000000]
lea r15, [rdi + 0x18]
movsxd r11, dword [rdi + 4]
lea rcx, [rbp + 0x62]
mov r8, r11
invalid
add rdx, r10
movdqu xmm0, xmmword [rax]
dec rcx
lea rax, [rax - 0x10]
aesdec xmm3, xmmword [rsi + 0x48]
test ecx, ecx
jg 0x140017f8c
cmp byte [r10 + 1], 0
sub dword [r15 + 0x2d], 0x4a
invalid

Function at 0x14001833c
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp - 0x67], rbx
xor al, 0xda
mov r11b, cl
xor r10b, r10b
mov al, byte [r13 + 0x41]
mov al, dl
xor al, r11b
test bl, 1
movzx r8d, al
syscall
ret 0xb544

Function at 0x14001f6d8
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
sbb byte [rax], cl
add byte [rax], al
add byte [rbx], bh
xchg esp, eax
cmovb eax, edx
mov dword [rdx], esp
xor byte [rcx + 0x6f6c06bd], bh
call 0x17002d70c
mov qword [rbp + rbx*2 + 0x30], rax
mov edx, dword [rbx - 0x32]
test dword [rbx - 0x468b173b], ecx
jo 0x14001f6e3
nop
invalid

Function at 0x14001f834
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
and ebx, 0xb
je 0x14001f842
cmp edx, 0x46
jne 0x14001f871
xor dword [rdx - 0x6b], 0xf
xchg esp, eax
rol byte [rbx - 0x77fecf87], 0x81
xor al, 0
jbe 0x14001f846
cmp byte [rcx - 0x5bffd058], 0
cmc
sub byte [r11], r15b
ror byte [rax - 0x7d], 1
invalid
movabs al, byte [0x8948ccccc3b9c483]
pop rsp
test al, 8
mov qword [rax + rdi*8 + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10b, 0x48
and dword [rax + 0x5e833820], 0x45
mov sil, dl
add ecx, dword [rbx - 0x612d7b07]
jg 0x14001f8e4
scasb al, byte [rdi]
movabs eax, dword [0x83f0330000005aa8]
mov dword [rsi + rcx + 0x41ff0000], esi
mov eax, 0x7b2c9c
push rsi
movabs eax, dword [0xb1894c00000000a0]
movabs al, byte [0x744fb1c64c000000]
add byte [rax], al
mov qword [rdx - 0x58], r8
invalid
cmp byte [rbx + 0xb90000], dh
add byte [rax], al
and qword [rdi + 0xd0], 0
and qword [rdi + 0x5a0000b8], 0xffffffffffffffd7
and qword [rdi + 0xc0], 0
cmp rbx, qword [rdi + 0x40]
mov byte [rdi + 0x3500c8], dh
cmovb rcx, rax
mov qword [rdi + 0x12002d90], rcx
mov rbp, rsp
push rax
retf 0xff82
Function at 0x14001fce0
Capabilities:
Encode data using xor

Disassembly:
mov esi, dword [rdx]
call fcn.140001bcc
retfq 0x85e
ror dword [rbx + rcx*4 - 0x39], cl
jp 0x14001fc4d
lea rcx, [rax + rcx*8]
call fcn.14001fce0
mov rcx, qword [r8 + rcx + 0x49cf8b4c]
mov ecx, dword [rsi]
mov r8, r15
call fcn.14001748c
mov r9, rbp
mov r8, rsi
mov rdx, r15
mov rcx, r14
mov rbx, qword [rdi + rsi*8 + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rdi + rdi + 0x50]
add rsp, 0x20
jne 0x14001fccf
call [rsi - 0x38]
jmp 0x1760171c4
pop rsi
enter 0xffffffffffffede9, 0x74
push qword [0x1b9206ec3]
dec esp
int3
cmp rbx, 0x48
pop rsp
mov ecx, edx
je 0x14001fc8c
out dx, eax
adc byte [rax + riz], ah
call fcn.140001c64
test r9, r9
je 0x14001fd09
xor rax, 0xffffffffc120e84c
adc eax, 0x49000000
sub ecx, 0x61
jne 0x14001fcf9
fmul dword [rbp - 0x17dfdbb4]
fstp dword [rdi]
invalid
Function at 0x140008d50
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140008d72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140008dec
mov rdi, r14
mov rcx, rbx
call fcn.14000bde0
test rax, rax
jle 0x140008dc4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140054e30
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140008ddc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140008de4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140008d86
sub r14, rdi
jmp 0x140008ecf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140008e03
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140008e05
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140008e37
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140054e30
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140008ecc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140008e72
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140008ead
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140039110
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140008ecc
cmp rbp, rax
ja 0x140008e80
test rbp, rbp
je 0x140008ecc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140039110
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140021a80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
test r9, r9
je 0x140021c16
cmp r9, 4
jb 0x140021aba
mov r10, r9
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r9, rax
mov eax, dword [rdx]
add rdx, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub r10, 1
jne 0x140021aa1
xor r11d, r11d
test r9, r9
je 0x140021c16
cmp r9, 8
jb 0x140021bed
lea r10, [rcx - 1]
lea rax, [r8 - 1]
add r10, r9
add rax, r9
cmp rcx, rax
ja 0x140021aec
cmp r10, r8
jae 0x140021bed
lea rax, [rdx - 1]
add rax, r9
cmp rcx, rax
ja 0x140021b01
cmp r10, rdx
jae 0x140021bed
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x140021ba7
mov r10, r9
mov qword [rsp + 0x18], rsi
and r10d, 0x3f
mov rbx, r9
sub rbx, r10
mov rdi, rdx
lea rax, [r8 + 0x10]
sub rdi, r8
mov rsi, rcx
sub rsi, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rdi + rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rax - 0x10]
movdqu xmm2, xmmword [rdi + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r11, rbx
jb 0x140021b40
mov rsi, qword [rsp + 0x18]
cmp r10, 8
jb 0x140021bdf
mov r10, r9
and r10, 0xfffffffffffffff8
mov rbx, rdx
lea rax, [r11 + r8]
sub rbx, r8
mov rdi, rcx
sub rdi, r8
nop
movq xmm1, qword [rax + rbx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r11, r10
jb 0x140021bc0
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x140021c16
sub rdx, r8
lea r10, [r11 + r8]
sub rcx, r8
sub r9, r11
nop word [rax + rax]
movzx eax, byte [r10 + rdx]
xor al, byte [r10]
mov byte [rcx + r10], al
lea r10, [r10 + 1]
sub r9, 1
jne 0x140021c00
add rsp, 8
ret

Function at 0x140026ca8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140026ce2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140026ce7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140026d30
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14005d6e0]
cmp byte [rcx + rax], 0
je 0x140026d30
dec r8
sub rdx, 1
jne 0x140026d16
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret