joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140170b40
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14143b040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov rdi, rcx
mov rdx, qword [rcx + 0x20]
test rdx, rdx
je 0x140170c1c
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
movsxd rcx, dword [rcx + 0x28]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140170be4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [rax - 0x2734]
cmp ecx, 1
jbe 0x140170bbf
cmp eax, 0x2748
je 0x140170be4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
movsxd rcx, dword [rdi + 0x28]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rdi + 0x20], 0
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1403f4b10
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
movsxd rcx, dword [rdi + 0x28]
lea r8, [rsp + 0x20]
mov edx, 0x8004667e
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [rdi + 0x28]
mov dword [rdi + 0x10], eax
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov al, 1
mov qword [rdi + 0x20], 0
jmp 0x140170bc1
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x30], ymm0
mov dword [rsp + 0x38], 1
lea rdx, [0x1413a1938]
vmovups xmmword [rsp + 0x50], xmm0
movzx r8d, r8w
lea rcx, [rsp + 0x60]
vzeroupper
call fcn.140005590
lea r9, [rsp + 0x28]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140170bbf
mov rcx, qword [rsp + 0x28]
xor esi, esi
mov rbx, rcx
test rcx, rcx
je 0x140170cef
nop dword [rax + rax]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp eax, 0xffffffff
je 0x140170ce1
movsxd rbp, esi
lea r8, [rsp + 0x20]
mov rcx, rbp
mov dword [rsp + 0x20], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r8d, dword [rbx + 0x10]
mov rcx, rbp
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140170cea
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140170d23
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140170c80
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test rbx, rbx
je 0x140170bbf
movsxd rcx, esi
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov dword [rsp + 0x24], 0
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov al, 1
mov dword [rdi + 0x10], esi
jmp 0x140170bc1
mov rax, qword [rsp + 0x28]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rbx
mov dword [rdi + 0x28], esi
jmp 0x140170bbf
Function at 0x140170d60
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd rax, dword [rcx + 0x10]
mov ebx, r8d
mov rbp, rdx
mov rdi, rdx
test r8d, r8d
jle 0x140170db2
mov rsi, rax
nop dword [rax]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140170dcb
sub ebx, eax
cdqe
add rdi, rax
test ebx, ebx
jg 0x140170d90
sub edi, ebp
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffffff
jmp 0x140170db6

Function at 0x140170e20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0x48
mov rax, qword [0x14143b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movsxd rax, dword [rcx + 0x14]
mov r14, rdx
movsxd rbp, r8d
mov rdi, rcx
cmp ebp, eax
jg 0x140170e67
mov rdx, qword [rcx + 8]
mov r8, rbp
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
add qword [rdi + 8], rbp
mov eax, ebp
sub dword [rdi + 0x14], ebp
jmp 0x140170f41
test eax, eax
jle 0x140170e89
mov rdx, qword [rcx + 8]
mov r8, rax
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rdi + 0x14]
mov dword [rdi + 0x14], 0
jmp 0x140170f41
movsxd rbx, dword [rcx + 0x10]
mov eax, 0x300
mov qword [rsp + 0x20], rbx
mov r8d, r9d
mov word [rsp + 0x28], ax
mov edx, 1
mov qword [rsp + 0x40], rsi
cmp ebp, 0x20000
jl 0x140170edd
lea rcx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAPoll]
test eax, eax
jle 0x140170ed6
xor r9d, r9d
mov r8d, ebp
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
mov esi, eax
jmp 0x140170f3a
mov esi, 0xffffffff
jmp 0x140170f3a
mov rsi, qword [rcx]
lea rcx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAPoll]
test eax, eax
jle 0x140170f32
xor r9d, r9d
mov r8d, 0x20000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rdi + 0x14], eax
mov esi, eax
test eax, eax
jle 0x140170f3a
mov rdx, qword [rdi]
cmp ebp, eax
mov rcx, r14
cmovl esi, ebp
movsxd rbx, esi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rdi]
add rdx, rbx
sub dword [rdi + 0x14], esi
mov qword [rdi + 8], rdx
jmp 0x140170f3a
mov esi, 0xffffffff
mov dword [rdi + 0x14], esi
mov eax, esi
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1403f4b10
add rsp, 0x48
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x140176340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movabs rax, 0x9e3779b185ebca87
lea rdi, [0x140db1780]
mov r9, rdx
mov r11d, edx
imul r9, rax
shr r11d, 4
mov rbx, rdx
xor r8d, r8d
mov r10, rcx
nop word [rax + rax]
mov eax, r8d
inc r8d
shl eax, 4
mov ecx, eax
mov rdx, qword [rax + r10]
mov rax, qword [rax + rdi + 8]
xor rax, qword [rcx + r10 + 8]
mov rcx, qword [rcx + rdi]
xor rcx, rdx
mul rcx
xor rax, rdx
add r9, rax
cmp r8d, 8
jb 0x140176380
mov rax, qword [0x140db17ff]
movabs rsi, 0x165667919e3779f9
xor rax, qword [r10 + rbx - 8]
mov r8d, 8
mov rcx, qword [0x140db17f7]
xor rcx, qword [r10 + rbx - 0x10]
mul rcx
mov rcx, r9
shr rcx, 0x25
mov rbx, rax
xor rcx, r9
xor rbx, rdx
imul rcx, rsi
mov r9, rcx
shr r9, 0x20
xor r9, rcx
cmp r11d, r8d
jbe 0x140176436
nop dword [rax]
mov eax, r8d
mov ecx, r8d
shl ecx, 4
inc r8d
shl eax, 4
add ecx, 0xffffff80
mov rdx, qword [rcx + rdi + 0xb]
xor rdx, qword [rax + r10 + 8]
mov rcx, qword [rcx + rdi + 3]
xor rcx, qword [rax + r10]
mov rax, rdx
mul rcx
xor rdx, rax
add rbx, rdx
cmp r8d, r11d
jb 0x140176400
mov rdi, qword [rsp + 0x18]
lea rax, [rbx + r9]
mov rbx, qword [rsp + 8]
mov rcx, rax
shr rcx, 0x25
xor rcx, rax
imul rcx, rsi
mov rsi, qword [rsp + 0x10]
mov rax, rcx
shr rax, 0x20
xor rax, rcx
ret

