joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a7c0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
mov r15, qword [rbp + 0x70]
cmp qword [r8], 0xffffffffffffffff
je 0x14007a809
mov dword [r15], 1
lea rax, [0x140294978]
mov qword [r15 + 8], rax
mov dword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x14007a9e2
mov ebx, r9d
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x18], r8
mov r14d, dword [rbp + 0x68]
mov r12d, dword [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov edi, ebx
mov ecx, ebx
mov edx, r12d
mov r8d, r14d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [r15], eax
lea r12, str.P__
mov qword [r15 + 8], r12
cmp rbx, 0xffffffffffffffff
je 0x14007a990
cmp edi, 0x17
jne 0x14007a894
mov dword [rbp - 0x30], 0
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x30]
mov rcx, rbx
mov edx, 0x29
mov r8d, 0x1b
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [r15], 0
lea rax, [0x140223e70]
mov qword [r15 + 8], rax
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 8]
mov rdx, qword [rax + 0x28]
mov rcx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
je 0x14007a998
mov dword [r15], 0
lea rax, [0x140223e70]
mov qword [r15 + 8], rax
mov ecx, dword [rbp + 0x60]
mov qword [rbp - 0x20], 0xffffffffffffffff
mov rax, qword [rbp - 0x18]
mov qword [rax], rbx
cmp ecx, 2
sete dl
shl dl, 5
cmp ecx, 1
movzx ecx, dl
mov edx, select
cmovne edx, ecx
mov byte [rax + 8], dl
mov ecx, 0x18
call fcn.1401c3b4c
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, fcn.140006120
mov qword [rax], rcx
mov qword [rax + 0x10], 0
mov rcx, qword [rbp - 0x18]
mov qword [rcx + 0x10], 0
mov rdi, qword [rcx + 0x18]
mov qword [rcx + 0x18], rax
test rdi, rdi
je 0x14007a968
lock dec dword [rdi + 8]
jne 0x14007a968
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock dec dword [rdi + 0xc]
jne 0x14007a968
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov dword [r15], 0
lea rax, [0x140223e70]
mov qword [r15 + 8], rax
mov dword [rsi], 0
mov qword [rsi + 8], rax
mov rbx, qword [rbp - 0x20]
cmp rbx, 0xffffffffffffffff
jne 0x14007a9bd
jmp 0x14007a9e2
mov dword [rsi], eax
mov qword [rsi + 8], r12
jmp 0x14007a9e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov qword [r15 + 8], r12
test eax, eax
mov ecx, dword [rbp + 0x60]
je 0x14007a8df
mov dword [rsi], eax
mov qword [rsi + 8], r12
lea rax, [0x140223e70]
mov dword [rbp - 0x30], 0
mov qword [rbp - 0x28], rax
mov byte [rbp - 9], 0
mov r8d, 1
lea rdx, [rbp - 9]
lea r9, [rbp - 0x30]
mov rcx, rbx
call fcn.14007a2a0
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
Function at 0x14007cf50
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
vmovups xmmword [rsp + 0x250], xmm6
mov rsi, qword [rsp + 0x2e0]
cmp rcx, 0xffffffffffffffff
je 0x14007cfa3
mov rdi, r9
mov rbx, r8
mov ebp, edx
mov r14, rcx
test dl, 0x10
je 0x14007cfdf
cmp byte [rsp + 0x2d8], 0
je 0x14007cfdf
mov dword [rsi], 0
lea rax, [0x140223e70]
jmp 0x14007cfb0
mov dword [rsi], 0x2719
lea rax, str.P__
mov qword [rsi + 8], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x38]
vmovups xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [r14 + 1]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], 0
vxorps xmm6, xmm6, xmm6
mov r15, qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r12, str.P__
nop word cs:[rax + rax]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x2d0]
mov dword [rsp + 0x44], eax
vmovups xmmword [rsp + 0x28], xmm6
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rbx
mov r8d, edi
lea r9, [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov r13d, eax
call r15
mov dword [rsi], eax
mov qword [rsi + 8], r12
cmp eax, 0x40
je 0x14007d070
cmp eax, 0x4d2
jne 0x14007d077
mov eax, 0x274d
jmp 0x14007d075
mov eax, 0x2746
mov dword [rsi], eax
test r13d, r13d
je 0x14007d090
mov rcx, r12
jmp 0x14007d0d0
mov dword [rsi], 0
lea rax, [0x140223e70]
mov qword [rsi + 8], rax
mov edx, dword [rsp + 0x48]
test edx, edx
jg 0x14007d161
xor eax, eax
lea rcx, [0x140223e70]
test bpl, 0x10
je 0x14007d0d0
test edx, edx
je 0x14007d16b
nop word cs:[rax + rax]
test bpl, 1
jne 0x14007cfbd
mov rdx, qword [rcx + 8]
cmp eax, 0x2733
sete cl
cmp eax, 0x4d5
sete al
cmp rdx, qword [str.hI__]
jne 0x14007cfbd
or cl, al
je 0x14007cfbd
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x48], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov qword [rsp + 0x20], 0
mov ecx, dword [rsp + 0x40]
lea rdx, [rsp + 0x48]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_select]
mov r13d, eax
call r15
mov dword [rsi], eax
mov qword [rsi + 8], r12
test r13d, r13d
js 0x14007cfb4
mov dword [rsi], 0
lea rax, [0x140223e70]
mov qword [rsi + 8], rax
jmp 0x14007d010
mov qword [rsp + 0x38], rdx
jmp 0x14007cfbd
mov dword [rsi], 2
lea rax, [0x140294978]
jmp 0x14007cfb0
Function at 0x14007d7f0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r9
mov rbx, r8
mov rsi, rdx
cmp qword [r8], 0xffffffffffffffff
je 0x14007d8f2
xor edx, edx
xor eax, eax
lock cmpxchg qword [rcx + 0x38], rdx
je 0x14007d86a
mov r14, rax
mov r15, qword [rbx]
add rax, 0x30
mov qword [rbp - 8], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rbp - 0x18], 0x3e3
lea rax, str.P__
mov qword [rbp - 0x10], rax
lea r8, [rbp - 0x18]
mov rcx, r14
mov rdx, r15
call fcn.14007a3b0
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r14, qword [rbx]
cmp r14, 0xffffffffffffffff
je 0x14007d8f2
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov r15d, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rdi], eax
lea rcx, str.P__
mov qword [rdi + 8], rcx
test r15d, r15d
je 0x14007d8f2
cmp eax, 0x2733
je 0x14007d8ad
cmp eax, 0x4d5
jne 0x14007d903
mov dword [rbp - 0x18], 0
lea r8, [rbp - 0x18]
mov r15, rcx
mov rcx, r14
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rbx + 8], 0xfc
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov r14d, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rdi], eax
mov qword [rdi + 8], r15
test r14d, r14d
jne 0x14007d903
mov dword [rdi], 0
lea rax, [0x140223e70]
mov qword [rdi + 8], rax
mov qword [rbx], 0xffffffffffffffff
mov byte [rbx + 8], 0
vxorps xmm0, xmm0, xmm0
mov r14, qword [rbx + 0x18]
vmovups xmmword [rbx + 0x10], xmm0
test r14, r14
je 0x14007d93f
lock dec dword [r14 + 8]
jne 0x14007d93f
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock dec dword [r14 + 0xc]
jne 0x14007d93f
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, dword [rdi]
mov dword [rsi], eax
mov rax, qword [rdi + 8]
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x14007f8a0
Capabilities:
Get socket status
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, 0x268
vmovups xmmword [rsp + 0x250], xmm6
mov r13, qword [rsp + 0x2e0]
cmp rcx, 0xffffffffffffffff
je 0x14007f8f5
mov rsi, r9
mov rdi, r8
mov ebx, edx
mov r14, rcx
test dl, 0x10
je 0x14007f92a
cmp byte [rsp + 0x2d8], 0
je 0x14007f92a
mov dword [r13], 0
lea rax, [0x140223e70]
jmp 0x14007f904
mov dword [r13], 0x2719
lea rax, str.P__
mov qword [r13 + 8], rax
xor ecx, ecx
mov rax, rcx
vmovups xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [r14 + 1]
mov dword [rsp + 0x44], eax
vxorps xmm6, xmm6, xmm6
mov rbp, qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r15, str.P__
nop word cs:[rax + rax]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x48], 0
vmovups xmmword [rsp + 0x28], xmm6
mov eax, dword [rsp + 0x2d0]
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rdx, rdi
mov r8d, esi
lea r9, [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSASend]
mov r12d, eax
call rbp
mov dword [r13], eax
mov qword [r13 + 8], r15
cmp eax, 0x40
je 0x14007f9b0
cmp eax, 0x4d2
jne 0x14007f9b9
mov eax, 0x274d
jmp 0x14007f9b5
mov eax, 0x2746
mov dword [r13], eax
test r12d, r12d
je 0x14007f9d0
mov rdx, r15
jmp 0x14007f9f1
mov dword [r13], 0
lea rdx, [0x140223e70]
mov qword [r13 + 8], rdx
mov ecx, dword [rsp + 0x48]
xor eax, eax
test ecx, ecx
jns 0x14007f90a
test bl, 1
jne 0x14007f908
mov rdx, qword [rdx + 8]
cmp eax, 0x2733
sete cl
cmp eax, 0x4d5
sete al
cmp rdx, qword [str.hI__]
jne 0x14007f908
or cl, al
mov ecx, 0
je 0x14007f90a
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x48], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov qword [rsp + 0x20], 0
mov ecx, dword [rsp + 0x44]
xor edx, edx
lea r8, [rsp + 0x48]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_select]
mov r12d, eax
call rbp
mov dword [r13], eax
mov qword [r13 + 8], r15
test r12d, r12d
js 0x14007f908
mov dword [r13], 0
lea rax, [0x140223e70]
mov qword [r13 + 8], rax
jmp 0x14007f950
Function at 0x1400e15a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov esi, r8d
mov r8, rdx
mov ebx, ecx
cmp byte [0x14029c910], 0
je 0x1400e15c8
rdtsc
mov rdi, rdx
shl rdi, 0x20
or rdi, rax
jmp 0x1400e15ca
xor edi, edi
lea r11d, [rbx - 1]
cmp r11d, 7
ja case.default.0x1400e1606
mov r10, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
lea r14, [0x140225720]
movsxd r11, dword [r14 + r11*4]
add r11, r14
jmp r11
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400e17b0
cmp byte [0x14029c910], 0
jne 0x1400e1749
jmp 0x1400e1775
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400e1830
cmp byte [0x14029c910], 0
jne 0x1400e1749
jmp 0x1400e1775
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400e18a0
cmp byte [0x14029c910], 0
jne 0x1400e1749
jmp 0x1400e1775
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400e1930
cmp byte [0x14029c910], 0
jne 0x1400e1749
jmp 0x1400e1775
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400e19a0
cmp byte [0x14029c910], 0
jne 0x1400e1749
jmp 0x1400e1775
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400e1a20
cmp byte [0x14029c910], 0
jne 0x1400e1749
jmp 0x1400e1775
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400e1ac0
cmp byte [0x14029c910], 0
je 0x1400e1775
movsxd rcx, ebx
imul esi, ebx
rdtsc
shl rcx, 4
shl rdx, 0x20
or rdx, rax
sub rdx, rdi
lea rax, [0x14029ca50]
lock add qword [rcx + rax - 0x10], rdx
movsxd rdx, esi
lock add qword [rcx + rax - 8], rdx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400e1b90
cmp byte [0x14029c910], 0
jne 0x1400e1749
jmp 0x1400e1775
Function at 0x1400eb770
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, r8d
mov r8, rdx
mov ebx, ecx
cmp byte [0x14029c910], 0
je 0x1400eb796
rdtsc
mov rdi, rdx
shl rdi, 0x20
or rdi, rax
jmp 0x1400eb798
xor edi, edi
lea edx, [rbx - 1]
cmp edx, 7
ja case.default.0x1400eb7bc
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
lea r10, [0x140225740]
movsxd rdx, dword [r10 + rdx*4]
add rdx, r10
jmp rdx
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400eb910
cmp byte [0x14029c910], 0
jne 0x1400eb8b4
jmp 0x1400eb8e6
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400eb990
cmp byte [0x14029c910], 0
jne 0x1400eb8b4
jmp 0x1400eb8e6
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400eba00
cmp byte [0x14029c910], 0
jne 0x1400eb8b4
jmp 0x1400eb8e6
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400eba90
cmp byte [0x14029c910], 0
jne 0x1400eb8b4
jmp 0x1400eb8e6
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400ebb00
cmp byte [0x14029c910], 0
jne 0x1400eb8b4
jmp 0x1400eb8e6
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400ebb80
cmp byte [0x14029c910], 0
jne 0x1400eb8b4
jmp 0x1400eb8e6
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400ebc30
cmp byte [0x14029c910], 0
je 0x1400eb8e6
movsxd rcx, ebx
imul esi, ebx
rdtsc
shl rcx, 4
shl rdx, 0x20
or rdx, rax
sub rdx, rdi
lea rax, [0x14029ca50]
lock add qword [rcx + rax + 0xf0], rdx
movsxd rdx, esi
lock add qword [rcx + rax + 0xf8], rdx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov edx, esi
mov r8, r9
mov r9, rax
call fcn.1400ebd10
cmp byte [0x14029c910], 0
jne 0x1400eb8b4
jmp 0x1400eb8e6
Function at 0x140104ac0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r13
push r14
sub rsp, 0x50
mov r12, rcx
mov r10, qword [0x140294fc0]
mov rbx, r9
xor r10, rsp
mov r14, r8
mov qword [rsp + 0x40], r10
mov r13, rdx
mov eax, dword [r12 + 0x731c]
mov rsi, qword [rsp + 0xa0]
cmp eax, 3
je 0x140104b0b
cmp eax, 4
je 0x140104b0b
mov r11, qword [r12 + 0x72e0]
jmp 0x140104b33
mov r11, qword [r12 + 0x72e0]
cmp dword [r12 + 0x7318], 0
jne 0x140104b33
xor r10d, r10d
inc r10
cmp rsi, 1
cmovae r10, rsi
cmp r11, r10
cmovae r11, r10
cmp rsi, r11
jne 0x14010528b
test r14, r14
je 0x140104b54
mov rcx, r12
mov rdx, r13
call fcn.1401a5090
mov eax, dword [r12 + 0x731c]
cmp eax, 7
ja 0x14010525d
mov edx, eax
lea r10, [0x140000000]
movzx eax, word [r10 + rdx*2 + 0x226bb4]
lea rax, [r10 + rax + 0x104b79]
jmp rax
mov rax, rsi
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], 0
xor rcx, rsp
cmp rcx, qword [0x140294fc0]
jne 0x1401052b9
mov rax, 0xffffffffffffffff
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], 0
xor rcx, rsp
cmp rcx, qword [0x140294fc0]
jne 0x1401052b9
mov rax, 0xffffffffffffffb8
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret
call fcn.1401c41f0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], 0
xor rcx, rsp
cmp rcx, qword [0x140294fc0]
jne 0x1401052b9
jmp 0x140104ef9
Function at 0x140130a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov r10, qword [0x140294fc0]
xor r10, rsp
mov qword [rsp + 0x30], r10
cmp r8d, 3
jb 0x140130a53
mov r9d, dword [rdx + 4]
add r8d, 0xfffffffe
mov edx, dword [rdx]
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x20], r8d
jmp 0x140130aa4
add r8d, r9d
je 0x140130a95
cmp r8d, 3
jne 0x140130a67
mov r8d, dword [rdx]
lea r9d, [r8 - 1]
jmp 0x140130a74
mov r9d, dword [rdx + r8*4]
cmp r8d, 2
jb 0x140130a7d
mov r8d, dword [rdx]
mov edx, dword [rdx + 4]
mov dword [rsp + 0x28], edx
jmp 0x140130a89
mov r8d, dword [rdx + 8]
mov dword [rsp + 0x28], r8d
mov r8d, dword [rdx]
mov dword [rsp + 0x24], r8d
mov dword [rsp + 0x20], r9d
jmp 0x140130aa4
mov r8, qword [rdx]
mov qword [rsp + 0x20], r8
mov edx, dword [rdx + 8]
mov dword [rsp + 0x28], edx
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x28]
mov qword [rcx], rdx
mov dword [rcx + 8], r8d
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x30], 0
xor rdx, rsp
cmp rdx, qword [0x140294fc0]
jne 0x140130ad7
mov rax, rcx
add rsp, 0x38
ret
mov rcx, rdx
call fcn.1401c41f0
nop
Function at 0x14018f310
Capabilities:
Encrypt data using speck

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
push rbp
sub rsp, 0x30
mov rdi, rcx
mov rbx, qword [rsp + 0x98]
xor eax, eax
xor r10d, r10d
mov r15, r9
mov rsi, qword [rsp + 0x90]
mov r13, r8
mov rbp, qword [rsp + 0xa0]
mov r12, rdx
mov qword [rdi + 0x5430], 5
mov dword [rdi + 0x5464], eax
mov qword [rdi + 0x5410], r10
mov qword [rdi + 0x5418], r10
mov qword [rdi + 0x5420], r10
mov qword [rdi + 0x5428], r10
mov dword [rdi + 0x140c], 0xc00000c
mov dword [rdi + 0x546c], eax
mov dword [rdi + 0x5468], eax
mov dword [rdi + 0x54d0], eax
mov dword [rdi + 0x5438], 1
mov dword [rdi + 0x543c], 4
mov dword [rdi + 0x5440], 8
test rbx, rbx
je 0x14018f4b4
test rbp, rbp
jne 0x14018f414
mov rbx, r10
cmp r12, rbx
je 0x14018f3ed
mov qword [rdi + 0x5428], rbx
neg rbx
add rbx, r12
add rbx, qword [rdi + 0x5418]
mov qword [rdi + 0x5420], rbx
mov qword [rdi + 0x5418], r12
mov qword [rdi + 0x5410], r12
mov qword [rsp + 0x90], rsi
mov rcx, rdi
mov rdx, r12
mov r8, r13
mov r9, r15
add rsp, 0x30
pop rbp
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.14018aad0
cmp rbp, 8
jb 0x14018f45a
cmp dword [rbx], 0xec30a437
je 0x14018f492
mov rax, qword [rdi + 0x5410]
mov qword [rdi + 0x5428], rax
neg rax
add rax, rbx
add rax, qword [rdi + 0x5418]
mov qword [rdi + 0x5418], rbx
add rbx, rbp
mov qword [rdi + 0x5420], rax
mov qword [rdi + 0x5410], rbx
jmp 0x14018f3bf
mov r10, qword [rdi + 0x5418]
add r10, rbx
mov rax, qword [rdi + 0x5410]
sub r10, rax
mov qword [rdi + 0x5418], rbx
add rbx, rbp
mov qword [rdi + 0x5428], rax
mov qword [rdi + 0x5420], r10
mov qword [rdi + 0x5410], rbx
jmp 0x14018f3bf
mov eax, dword [rbx + 4]
lea rdx, [rbx + 8]
mov rcx, rdi
lea r8, [rbp - 8]
mov dword [rdi + 0x54d0], eax
call fcn.14018f510
mov r10, rax
cmp r10, 0xffffffffffffff88
jbe 0x14018f4c0
mov rbx, qword [rdi + 0x5410]
jmp 0x14018f3bf
mov rax, qword [rdi + 0x5410]
lea rbx, [rbx + r10 + 8]
sub rbp, r10
mov qword [rdi + 0x5428], rax
neg rax
add rax, rbx
add rax, qword [rdi + 0x5418]
mov qword [rdi + 0x5418], rbx
lea rbx, [rbp + rbx - 8]
mov qword [rdi + 0x5420], rax
mov qword [rdi + 0x5410], rbx
jmp 0x14018f3bf
Function at 0x140190420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push r15
push rbp
sub rsp, 0x30
mov r14, rdx
mov r11, rcx
lea rax, [0x140000000]
xor r10d, r10d
cmp r14, 8
jb 0x140190514
mov dl, byte [r11 + 4]
mov cl, dl
shr cl, 6
mov r15b, dl
shr r15b, 5
movzx ebp, cl
mov rcx, qword [rax + rbp*8 + 0x2416e0]
and r15b, 1
je 0x14019046f
xor ebp, ebp
test rcx, rcx
sete bpl
jmp 0x140190471
xor ebp, ebp
movzx edx, dl
xor r15b, 1
and rdx, 3
movzx r15d, r15b
add r15, qword [rax + rdx*8 + 0x241700]
add r15, rcx
lea rdx, [r15 + rbp + 5]
cmp rdx, 0xffffffffffffff88
ja 0x140190564
cmp dword [r11], 0xfd2fb527
jne 0x14019054c
lea rax, [rdx + 3]
cmp r14, rax
jb 0x140190514
mov qword [rsp + 0x20], r13
lea rcx, [rdx + r11]
sub r14, rdx
mov edx, 1
jmp 0x1401904ce
sub r14, r15
lea rcx, [r15 + rcx + 3]
inc r10
cmp r14, 3
jb 0x14019050f
movzx r13d, byte [rcx]
mov eax, r13d
movzx ebp, byte [rcx + 1]
and r13d, 7
shl ebp, 8
movzx r15d, byte [rcx + 2]
shl r13d, 0x10
add r15d, ebp
shr eax, 6
add r15d, r13d
cmp eax, 3
je 0x14019052c
cmp eax, 2
cmove r15, rdx
add r14, 0xfffffffffffffffd
cmp r15, r14
ja 0x140190578
jmp 0x1401904c3
mov r13, qword [rsp + 0x20]
mov qword [r8], 0xffffffffffffffb8
mov qword [r9], 0xfffffffffffffffe
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
add rcx, 3
sub rcx, r11
mov r13, qword [rsp + 0x20]
mov qword [r8], rcx
shl r10, 0x11
mov qword [r9], r10
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
mov qword [r8], 0xfffffffffffffff6
mov qword [r9], 0xfffffffffffffffe
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
mov qword [r8], rdx
mov qword [r9], 0xfffffffffffffffe
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
mov r13, qword [rsp + 0x20]
mov qword [r8], 0xffffffffffffffb8
mov qword [r9], 0xfffffffffffffffe
add rsp, 0x30
pop rbp
pop r15
pop r14
ret
Function at 0x1401bb510
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rax, rsp
xor ecx, ecx
xor edx, edx
mov qword [rdi + 0x10], r9
mov r9, rdi
mov qword [rdi + 8], r8
lea r8, [0x1401bb4f0]
mov dword [rax + 0x20], 0
mov qword [rax + 0x28], 0
call fcn.1401fc0b8
mov qword [rdi], rax
test rax, rax
je 0x1401bb555
xor eax, eax
add rsp, 0x30
pop rdi
ret
call fcn.1401f51b8
mov eax, dword [rax]
add rsp, 0x30
pop rdi
ret
Function at 0x1401c4634
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401c467e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401c467e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401c467e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401c467e
cmp dword [rcx + 0x84], 0xe
jbe 0x1401c467e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401c4680
xor al, al
add rsp, 0x28
ret

Function at 0x1401ca160
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401ca19a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401ca19f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401ca1e8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401ca1e8
dec r8
sub rdx, 1
jne 0x1401ca1ce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401e0e5c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1401cd2de
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1401cd2c1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1401cd2ac

Function at 0x1401f4d64
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401f4bc3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401f4bc3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401f4bc3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401f4bc3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401f4bc3
cmp dword [rcx + 0x84], 0xe
jbe 0x1401f4bc3
cmp dword [rcx + 0xf8], 0
je 0x1401f4bc3
mov ecx, ebx
call fcn.1401f4c80
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401f4a50
nop
cmp dword [rbp + 0x20], 0
je 0x1401f4c11
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401f4c1c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401f4b54