joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140092fa0
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 [0x1401af130]
cmp rax, 3
jne 0x140093094
cmp rbx, 0x17f
ja 0x1400930a6
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 0x140093024
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400930b7
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 0x14009307c
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 0x1400930b7
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 0x1400930b7
call fcn.14008c890
cmp rbx, 0x17f
jbe 0x140092fda
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
call fcn.14008cd40
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400930d0
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x1400930f2
mov qword [rsi + 8], rbx
mov qword [rsi], 1
jmp 0x1400931c4
mov rax, qword [0x1401af130]
cmp rax, 3
jne 0x1400931cf
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8d, 1
call fcn.140090240
cmp qword [rsp + 0x20], 0
mov rdi, qword [rsp + 0x28]
je 0x140093133
mov qword [rsi + 8], rdi
mov qword [rsi], 1
jmp 0x1400931c4
cmp word [rbx], 0
je 0x140093154
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 0x140093169
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 0x1400931a4
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1400931c4
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.14008c890
jmp 0x140093103
Function at 0x140093590
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 0x140093634
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x140093643
cmp ecx, 0x17
jne 0x140093663
cmp eax, 0x1b
jbe 0x14009367c
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 0x140093673
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x14009366a
cmp eax, 0xf
jbe 0x140093694
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 0x140093673
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, [0x1401249a0]
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, [0x140124940]
mov edx, 0x42
call fcn.140008780
int3
Function at 0x14009a140
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 [0x1400f00a0]
test ecx, ecx
je 0x14009a226
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a174
cmp qword [rax + 8], 0
je 0x14009a174
add rax, 0x10
jmp 0x14009a21f
mov ecx, dword [0x1400f00a0]
test ecx, ecx
je 0x14009a239
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14009a21d
mov rdi, rax
test rax, rax
jne 0x14009a1e6
mov rax, qword [0x140164d78]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call fcn.14008df60
test rax, rax
je 0x14009a25c
mov rdi, rax
lea rax, [0x1400f0088]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f00a0]
test ecx, ecx
je 0x14009a24c
dec ecx
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
xor ecx, ecx
test rsi, rsi
je 0x14009a206
mov rax, qword [rsi]
mov qword [rsi], 0
cmp rax, 1
jne 0x14009a206
mov rdx, qword [rsi + 8]
mov ecx, dword [rsi + 0x10]
jmp 0x14009a208
xor edx, edx
mov qword [rdi + 8], 1
lea rax, [rdi + 0x10]
mov qword [rdi + 0x10], rdx
mov byte [rdi + 0x18], cl
jmp 0x14009a21f
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1400f0088]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a159
lea rcx, [0x1400f0088]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a184
lea rcx, [0x1400f0088]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a1de
mov ecx, 8
mov edx, 0x20
call fcn.140004060
int3