Function at 0x140176c00
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, byte [rdx + 6]
mov qword [rsp + 8], rcx
test r9b, r9b
je 0x140176c8c
movzx ecx, word [rdx + 4]
mov r10d, r9d
mov eax, dword [rdx]
shl rcx, 0x20
or rcx, rax
xor r11d, r11d
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx + 3]
mov edx, dword [rcx + 6]
lea rcx, [rcx + 0x12]
mov dword [rsp + 8], r11d
mov word [rsp + 8], ax
movzx eax, byte [rcx - 0xd]
mov byte [rsp + 0xa], al
movzx eax, word [rcx - 0x12]
mov dword [rsp + 0x10], r11d
mov word [rsp + 0x10], ax
movzx eax, byte [rcx - 0x10]
mov byte [rsp + 0x12], al
imul rax, r9, 0x21
xor rdx, rax
imul r8, rdx, 0x21
mov edx, dword [rsp + 8]
dec edx
xor r8, rdx
imul r9, r8, 0x21
mov r8d, dword [rsp + 0x10]
dec r8d
xor r9, r8
sub r10, 1
jne 0x140176c30
mov rax, r9
ret
Function at 0x14019d1e0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14143b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x22b8]
mov byte [rsp + 0x20], dl
mov qword [rsp + 0x21], r8
mov dword [rsp + 0x29], r9d
test rax, rax
je 0x14019d282
cmp dword [rcx + 0x22b1], 0
jne 0x14019d282
cmp dword [rcx + 0x22a6], 0
jne 0x14019d282
mov qword [rsp + 0x48], rsi
dec rax
mov qword [rcx + 0x22b8], rax
mov ebx, recv
movsxd rsi, dword [rcx + 0x10]
mov qword [rsp + 0x40], rdi
lea rdi, [rsp + 0x20]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x14019d265
sub ebx, eax
cdqe
add rdi, rax
test ebx, ebx
jg 0x14019d243
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1403f4b10
add rsp, 0x50
pop rbx
ret
cmp dl, 9
jae 0x14019d305
lea rbx, [rcx + 0x22ab]
movzx ecx, word [rbx + 4]
mov eax, dword [rbx]
shl rcx, 0x20
or rcx, rax
jne 0x14019d2a1
xor eax, eax
jmp 0x14019d2b2
movzx eax, byte [rbx + 0xa]
mov ecx, 1
and eax, 0x7f
shlx eax, ecx, eax
cmp dword [rbx + 6], eax
jne 0x14019d2bf
mov rcx, rbx
call fcn.1401ad7c0
mov eax, dword [rbx]
movzx edx, word [rbx + 4]
vmovsd xmm0, qword [rsp + 0x20]
shl rdx, 0x20
or rdx, rax
mov eax, dword [rbx + 6]
imul rcx, rax, 0xd
vmovsd qword [rdx + rcx], xmm0
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx + 8], eax
movzx eax, byte [rsp + 0x2c]
mov byte [rdx + rcx + 0xc], al
inc dword [rbx + 6]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1403f4b10
add rsp, 0x50
pop rbx
ret
lea rbx, [rcx + 0x22a0]
jmp 0x14019d28e

Function at 0x14019d310
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14143b040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movsxd rsi, dword [rcx + 0x10]
lea rdi, [rsp + 0x20]
xor eax, eax
mov byte [rsp + 0x20], 0
mov qword [rsp + 0x21], rax
mov ebx, recv
mov dword [rsp + 0x29], eax
nop dword [rax]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x14019d372
sub ebx, eax
cdqe
add rdi, rax
test ebx, ebx
jg 0x14019d350
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1403f4b10
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14019d460
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ecx, 8
xor esi, esi
mov rbp, rdx
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14145c2a8], eax
jle 0x14019d4ed
lea rcx, [0x14145c2a8]
call fcn.1403f4e98
cmp dword [0x14145c2a8], 0xffffffff
jne 0x14019d4ed
xor eax, eax
mov qword [0x14145c2b0], rsi
lea rcx, [0x14145c2a8]
mov qword [0x14145c2cb], rax
mov dword [0x14145c2d3], eax
mov byte [0x14145c2b8], sil
mov qword [0x14145c2b9], rsi
mov byte [0x14145c2c1], sil
mov qword [0x14145c2c2], rsi
mov byte [0x14145c2ca], sil
call fcn.1403f4e2c
cmp qword [rdi + 0xd88], 0x7fff
jbe 0x14019d517
mov dword [rdi + 0x2260], 0xd
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov eax, dword [0x14145c2d0]
lea r8, [rsp + 0x30]
vmovups ymm0, ymmword [0x14145c2b0]
mov dword [rsp + 0x58], eax
lea rdx, [rsp + 0x20]
movzx eax, word [0x14145c2d4]
lea rcx, [rdi + 0xd68]
mov word [rsp + 0x5c], ax
movzx eax, byte [0x14145c2d6]
mov byte [rsp + 0x5e], al
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x30], rbp
vmovups ymmword [rsp + 0x38], ymm0
vzeroupper
call fcn.1401b6f30
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x14019d62c
sub ecx, 1
je 0x14019d5ae
sub ecx, 1
je 0x14019d584
cmp ecx, 1
jne 0x14019d5ae
mov rax, qword [rsp + 0x20]
vmovups ymm0, ymmword [rsp + 0x30]
vmovups xmm1, xmmword [rsp + 0x50]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0xd78]
add rcx, rcx
vmovups ymmword [rax + rcx*8], ymm0
vmovups xmmword [rax + rcx*8 + 0x20], xmm1
inc dword [rdi + 0x920]
lea rbx, [rdi + 0x752]
movzx ecx, word [rbx + 4]
mov eax, dword [rbx]
shl rcx, 0x20
or rcx, rax
je 0x14019d5db
movzx eax, byte [rbx + 0xa]
mov ecx, 1
and eax, 0x7f
shlx esi, ecx, eax
cmp dword [rbx + 6], esi
jne 0x14019d5eb
mov rcx, rbx
vzeroupper
call fcn.1401ae1c0
mov eax, dword [rbx]
xor r9d, r9d
movzx ecx, word [rbx + 4]
mov r8, rbp
shl rcx, 0x20
mov dl, 3
or rcx, rax
mov eax, dword [rbx + 6]
mov qword [rcx + rax*8], rbp
mov rcx, rdi
inc dword [rbx + 6]
vzeroupper
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
jmp fcn.14019d1e0
call fcn.14001c8f0
int3
Function at 0x14019f370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
cmp qword [rcx + 0x2310], r8
jae 0x14019f3bc
mov qword [rcx + 0x2310], r8
mov rcx, qword [rcx + 0x2308]
call fcn.1403f4db4
mov rcx, rdi
call fcn.1403f4de8
mov qword [rsi + 0x2308], rax
mov rbx, qword [rsi + 0x2308]
mov r8, rdi
mov rcx, rbx
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov r10, rdi
lea rax, [rbx + 4]
shr r10, 3
nop dword [rax]
mov r9d, dword [rax]
lea rax, [rax + 8]
not r9d
mov r8d, r9d
shr r8d, 1
xor r8d, r9d
lea ecx, [r9 + r9]
xor r8d, ecx
and r8d, 0x55555555
xor r8d, r9d
xor r8d, ecx
mov dword [rax - 8], r8d
sub r10, 1
jne 0x14019f3e0
mov r8, rdi
mov rdx, rbx
shr r8, 3
call fcn.1401d4b80
mov rax, qword [rsi + 0x2308]
lea r9, [rsi + 0x2320]
mov rdx, qword [rsi + 0x2328]
lea r8, [rsi + 0x2318]
mov dword [rsp + 0x28], edi
lea rcx, [rsi + 0x2318]
mov qword [rsp + 0x20], rax
lea rbx, [rsi + 0x960]
call fcn.1401d4a20
mov r8d, dword [rbx + 8]
mov ecx, 0x4000000
mov r14d, eax
mov edx, r8d
mov ebp, eax
lea rax, [r8 + r14]
cmp rax, rcx
ja 0x14019f481
mov rdi, qword [rbx]
lea eax, [r8 + r14]
mov dword [rbx + 8], eax
add rdi, rdx
jmp 0x14019f4e0
cmp rbp, rcx
ja 0x14019f4a2
sub rcx, rdx
cmp rcx, 0x400
ja 0x14019f4a2
mov edx, r14d
mov rcx, rbx
call fcn.1401ad8a0
mov rdi, rax
jmp 0x14019f4e0
lock add qword [0x141443c50], rbp
add qword [rbx + 0x28], rbp
mov rcx, rbp
call fcn.1403f4de8
mov rdx, qword [rbx + 0x18]
lea rcx, [rbx + 0x10]
mov rdi, rax
mov qword [rsp + 0x50], rax
cmp rdx, qword [rbx + 0x20]
je 0x14019f4d6
mov qword [rdx], rax
add qword [rbx + 0x18], 8
jmp 0x14019f4e0
lea r8, [rsp + 0x50]
call fcn.140004590
mov rdx, qword [rsi + 0x2318]
mov r8, rbp
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov dword [rsi + 0x828], r14d
mov qword [rsi + 0x820], rdi
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1401a9360
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov r15, rdx
mov r13, rcx
mov rcx, r15
lea rdx, [0x1413a189c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
xor edx, edx
mov r8d, 2
mov rcx, rax
mov r14, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, r14
movsxd rbp, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
lea rbx, [r13 + 0x960]
mov ecx, 0x4000000
mov r8d, dword [rbx + 8]
mov rsi, rbp
mov edx, r8d
lea rax, [r8 + rbp]
cmp rax, rcx
ja 0x1401a93e8
mov rdi, qword [rbx]
lea eax, [r8 + rbp]
mov dword [rbx + 8], eax
add rdi, rdx
jmp 0x1401a944c
cmp rsi, rcx
ja 0x1401a9408
sub rcx, rdx
cmp rcx, 0x400
ja 0x1401a9408
mov edx, ebp
mov rcx, rbx
call fcn.1401ad8a0
mov rdi, rax
jmp 0x1401a944c
lock add qword [0x141443c50], rsi
add qword [rbx + 0x28], rsi
mov rcx, rsi
call fcn.1403f4de8
mov rdx, qword [rbx + 0x18]
lea rcx, [rbx + 0x10]
mov rdi, rax
mov qword [rsp + 0x90], rax
cmp rdx, qword [rbx + 0x20]
je 0x1401a943f
mov qword [rdx], rax
add qword [rbx + 0x18], 8
jmp 0x1401a944c
lea r8, [rsp + 0x90]
call fcn.140004590
mov r9, r14
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], ebp
lea rdx, [rsp + 0x30]
vmovups xmm0, xmmword [rsp + 0x20]
lea rcx, [r13 + 0x2150]
mov qword [rsp + 0x40], r15
vmovups xmmword [rsp + 0x48], xmm0
call fcn.1401b8140
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x1401a94f0
sub ecx, 1
je 0x1401a94d7
sub ecx, 1
je 0x1401a94b0
cmp ecx, 1
jne 0x1401a94d7
mov rax, qword [rsp + 0x30]
vmovups xmm0, xmmword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x2160]
vmovups xmmword [rax + rcx*8], xmm0
vmovsd xmm0, qword [rsp + 0x28]
vmovsd qword [rax + rcx*8 + 0x10], xmm0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call fcn.14001c8f0
int3
Function at 0x1401ab210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rdi, rcx
mov edx, 9
mov rcx, r8
mov rbx, r8
call fcn.1401767f0
mov esi, dword [rdi + 0x38]
mov rdx, rax
imul rdx, qword [rdi + 8]
mov rbp, qword [rdi + 0x28]
mov r11, qword [rdi + 0x18]
mov rax, rdx
shr rax, 0x21
xor rdx, rax
mov eax, dword [rdi + 0x3c]
mov r9, rdx
shr rdx, 5
and r9d, 0x1f
shrx r8, r9, rax
add r8d, esi
and rdx, rbp
movzx eax, byte [r11 + rdx]
lea r9, [rdx + rdx*8]
nop
mov rcx, qword [rdi + 0x10]
cmp r8d, eax
jne 0x1401ab29d
mov rax, qword [rbx]
cmp rax, qword [r9 + rcx]
jne 0x1401ab29d
movzx eax, byte [rbx + 8]
cmp al, byte [r9 + rcx + 8]
je 0x1401ab309
movzx eax, byte [r11 + rdx + 1]
inc rdx
add r8d, esi
mov r10, rcx
cmp r8d, eax
jne 0x1401ab2c8
mov rax, qword [rbx]
cmp rax, qword [r9 + rcx + 9]
jne 0x1401ab2cb
movzx eax, byte [rbx + 8]
cmp al, byte [r9 + rcx + 0x11]
je 0x1401ab306
jmp 0x1401ab2cb
mov r10, rcx
movzx eax, byte [r11 + rdx + 1]
inc rdx
add r9, 0x12
add r8d, esi
cmp r8d, eax
jbe 0x1401ab280
test rbp, rbp
jne 0x1401ab2e9
xor edx, edx
jmp 0x1401ab306
mov rcx, r11
movabs rax, 0x1c71c71c71c71c72
sub rcx, r10
imul rcx
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, r10
mov rbx, qword [rsp + 0x30]
lea rax, [r11 + rdx]
mov rbp, qword [rsp + 0x38]
lea rcx, [rcx + rdx*8]
mov rsi, qword [rsp + 0x40]
add rcx, rdx
mov rdi, qword [rsp + 0x48]
mov qword [r14 + 8], rax
mov rax, r14
mov qword [r14], rcx
add rsp, 0x20
pop r14
ret

