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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov ecx, dword [0x004fe100]
test ecx, ecx
je 0x4e670f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4e6728
mov rdi, rax
cmp qword [rax], 0
je 0x4e6728
add rdi, 8
jmp 0x4e6814
lea rcx, [0x004fe0e8]
call fcn.004d6970
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x4e66fd
mov ecx, dword [0x004fe100]
test ecx, ecx
je 0x4e67f5
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4e6812
mov rsi, rax
test rax, rax
jne 0x4e67c6
mov qword [rsp + 0x20], 0
lea rax, [0x004fe0e8]
mov qword [rsp + 0x30], rax
mov rcx, qword [0x00572170]
test rcx, rcx
jne 0x4e6788
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x4e682e
mov rcx, rax
mov qword [0x00572170], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x4e682e
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
mov ecx, dword [0x004fe100]
test ecx, ecx
je 0x4e681e
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsi + 8]
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 1
mov qword [rsi + 8], 0
je 0x4e6814
test rcx, rcx
je 0x4e6814
lock dec qword [rcx]
jne 0x4e6814
call fcn.004dc3b0
jmp 0x4e6814
lea rcx, [0x004fe0e8]
call fcn.004d6970
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x4e6747
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x004fe0e8]
call fcn.004d6970
mov ecx, eax
jmp 0x4e67be
mov ecx, 0x18
mov edx, 8
call fcn.00404d20
ud2

Function at 0x4e6860
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x004fe148]
test ecx, ecx
je 0x4e688c
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4e68a5
cmp qword [rax], 0
je 0x4e68a5
add rax, 8
add rsp, 0x20
pop rsi
ret
lea rcx, [0x004fe130]
call fcn.004d6970
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x4e687c
mov ecx, dword [0x004fe148]
test ecx, ecx
je 0x4e6944
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4e6961
mov rsi, rax
test rax, rax
jne 0x4e692b
mov rcx, qword [0x00572170]
test rcx, rcx
jne 0x4e68f0
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x4e6979
mov rcx, rax
mov qword [0x00572170], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x4e6979
mov rsi, rax
mov qword [rax], 0
lea rax, [0x004fe130]
mov qword [rsi + 0x10], rax
mov ecx, dword [0x004fe148]
test ecx, ecx
je 0x4e6969
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rax, [rsi + 8]
mov qword [rsi], 1
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret
lea rcx, [0x004fe130]
call fcn.004d6970
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x4e68c4
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x004fe130]
call fcn.004d6970
mov ecx, eax
jmp 0x4e6923
mov ecx, 0x18
mov edx, 8
call fcn.00404d20
ud2
Function at 0x4e7bf9
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
lea rcx, [0x004fe1c0]
call fcn.0045aa45
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4e7c27
mov rsi, rax
mov rax, qword [rax]
test rax, rax
cmove rsi, rax
jne 0x4e7c91
lea rdi, [0x004fe1c0]
mov rcx, rdi
call fcn.0045aa45
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4e7c8f
mov rsi, rax
test rax, rax
jne 0x4e7c72
mov ecx, 0x10
call fcn.0043ae99
mov rsi, rax
and qword [rax], 0
mov qword [rax + 8], rdi
mov rcx, rdi
call fcn.0045aa45
mov ecx, eax
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
call fcn.004e7a46
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x4e7c91
lock dec qword [rcx]
jne 0x4e7c91
call fcn.004ebfa3
jmp 0x4e7c91
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x4e936e
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x4e9375
test al, 1
je 0x4e9394
test al, 2
jne 0x4e93a9
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x00537778]
mov edx, 0x23
jmp 0x4e93bc
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x005377b8]
mov edx, 0x25
call fcn.0042fe50
ud2