Function at 0x14009a270
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 [0x1400f00c0]
test ecx, ecx
je 0x14009a37a
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a2a2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14009a36c
mov ecx, dword [0x1400f00c0]
test ecx, ecx
je 0x14009a38d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14009a32e
mov rdi, rax
test rax, rax
jne 0x14009a314
mov rax, qword [0x140164d78]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.14008df60
test rax, rax
je 0x14009a3b3
mov rdi, rax
lea rax, [0x1400f00a8]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f00c0]
test ecx, ecx
je 0x14009a3a0
dec ecx
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x14009a332
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14009a334
mov rax, qword [rsi + 8]
jmp 0x14009a334
xor edi, edi
jmp 0x14009a370
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 0x14009a36c
test rcx, rcx
je 0x14009a36c
lock dec qword [rcx]
jne 0x14009a36c
lea rcx, [rsp + 0x30]
call fcn.140075b00
add rdi, 0x10
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1400f00a8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a289
lea rcx, [0x1400f00a8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a2b2
lea rcx, [0x1400f00a8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a30c
mov ecx, 8
mov edx, 0x18
call fcn.140004060
int3
Function at 0x14009a3d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1400f00e0]
test ecx, ecx
je 0x14009a476
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a3f9
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14009a465
mov ecx, dword [0x1400f00e0]
test ecx, ecx
je 0x14009a489
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14009a46b
mov rsi, rax
test rax, rax
jne 0x14009a45f
mov rax, qword [0x140164d78]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.14008df60
test rax, rax
je 0x14009a4ac
mov rsi, rax
lea rax, [0x1400f00c8]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x1400f00e0]
test ecx, ecx
je 0x14009a49c
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x14009a46d
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1400f00c8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a3e5
lea rcx, [0x1400f00c8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a409
lea rcx, [0x1400f00c8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a457
mov ecx, 8
mov edx, 0x10
call fcn.140004060
int3

Function at 0x14009a4c0
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 [0x1400f0100]
test ecx, ecx
je 0x14009a5ca
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a4f2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14009a5bc
mov ecx, dword [0x1400f0100]
test ecx, ecx
je 0x14009a5dd
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14009a57e
mov rdi, rax
test rax, rax
jne 0x14009a564
mov rax, qword [0x140164d78]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.14008df60
test rax, rax
je 0x14009a603
mov rdi, rax
lea rax, [0x1400f00e8]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f0100]
test ecx, ecx
je 0x14009a5f0
dec ecx
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x14009a582
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14009a584
mov rax, qword [rsi + 8]
jmp 0x14009a584
xor edi, edi
jmp 0x14009a5c0
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 0x14009a5bc
test rcx, rcx
je 0x14009a5bc
lock dec qword [rcx]
jne 0x14009a5bc
lea rcx, [rsp + 0x30]
call fcn.140075b60
add rdi, 0x10
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1400f00e8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a4d9
lea rcx, [0x1400f00e8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a502
lea rcx, [0x1400f00e8]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a55c
mov ecx, 8
mov edx, 0x18
call fcn.140004060
int3
Function at 0x14009a620
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 [0x1400f0120]
test ecx, ecx
je 0x14009a741
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14009a657
mov rcx, rax
cmp qword [rax + 8], 0
je 0x14009a657
add rcx, 0x10
jmp 0x14009a737
mov ecx, dword [0x1400f0120]
test ecx, ecx
je 0x14009a754
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14009a71a
mov rdi, rax
test rax, rax
jne 0x14009a6cd
mov rax, qword [0x140164d78]
movzx eax, byte [rax]
mov ecx, 0x20
mov edx, 8
call fcn.14008df60
test rax, rax
je 0x14009a77a
mov rdi, rax
lea rax, [0x1400f0108]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x1400f0120]
test ecx, ecx
je 0x14009a767
dec ecx
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x14009a6ea
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x10]
mov qword [rsi], 0
cmp rcx, 1
je 0x14009a723
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 0x14009a71e
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14009a723
xor ecx, ecx
jmp 0x14009a737
call fcn.140090fe0
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, [0x1400f0108]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a639
lea rcx, [0x1400f0108]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a667
lea rcx, [0x1400f0108]
call fcn.1400919b0
mov ecx, eax
jmp 0x14009a6c5
mov ecx, 8
mov edx, 0x20
call fcn.140004060
int3
Function at 0x1400a5c31
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 0x1400a5c6d
mov rcx, rax
mov rdx, rdi
mov r8d, esi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14008aae0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400c8cd0
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.1400c8cd0
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 0x1400c8dda
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 0x1400c8db0
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 0x1400d3980
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 0x1400d3aa0
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 0x1400d39e0
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 0x1400d39e0
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 0x1400d39e0
Function at 0x1400d7900
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400d79ae
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 0x1400d7a59
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 0x1400d79ae
cmp r8, 0
je 0x1400d7b1f
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 0x1400d7a6f
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
Function at 0x1400e5f70
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.1400e6d30
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.1400e6d30
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 0x1400e5fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401af1e4]
mov rbx, rcx
test esi, esi
jle 0x1400e6110
mov rax, qword [0x1401af1e8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400e602b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400e60b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400e6010
mov rcx, rbx
call fcn.1400e6a50
mov rdi, rax
test rax, rax
je 0x1400e6132
mov rax, qword [0x1401af1e8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400e6b90
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401af1e8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400e6117
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400e60ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400e60c0
add dword [0x1401af1e4], 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 [0x1401af1e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1400e60ae
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400e5f70
nop dword [rax]
xor esi, esi
jmp 0x1400e6038
mov rax, qword [0x1401af1e8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400e5f70
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400e5f70
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400e66c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401af240]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401af220]
test rbx, rbx
je 0x1400e671c
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 0x1400e6713
test eax, eax
jne 0x1400e6713
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400e66f8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400e6a50
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140164c90]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400e6a70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400e6a78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400e6a70
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400e6acd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400e6ac4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400e6a70
add rax, 0x28
cmp rax, r9
jne 0x1400e6ab0
xor eax, eax
ret

Function at 0x1400e6ad0
Capabilities:
Parse pe header

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

Function at 0x1400e6b90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140164c90]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400e6baf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400e6bb8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret