joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096170
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 [0x1401a4148]
cmp rax, 3
jne 0x140096264
cmp rbx, 0x17f
ja 0x140096276
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.1400066d0
cmp qword [rsp + 0x28], 0
je 0x1400961f4
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140096287
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 0x14009624c
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 0x140096287
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 0x140096287
call fcn.140087390
cmp rbx, 0x17f
jbe 0x1400961aa
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
call fcn.140087840
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400962a0
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x1400962c2
mov qword [rsi + 8], rbx
mov qword [rsi], 1
jmp 0x140096394
mov rax, qword [0x1401a4148]
cmp rax, 3
jne 0x14009639f
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8d, 1
call fcn.14008c350
cmp qword [rsp + 0x20], 0
mov rdi, qword [rsp + 0x28]
je 0x140096303
mov qword [rsi + 8], rdi
mov qword [rsi], 1
jmp 0x140096394
cmp word [rbx], 0
je 0x140096324
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 0x140096339
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 0x140096374
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x140096394
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.140087390
jmp 0x1400962d3
Function at 0x1400967f0
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 0x140096894
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x1400968a3
cmp ecx, 0x17
jne 0x1400968c3
cmp eax, 0x1b
jbe 0x1400968dc
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 0x1400968d3
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x1400968ca
cmp eax, 0xf
jbe 0x1400968f6
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 0x1400968d3
lea rax, str.invalid_argument_
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, [0x14011f210]
mov edx, 0x43
call fcn.140008d60
ud2
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x14011f1b0]
mov edx, 0x42
call fcn.140008d60
ud2
Function at 0x14009ac70
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, r8
mov rdi, rcx
mov dword [rsp + 0x60], 0
mov word [rsp + 0x64], 0
mov dword [rsp + 0x40], 0
xorps xmm6, xmm6
movups xmmword [rsp + 0x48], xmm6
mov qword [rsp + 0x58], 7
mov byte [rsp + 0x60], 1
lea r8, [rsp + 0x40]
mov rcx, rdx
mov rdx, rax
call fcn.14008bb40
mov rsi, rdx
test rax, rax
je 0x14009ad2b
mov eax, esi
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x14009ad1f
test rax, rax
je 0x14009ad1f
mov rax, rsi
dec rsi
mov rbx, qword [rax - 1]
mov r14, qword [rax + 7]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x14009ad0e
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.140089430
mov rcx, qword [0x1401a4140]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov qword [rdi], 0
jmp 0x14009ae9d
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
mov dword [rsp + 0x70], 0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_GetFileInformationByHandle
test eax, eax
je 0x14009adda
test byte [rsp + 0x41], 4
je 0x14009ad83
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x78]
mov rcx, rsi
mov edx, 9
mov r9d, 8
call sub.KERNEL32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x14009adda
mov r12d, dword [rsp + 0x60]
mov r15d, dword [rsp + 0x64]
test rsi, rsi
je 0x14009ae06
mov qword [rsp + 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rax
mov rdx, rsi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x14009ae89
mov rbx, qword [rsp + 0x40]
jmp 0x14009ae08
call sub.KERNEL32.dll_GetLastError
mov qword [rdi], 0
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1400e686c
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x14009ae78
mov r14, rax
shl r12, 0x20
or r12, r15
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call fcn.1400e686c
test r15, r15
je 0x14009ae78
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x14009ae95
mov qword [rdi], 0
mov rcx, rbx
call fcn.1400e686c
jmp 0x14009ae95
call sub.KERNEL32.dll_GetLastError
mov qword [rdi], 0
mov rcx, rsi
call fcn.1400e686c
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14009cf60
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 [0x1400f1070]
test ecx, ecx
je 0x14009d046
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009cf94
cmp qword [rax + 8], 0
je 0x14009cf94
add rax, 0x10
jmp 0x14009d03f
mov ecx, dword [0x1400f1070]
test ecx, ecx
je 0x14009d059
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009d03d
mov rdi, rax
test rax, rax
jne 0x14009d006
mov rax, qword [0x14015c1f8]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call fcn.1400893a0
test rax, rax
je 0x14009d07c
mov rdi, rax
lea rax, [0x1400f1058]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f1070]
test ecx, ecx
je 0x14009d06c
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
xor ecx, ecx
test rsi, rsi
je 0x14009d026
mov rax, qword [rsi]
mov qword [rsi], 0
cmp rax, 1
jne 0x14009d026
mov rdx, qword [rsi + 8]
mov ecx, dword [rsi + 0x10]
jmp 0x14009d028
xor edx, edx
mov qword [rdi + 8], 1
lea rax, [rdi + 0x10]
mov qword [rdi + 0x10], rdx
mov byte [rdi + 0x18], cl
jmp 0x14009d03f
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1400f1058]
call fcn.140094610
mov ecx, eax
jmp 0x14009cf79
lea rcx, [0x1400f1058]
call fcn.140094610
mov ecx, eax
jmp 0x14009cfa4
lea rcx, [0x1400f1058]
call fcn.140094610
mov ecx, eax
jmp 0x14009cffe
mov ecx, 8
mov edx, 0x20
call fcn.1400041b0
ud2
Function at 0x14009d090
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 [0x1400f1090]
test ecx, ecx
je 0x14009d1b2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009d0c2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14009d1a4
mov ecx, dword [0x1400f1090]
test ecx, ecx
je 0x14009d1c5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009d166
mov rdi, rax
test rax, rax
jne 0x14009d14c
mov qword [rsp + 0x28], 0
lea rax, [0x1400f1078]
mov qword [rsp + 0x20], rax
mov rax, qword [0x14015c1f8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.1400893a0
test rax, rax
je 0x14009d1eb
mov rdi, rax
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov ecx, dword [0x1400f1090]
test ecx, ecx
je 0x14009d1d8
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x14009d16a
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14009d16c
mov rax, qword [rsi + 8]
jmp 0x14009d16c
xor edi, edi
jmp 0x14009d1a8
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x14009d1a4
test rcx, rcx
je 0x14009d1a4
lock dec qword [rcx]
jne 0x14009d1a4
lea rcx, [rsp + 0x28]
call fcn.14006e140
add rdi, 0x10
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1400f1078]
call fcn.140094610
mov ecx, eax
jmp 0x14009d0a9
lea rcx, [0x1400f1078]
call fcn.140094610
mov ecx, eax
jmp 0x14009d0d2
lea rcx, [0x1400f1078]
call fcn.140094610
mov ecx, eax
jmp 0x14009d144
mov ecx, 8
mov edx, 0x18
call fcn.1400041b0
ud2

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400f10b0]
test ecx, ecx
je 0x14009d2c6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009d249
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14009d2b5
mov ecx, dword [0x1400f10b0]
test ecx, ecx
je 0x14009d2d9
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009d2bb
mov rsi, rax
test rax, rax
jne 0x14009d2af
mov rax, qword [0x14015c1f8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.1400893a0
test rax, rax
je 0x14009d2fc
mov rsi, rax
lea rax, [0x1400f1098]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1400f10b0]
test ecx, ecx
je 0x14009d2ec
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x14009d2bd
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1400f1098]
call fcn.140094610
mov ecx, eax
jmp 0x14009d235
lea rcx, [0x1400f1098]
call fcn.140094610
mov ecx, eax
jmp 0x14009d259
lea rcx, [0x1400f1098]
call fcn.140094610
mov ecx, eax
jmp 0x14009d2a7
mov ecx, 8
mov edx, 0x10
call fcn.1400041b0
ud2
Function at 0x14009d310
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 [0x1400f10d0]
test ecx, ecx
je 0x14009d432
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009d342
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14009d424
mov ecx, dword [0x1400f10d0]
test ecx, ecx
je 0x14009d445
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009d3e6
mov rdi, rax
test rax, rax
jne 0x14009d3cc
mov qword [rsp + 0x28], 0
lea rax, [0x1400f10b8]
mov qword [rsp + 0x20], rax
mov rax, qword [0x14015c1f8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.1400893a0
test rax, rax
je 0x14009d46b
mov rdi, rax
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov ecx, dword [0x1400f10d0]
test ecx, ecx
je 0x14009d458
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x14009d3ea
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14009d3ec
mov rax, qword [rsi + 8]
jmp 0x14009d3ec
xor edi, edi
jmp 0x14009d428
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x14009d424
test rcx, rcx
je 0x14009d424
lock dec qword [rcx]
jne 0x14009d424
lea rcx, [rsp + 0x28]
call fcn.14006e290
add rdi, 0x10
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1400f10b8]
call fcn.140094610
mov ecx, eax
jmp 0x14009d329
lea rcx, [0x1400f10b8]
call fcn.140094610
mov ecx, eax
jmp 0x14009d352
lea rcx, [0x1400f10b8]
call fcn.140094610
mov ecx, eax
jmp 0x14009d3c4
mov ecx, 8
mov edx, 0x18
call fcn.1400041b0
ud2
Function at 0x14009d4a0
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 [0x1400f10f0]
test ecx, ecx
je 0x14009d5c1
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14009d4d7
mov rcx, rax
cmp qword [rax + 8], 0
je 0x14009d4d7
add rcx, 0x10
jmp 0x14009d5b7
mov ecx, dword [0x1400f10f0]
test ecx, ecx
je 0x14009d5d4
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14009d59a
mov rdi, rax
test rax, rax
jne 0x14009d54d
mov rax, qword [0x14015c1f8]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call fcn.1400893a0
test rax, rax
je 0x14009d5fa
mov rdi, rax
lea rax, [0x1400f10d8]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f10f0]
test ecx, ecx
je 0x14009d5e7
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x14009d56a
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x14009d5a3
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 0x14009d59e
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14009d5a3
xor ecx, ecx
jmp 0x14009d5b7
call fcn.140093c50
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, [0x1400f10d8]
call fcn.140094610
mov ecx, eax
jmp 0x14009d4b9
lea rcx, [0x1400f10d8]
call fcn.140094610
mov ecx, eax
jmp 0x14009d4e7
lea rcx, [0x1400f10d8]
call fcn.140094610
mov ecx, eax
jmp 0x14009d545
mov ecx, 8
mov edx, 0x20
call fcn.1400041b0
ud2
Function at 0x1400a8401
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 0x1400a843d
mov rcx, rax
mov rdx, rdi
mov r8d, esi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400839e0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400c6d90
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.1400c6d90
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 0x1400c6e9a
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 0x1400c6e70
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 0x1400d4400
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 0x1400d4520
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 0x1400d4460
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 0x1400d4460
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 0x1400d4460
Function at 0x1400d8d80
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400d8e2f
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 0x1400d8eda
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 0x1400d8e2f
cmp r8, 0
je 0x1400d8fa0
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 0x1400d8ef0
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 0x1400e7330
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.1400e80f0
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.1400e80f0
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 0x1400e73a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401a4284]
mov rbx, rcx
test esi, esi
jle 0x1400e74d0
mov rax, qword [0x1401a4288]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400e73eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400e7475
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400e73d0
mov rcx, rbx
call fcn.1400e7e10
mov rdi, rax
test rax, rax
je 0x1400e74f2
mov rax, qword [0x1401a4288]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400e7f50
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401a4288]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400e74d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400e746e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400e7480
add dword [0x1401a4284], 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 [0x1401a4288]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400e746e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400e7330
nop dword [rax]
xor esi, esi
jmp 0x1400e73f8
mov rax, qword [0x1401a4288]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400e7330
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400e7330
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400e7a80
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401a42e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401a42c0]
test rbx, rbx
je 0x1400e7adc
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 0x1400e7ad3
test eax, eax
jne 0x1400e7ad3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400e7ab8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]