joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008d160
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400040d0
mov rax, qword [rsp + 0x30]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x14008d1ed
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x14008d223
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14008d236
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x14008d252
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x1401b0128]
xor edx, edx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x14008d252
mov rcx, qword [0x1401b0128]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140090660
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
add dword [rax], 0x44c70000
and al, 0x20
and byte [rax], al
add byte [rax], al
invalid

Function at 0x140091410
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140091446
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rsp, 0x80
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [fcn.1400893f0]
mov qword [rsp + 0x48], rax
lea rax, str.fallback_RNG_broken:
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rsp + 0x50]
call fcn.1400086d0
ud2
Function at 0x140091b60
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140165eb8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.14008e380
test rax, rax
je 0x140091c1f
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140091c80]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.KERNEL32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x140091c12
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x140091bed
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.14008e410
mov rcx, qword [0x1401b0128]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
pop rsi
mov ecx, 8
mov edx, 0x10
call fcn.140004060
ud2

Function at 0x140091de0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
Function at 0x1400933d0
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x1401b0130]
cmp rax, 3
jne 0x1400934c4
cmp rbx, 0x17f
ja 0x1400934d6
lea r15, [rsp + 0x70]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
inc rbx
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, rbx
call fcn.140006230
cmp qword [rsp + 0x28], 0
je 0x140093454
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400934e7
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x20]
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x1400934ac
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x1400934e7
mov rax, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
jmp 0x1400934e7
call fcn.14008ccb0
cmp rbx, 0x17f
jbe 0x14009340a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
call fcn.14008d160
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140093500
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x140093522
mov qword [rsi + 8], rbx
mov qword [rsi], 1
jmp 0x1400935f4
mov rax, qword [0x1401b0130]
cmp rax, 3
jne 0x1400935ff
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8d, 1
call fcn.140090660
cmp qword [rsp + 0x20], 0
mov rdi, qword [rsp + 0x28]
je 0x140093563
mov qword [rsi + 8], rdi
mov qword [rsi], 1
jmp 0x1400935f4
cmp word [rbx], 0
je 0x140093584
movups xmm0, xmmword [rbx + 4]
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0x18]
movzx ecx, word [rbx + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x140093599
mov eax, dword [rbx + 2]
movzx ecx, word [rbx + 6]
mov r8d, 0x10
mov r9w, 2
xorps xmm0, xmm0
rol cx, 8
mov word [rsp + 0x20], r9w
mov word [rsp + 0x22], cx
mov dword [rsp + 0x24], eax
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x1400935d4
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1400935f4
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call sub.WS2_32.dll_closesocket
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.14008ccb0
jmp 0x140093533
Function at 0x1400939c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], pe_nt_image_headers64
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x140093a64
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x140093a73
cmp ecx, 0x17
jne 0x140093a93
cmp eax, 0x1b
jbe 0x140093aac
movzx eax, word [rsp + 0x32]
rol ax, 8
movups xmm0, xmmword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
mov word [rsi], 1
movups xmmword [rsi + 4], xmm0
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
jmp 0x140093aa3
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x140093a9a
cmp eax, 0xf
jbe 0x140093ac4
movzx eax, word [rsp + 0x32]
rol ax, 8
mov ecx, dword [rsp + 0x34]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
jmp 0x140093aa3
lea rax, str.invalid_argument_b_
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x140125af0]
mov edx, 0x43
call fcn.140008780
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x140125a90]
mov edx, 0x42
call fcn.140008780
int3
Function at 0x14009a570
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400f10a0]
test ecx, ecx
je 0x14009a656
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a5a4
cmp qword [rax + 8], 0
je 0x14009a5a4
add rax, 0x10
jmp 0x14009a64f
mov ecx, dword [0x1400f10a0]
test ecx, ecx
je 0x14009a669
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009a64d
mov rdi, rax
test rax, rax
jne 0x14009a616
mov rax, qword [0x140165eb8]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call fcn.14008e380
test rax, rax
je 0x14009a68c
mov rdi, rax
lea rax, [0x1400f1088]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f10a0]
test ecx, ecx
je 0x14009a67c
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
xor ecx, ecx
test rsi, rsi
je 0x14009a636
mov rax, qword [rsi]
mov qword [rsi], 0
cmp rax, 1
jne 0x14009a636
mov rdx, qword [rsi + 8]
mov ecx, dword [rsi + 0x10]
jmp 0x14009a638
xor edx, edx
mov qword [rdi + 8], 1
lea rax, [rdi + 0x10]
mov qword [rdi + 0x10], rdx
mov byte [rdi + 0x18], cl
jmp 0x14009a64f
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1400f1088]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a589
lea rcx, [0x1400f1088]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a5b4
lea rcx, [0x1400f1088]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a60e
mov ecx, 8
mov edx, 0x20
call fcn.140004060
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400f10c0]
test ecx, ecx
je 0x14009a7aa
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a6d2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14009a79c
mov ecx, dword [0x1400f10c0]
test ecx, ecx
je 0x14009a7bd
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009a75e
mov rdi, rax
test rax, rax
jne 0x14009a744
mov rax, qword [0x140165eb8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.14008e380
test rax, rax
je 0x14009a7e3
mov rdi, rax
lea rax, [0x1400f10a8]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f10c0]
test ecx, ecx
je 0x14009a7d0
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x14009a762
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14009a764
mov rax, qword [rsi + 8]
jmp 0x14009a764
xor edi, edi
jmp 0x14009a7a0
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x14009a79c
test rcx, rcx
je 0x14009a79c
lock dec qword [rcx]
jne 0x14009a79c
lea rcx, [rsp + 0x30]
call fcn.140075f20
add rdi, 0x10
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1400f10a8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a6b9
lea rcx, [0x1400f10a8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a6e2
lea rcx, [0x1400f10a8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a73c
mov ecx, 8
mov edx, 0x18
call fcn.140004060
int3
Function at 0x14009a800
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400f10e0]
test ecx, ecx
je 0x14009a8a6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a829
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14009a895
mov ecx, dword [0x1400f10e0]
test ecx, ecx
je 0x14009a8b9
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009a89b
mov rsi, rax
test rax, rax
jne 0x14009a88f
mov rax, qword [0x140165eb8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.14008e380
test rax, rax
je 0x14009a8dc
mov rsi, rax
lea rax, [0x1400f10c8]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1400f10e0]
test ecx, ecx
je 0x14009a8cc
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x14009a89d
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1400f10c8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a815
lea rcx, [0x1400f10c8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a839
lea rcx, [0x1400f10c8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a887
mov ecx, 8
mov edx, 0x10
call fcn.140004060
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400f1100]
test ecx, ecx
je 0x14009a9fa
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a922
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14009a9ec
mov ecx, dword [0x1400f1100]
test ecx, ecx
je 0x14009aa0d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009a9ae
mov rdi, rax
test rax, rax
jne 0x14009a994
mov rax, qword [0x140165eb8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.14008e380
test rax, rax
je 0x14009aa33
mov rdi, rax
lea rax, [0x1400f10e8]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f1100]
test ecx, ecx
je 0x14009aa20
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x14009a9b2
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14009a9b4
mov rax, qword [rsi + 8]
jmp 0x14009a9b4
xor edi, edi
jmp 0x14009a9f0
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x14009a9ec
test rcx, rcx
je 0x14009a9ec
lock dec qword [rcx]
jne 0x14009a9ec
lea rcx, [rsp + 0x30]
call fcn.140075f80
add rdi, 0x10
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1400f10e8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a909
lea rcx, [0x1400f10e8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a932
lea rcx, [0x1400f10e8]
call fcn.140091de0
mov ecx, eax
jmp 0x14009a98c
mov ecx, 8
mov edx, 0x18
call fcn.140004060
int3
Function at 0x14009aa50
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400f1120]
test ecx, ecx
je 0x14009ab71
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009aa87
mov rcx, rax
cmp qword [rax + 8], 0
je 0x14009aa87
add rcx, 0x10
jmp 0x14009ab67
mov ecx, dword [0x1400f1120]
test ecx, ecx
je 0x14009ab84
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009ab4a
mov rdi, rax
test rax, rax
jne 0x14009aafd
mov rax, qword [0x140165eb8]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call fcn.14008e380
test rax, rax
je 0x14009abaa
mov rdi, rax
lea rax, [0x1400f1108]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f1120]
test ecx, ecx
je 0x14009ab97
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x14009ab1a
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x14009ab53
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14009ab4e
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14009ab53
xor ecx, ecx
jmp 0x14009ab67
call fcn.140091410
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
mov rax, rcx
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1400f1108]
call fcn.140091de0
mov ecx, eax
jmp 0x14009aa69
lea rcx, [0x1400f1108]
call fcn.140091de0
mov ecx, eax
jmp 0x14009aa97
lea rcx, [0x1400f1108]
call fcn.140091de0
mov ecx, eax
jmp 0x14009aaf5
mov ecx, 8
mov edx, 0x20
call fcn.140004060
int3
Function at 0x1400a6061
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 0x1400a609d
mov rcx, rax
mov rdx, rdi
mov r8d, esi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14008af00
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400c9110
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.1400c9110
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
ret

Function at 0x1400c921a
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 0x1400c91f0
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
ret
Function at 0x1400d3dc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400d3ee0
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 0x1400d3e20
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 0x1400d3e20
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 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 [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
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 0x1400d3e20
Function at 0x1400d7d40
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400d7dee
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
ret
cmp r8, 0x10
jb 0x1400d7e99
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 0x1400d7dee
cmp r8, 0
je 0x1400d7f5f
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 0x1400d7eaf
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
ret