Function at 0x1401abc70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rdi, rcx
mov edx, 9
mov rcx, r8
mov rbx, r8
call fcn.1401767f0
imul rax, qword [rdi + 8]
mov r8d, dword [rdi + 0x3c]
mov rbp, qword [rdi + 0x28]
mov r9, rax
mov r11, qword [rdi + 0x18]
mov esi, dword [rdi + 0x38]
shr r9, 0x21
xor rax, r9
mov r9, rax
shr rax, 5
and rax, rbp
and r9d, 0x1f
shrx r10, r9, r8
add r10d, esi
mov r8, rax
shl r8, 4
movzx ecx, byte [r11 + rax]
mov rdx, qword [rdi + 0x10]
cmp r10d, ecx
jne 0x1401abcfd
mov rcx, qword [rbx]
cmp rcx, qword [r8 + rdx]
jne 0x1401abcfd
movzx ecx, byte [rbx + 8]
cmp cl, byte [r8 + rdx + 8]
je 0x1401abd56
movzx ecx, byte [r11 + rax + 1]
inc rax
add r10d, esi
mov r9, rdx
cmp r10d, ecx
jne 0x1401abd28
mov rcx, qword [rbx]
cmp rcx, qword [r8 + rdx + 0x10]
jne 0x1401abd2b
movzx ecx, byte [rbx + 8]
cmp cl, byte [r8 + rdx + 0x18]
je 0x1401abd53
jmp 0x1401abd2b
mov r9, rdx
movzx ecx, byte [r11 + rax + 1]
inc rax
add r8, 0x20
add r10d, esi
cmp r10d, ecx
jbe 0x1401abce0
test rbp, rbp
jne 0x1401abd49
xor eax, eax
jmp 0x1401abd53
mov rax, r11
sub rax, r9
sar rax, 4
mov rdx, r9
mov rbx, qword [rsp + 0x30]
mov rcx, rax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
shl rcx, 4
add rcx, rdx
mov qword [r14], rcx
lea rcx, [r11 + rax]
mov qword [r14 + 8], rcx
mov rax, r14
add rsp, 0x20
pop r14
ret
Function at 0x1401af530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1401af554
call fcn.140026410
test al, al
je 0x1401af67f
mov rax, qword [rbx + 8]
imul rax, qword [rdi]
mov r9d, dword [rbx + 0x38]
mov rcx, rax
mov qword [rsp + 0x30], rsi
shr rcx, 0x21
xor rax, rcx
mov ecx, dword [rbx + 0x3c]
mov rdx, rax
shr rax, 5
and rax, qword [rbx + 0x28]
and edx, 0x1f
shrx r8, rdx, rcx
mov rdx, qword [rbx + 0x18]
add r8d, r9d
movzx ecx, byte [rdx + rax]
cmp r8d, ecx
ja 0x1401af5b0
nop word [rax + rax]
movzx ecx, byte [rdx + rax + 1]
inc rax
add r8d, r9d
cmp r8d, ecx
jbe 0x1401af5a0
movzx ecx, r8b
xor esi, esi
add ecx, r9d
mov r10, rax
cmp ecx, 0xff
jbe 0x1401af5c8
mov qword [rbx + 0x30], rsi
cmp byte [rdx + rax], sil
je 0x1401af5d9
nop
inc rax
cmp byte [rdx + rax], sil
jne 0x1401af5d0
mov rdx, qword [rbx + 0x10]
mov r11, r10
shl r11, 4
add r11, rdx
cmp rax, r10
je 0x1401af65a
mov rcx, rax
lea r9, [rax - 1]
add rcx, rcx
vmovups xmm0, xmmword [rdx + rcx*8 - 0x10]
vmovups xmmword [rdx + rcx*8], xmm0
cmp r9, r10
je 0x1401af629
mov rdx, r9
shl rdx, 4
sub r9, r10
mov rcx, qword [rbx + 0x10]
lea rdx, [rdx - 0x10]
vmovups xmm0, xmmword [rdx + rcx]
vmovups xmmword [rdx + rcx + 0x10], xmm0
sub r9, 1
jne 0x1401af610
mov rdx, qword [rbx + 0x18]
nop dword [rax]
movzx ecx, byte [rdx + rax - 1]
add cl, byte [rbx + 0x38]
mov byte [rdx + rax], cl
mov rdx, qword [rbx + 0x18]
movzx ecx, byte [rdx + rax]
add ecx, dword [rbx + 0x38]
cmp ecx, 0xff
jbe 0x1401af652
mov qword [rbx + 0x30], rsi
dec rax
cmp rax, r10
jne 0x1401af630
vmovups xmm0, xmmword [rdi]
mov rsi, qword [rsp + 0x30]
vmovups xmmword [r11], xmm0
mov rax, qword [rbx + 0x18]
mov byte [r10 + rax], r8b
inc qword [rbx + 0x20]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.14001c8f0
int3