Function at 0x4ea83e
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.004edc6f
movzx ecx, bl
lea r9, [rsp + 0x2c]
mov dword [r9], ecx
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x4ea87a
xor eax, eax
jmp 0x4ea887
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x4ea88d
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xc0]
lea rbp, [rdx + 0x10]
lea r15, [rsp + 0x42]
xor r12d, r12d
cmp qword [rdx + 8], 0xffffffffffffffff
cmovne r12, rdx
mov r13d, 0x7fffffff
cmp rax, r13
cmovb r13, rax
mov qword [rsp + 0x30], r12
mov rdx, qword [r14 + 0x20]
lea rcx, [rsp + 0x38]
mov r8, rbx
call fcn.004e817d
mov al, byte [rsp + 0x41]
cmp al, 3
je 0x4ea9f1
mov rcx, qword [rsp + 0x38]
cmp al, 2
je 0x4ea9ff
mov dl, byte [rsp + 0x40]
movzx r8d, word [r15 + 4]
lea r9, [rsp + 0x52]
mov word [r9 + 4], r8w
mov r8d, dword [r15]
mov dword [r9], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
mov rcx, r12
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.40.0_src_io_poll_evented.rs
call fcn.004edc86
mov rcx, qword [r12 + 8]
mov rdx, rdi
mov r8d, r13d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x4eaa11
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.004586c8
cmp al, 0xd
jne 0x4ea9cb
mov rax, qword [r12]
test rax, rax
je 0x4ea9cb
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
lock inc qword [rdx]
jle 0x4eaa43
mov r12, r13
mov r13, rbx
add rcx, 0x10
mov r8, qword [rax]
mov r9b, byte [rax + 0x18]
call fcn.004585b2
mov rbx, rax
xor ecx, ecx
call fcn.00458708
test rbx, rbx
je 0x4ea9c0
mov ecx, 1
mov rdx, rsi
call fcn.00458712
mov rsi, rbx
mov rbx, r13
mov r13, r12
mov r12, qword [rsp + 0x30]
mov rcx, rsi
call fcn.004586c8
cmp al, 0xd
jne 0x4eaa22
mov rcx, rbp
lea rdx, [rsp + 0x48]
call fcn.004e83a5
mov rcx, rsi
call fcn.004ed6ba
jmp 0x4ea8da
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x4eaa32
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x4eaa32
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x4eaa32
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x4ed810
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov r14, rcx
lea rcx, [0x004fe1e8]
call fcn.0045aa45
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4ed84f
mov rbx, rax
mov rax, qword [rax]
add rbx, 8
test rax, rax
cmove rbx, rax
jne 0x4ed91b
lea rsi, [0x004fe1e8]
mov rcx, rsi
call fcn.0045aa45
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4ed8c3
mov rbx, rax
test rax, rax
jne 0x4ed89a
mov ecx, 0x58
call fcn.0043ae99
mov rbx, rax
and qword [rax], 0
mov qword [rax + 0x50], rsi
mov rcx, rsi
call fcn.0045aa45
mov ecx, eax
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test r14, r14
je 0x4ed8d1
lea rax, [rsp + 0x20]
mov ecx, 0xa
mov rdi, rax
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
and qword [r14], 0
cmp qword [rax], 0
je 0x4ed8c7
lea rsi, [rsp + 0x28]
jmp 0x4ed8d8
xor ebx, ebx
jmp 0x4ed91b
lea rcx, [rsp + 0x20]
call fcn.004e953e
lea rsi, [0x00537a90]
lea rdi, [rsp + 0x70]
mov ecx, 9
rep movsq qword [rdi], qword [rsi]
lea rax, [rsp + 0x20]
mov ecx, 0xa
mov rdi, rax
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov qword [rbx], 1
add rbx, 8
lea rsi, [rsp + 0x70]
mov ecx, 9
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
mov rcx, rax
call fcn.004e953e
mov rax, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x4fc540
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.004fd270
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.004fd270
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x4fc5b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x00572274]
mov r12, rcx
test ebx, ebx
jle 0x4fc6e0
mov rax, qword [0x00572278]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x4fc5fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x4fc683
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x4fc5e0
mov rcx, r12
call fcn.004fcf60
mov rsi, rax
test rax, rax
je 0x4fc702
mov rax, qword [0x00572278]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.004fd090
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00572278]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4fc6e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x4fc67c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x4fc690
add dword [0x00572274], 1
add rsp, 0x50
pop rbx
pop rsi
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 rbx, qword [0x00572278]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4fc67c
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004fc540
nop dword [rax]
xor ebx, ebx
jmp 0x4fc607
mov rax, qword [0x00572278]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.004fc540
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.004fc540
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x4fcbd0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x005722e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x005722c0]
test rbx, rbx
je 0x4fcc24
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 0x4fcc1b
test r12, r12
je 0x4fcc1b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4fcc00
lea rcx, [0x005722e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x4fcf60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x0055fa60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x4fcf80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x4fcf88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x4fcf80
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x4fcfd5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x4fcfcc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4fcf80
add rax, 0x28
cmp rax, r9
jne 0x4fcfb8
xor eax, eax
ret

Function at 0x4fcfe0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0055fa60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4fd000
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4fd008
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x4fd000
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x4fd090
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0055fa60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4fd0b0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x4fd0b8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140006164
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.1400bba20
mov rsi, rax
mov word [rsp + 0x2a0], 0x14
mov word [rsp + 0x2a2], 0x45
mov word [rsp + 0x2a4], 0x40
mov word [rsp + 0x2a6], 0x68
mov word [rsp + 0x2a8], 0x1f
mov word [rsp + 0x2aa], 0x18
mov word [rsp + 0x2ac], 0x1d
mov word [rsp + 0x2ae], 0x38
lea rcx, [rsp + 0x2a0]
mov edx, 0
movsxd rax, edx
imul rax, rax, 0x51eb851f
sar rax, 0x24
mov r8d, edx
sar r8d, 0x1f
sub eax, r8d
imul eax, eax, 0x32
mov r8d, edx
sub r8d, eax
lea eax, [r8 + 0x31]
xor word [rcx], ax
add edx, 1
add rcx, 2
cmp edx, 8
jne 0x1400061fc
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 [0x140199f10]
call qword [rax + 0x180]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400063b3
lea r12, [rsp + 0x40]
lea r13, [rsp + 0x7c]
mov rbp, qword [0x140199f10]
jmp 0x140006364
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 0x1400062f6
mov rcx, qword [rsp + 0x30]
cmp r14, 1
jne 0x14000631c
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 0x14000634e
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.1400aa8e0
jmp 0x14000632e
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r8d, 0
call fcn.1400ac6d0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
jmp 0x1400062a2
test r14, r14
je 0x1400062b5
mov r8, rdi
mov rdx, r13
call sub.msvcrt.dll_memcpy
jmp 0x1400062b5
add qword [rbx + 8], 0x20
mov rcx, qword [rsp + 0x30]
cmp rcx, r12
je 0x14000636f
mov rax, qword [rsp + 0x40]
lea rdx, [rax + rax + 2]
call fcn.1400bba10
jmp 0x14000636f
lea r8, [rsp + 0x30]
mov rdx, rcx
mov rcx, rbx
call fcn.1400a58d0
jmp 0x140006333
test eax, eax
je 0x14000637f
test byte [rsp + 0x50], 0x10
je 0x140006280
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [rbp + 0x188]
jmp 0x140006360
mov rcx, rsi
mov rax, qword [0x140199f10]
call qword [rax + 0x190]
jmp 0x1400063b3
mov rax, rbx
add rsp, 0x2b0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400076a6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r10d, dword [rcx + rax + 0x88]
add r10, rcx
mov r9d, dword [r10 + 0x20]
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140007723
mov r8d, r8d
mov edx, 0
add r9, rcx
jmp 0x1400076d8
add rdx, 1
cmp rdx, r8
je 0x14000772a
mov eax, dword [r9 + rdx*4]
add rax, rcx
cmp dword [rax], 0x50746547
jne 0x1400076cf
cmp dword [rax + 4], 0x41636f72
jne 0x1400076cf
cmp dword [rax + 8], 0x65726464
jne 0x1400076cf
cmp word [rax + 0xc], 0x7373
jne 0x1400076cf
cmp byte [rax + 0xe], 0
jne 0x1400076cf
mov eax, dword [r10 + 0x24]
lea rdx, [rcx + rdx*2]
movzx edx, word [rdx + rax]
mov eax, dword [r10 + 0x1c]
lea rdx, [rcx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rcx
jmp 0x14000772f
mov eax, 0
jmp 0x14000772f
mov eax, 0
ret
Function at 0x14000c610
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 0x14000c620
mov r11d, 4
lea rbx, [0x140194680]
lea rsi, [0x140194560]
jmp 0x14000c690
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 0x14000c6e2
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 0x14000c665
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 0x14000c665
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000c6e6
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 0x14000c702
add r8, 4
add rcx, 4
cmp rcx, r10
jne 0x14000c6fb
ret

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

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

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

Disassembly:
lea rdx, [rcx + 0x10]
lea r9, [rcx + 0x14]
lea r8, [0x140194580]
lea rax, [rdx - 0x10]
movzx ecx, byte [rax]
movzx ecx, byte [r8 + rcx]
mov byte [rax], cl
add rax, 4
cmp rax, rdx
jne 0x14000c778
add rdx, 1
cmp rdx, r9
jne 0x14000c774
ret
Function at 0x14000ca4f
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, rcx
mov qword [rsp + 0x88], rdx
mov r8, rdx
mov rdx, rcx
mov ecx, 0
call fcn.14000c6e6
mov dword [rsp + 0x2c], 1
lea rax, [r13 + 0x10]
mov qword [rsp + 0x20], rax
jmp 0x14000cab5
mov r8, qword [rsp + 0x88]
mov rdx, r13
mov esi, dword [rsp + 0x2c]
mov ecx, esi
call fcn.14000c6e6
mov eax, esi
add eax, 1
mov dword [rsp + 0x2c], eax
cmp eax, 0xa
je 0x14000cba9
mov rcx, r13
call fcn.14000c724
movzx eax, byte [r13 + 1]
movzx edx, byte [r13 + 5]
mov byte [r13 + 1], dl
movzx edx, byte [r13 + 9]
mov byte [r13 + 5], dl
movzx edx, byte [r13 + 0xd]
mov byte [r13 + 9], dl
mov byte [r13 + 0xd], al
movzx eax, byte [r13 + 2]
movzx edx, byte [r13 + 0xa]
mov byte [r13 + 2], dl
mov byte [r13 + 0xa], al
movzx eax, byte [r13 + 6]
movzx edx, byte [r13 + 0xe]
mov byte [r13 + 6], dl
mov byte [r13 + 0xe], al
movzx eax, byte [r13 + 3]
movzx edx, byte [r13 + 0xf]
mov byte [r13 + 3], dl
movzx edx, byte [r13 + 0xb]
mov byte [r13 + 0xf], dl
movzx edx, byte [r13 + 7]
mov byte [r13 + 0xb], dl
mov byte [r13 + 7], al
mov rbx, r13
movzx edi, byte [rbx]
movzx r12d, byte [rbx + 1]
mov ecx, edi
xor ecx, r12d
movzx ebp, byte [rbx + 2]
movzx esi, byte [rbx + 3]
mov r15d, ebp
xor r15d, esi
mov r14d, ecx
xor r14d, r15d
movzx ecx, cl
call fcn.14000c754
xor eax, edi
xor eax, r14d
mov byte [rbx], al
mov ecx, r12d
xor ecx, ebp
movzx ecx, cl
call fcn.14000c754
xor r12d, eax
xor r12d, r14d
mov byte [rbx + 1], r12b
movzx ecx, r15b
call fcn.14000c754
xor ebp, eax
xor ebp, r14d
mov byte [rbx + 2], bpl
xor edi, esi
movzx ecx, dil
call fcn.14000c754
xor esi, eax
xor r14d, esi
mov byte [rbx + 3], r14b
add rbx, 4
cmp rbx, qword [rsp + 0x20]
jne 0x14000cb2c
jmp 0x14000ca8d
mov rcx, r13
call fcn.14000c724
movzx eax, byte [r13 + 1]
movzx edx, byte [r13 + 5]
mov byte [r13 + 1], dl
movzx edx, byte [r13 + 9]
mov byte [r13 + 5], dl
movzx edx, byte [r13 + 0xd]
mov byte [r13 + 9], dl
mov byte [r13 + 0xd], al
movzx eax, byte [r13 + 2]
movzx edx, byte [r13 + 0xa]
mov byte [r13 + 2], dl
mov byte [r13 + 0xa], al
movzx eax, byte [r13 + 6]
movzx edx, byte [r13 + 0xe]
mov byte [r13 + 6], dl
mov byte [r13 + 0xe], al
movzx eax, byte [r13 + 3]
movzx edx, byte [r13 + 0xf]
mov byte [r13 + 3], dl
movzx edx, byte [r13 + 0xb]
mov byte [r13 + 0xf], dl
movzx edx, byte [r13 + 7]
mov byte [r13 + 0xb], dl
mov byte [r13 + 7], al
mov r8, qword [rsp + 0x88]
mov rdx, r13
mov ecx, 0xa
call fcn.14000c6e6
nop
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000cd44
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movups xmmword [rsp + 0x20], xmm6
mov rsi, rcx
mov rbx, rdx
mov ebp, r8d
test rbp, rbp
je 0x14000cda1
mov edi, 0
movdqu xmm6, xmmword [rbx]
mov rdx, rsi
mov rcx, rbx
call fcn.14000c795
mov eax, 0
movzx edx, byte [rsi + rax + 0xb0]
xor byte [rbx + rax], dl
add rax, 1
cmp rax, 0x10
jne 0x14000cd78
movups xmmword [rsi + 0xb0], xmm6
add rbx, 0x10
add rdi, 0x10
cmp rdi, rbp
jb 0x14000cd64
movups xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140017770
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.1400238f0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400238f0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]