Function at 0x1401b50a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rcx, rbx
mov edx, 9
call fcn.1401767f0
imul rax, qword [rdi + 8]
mov r10, qword [rdi + 0x18]
mov r11d, dword [rdi + 0x38]
mov r8, rax
shr r8, 0x21
xor rax, r8
mov r8d, dword [rdi + 0x3c]
mov r9, rax
shr rax, 5
and rax, qword [rdi + 0x28]
and r9d, 0x1f
shrx rdx, r9, r8
mov r8, rax
add edx, r11d
shl r8, 4
movzx ecx, byte [r10 + rax]
cmp edx, ecx
jne 0x1401b5117
mov r9, qword [rdi + 0x10]
mov rcx, qword [rbx]
cmp rcx, qword [r9 + r8]
jne 0x1401b5117
movzx ecx, byte [rbx + 8]
cmp cl, byte [r9 + r8 + 8]
je 0x1401b5173
movzx ecx, byte [r10 + rax + 1]
inc rax
add edx, r11d
cmp edx, ecx
jne 0x1401b5140
mov r9, qword [rdi + 0x10]
mov rcx, qword [rbx]
cmp rcx, qword [r9 + r8 + 0x10]
jne 0x1401b5140
movzx ecx, byte [rbx + 8]
cmp cl, byte [r9 + r8 + 0x18]
je 0x1401b5173
movzx ecx, byte [r10 + rax + 1]
inc rax
add r8, 0x20
add edx, r11d
cmp edx, ecx
jbe 0x1401b50fd
cmp qword [rdi + 0x28], 0
jne 0x1401b5168
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, r10
sub rax, qword [rdi + 0x10]
sar rax, 4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret