joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004dee0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
pxor xmm7, xmm15
pxor xmm7, xmm9
pxor xmm8, xmm2
pxor xmm2, xmm7
movups xmm0, xmmword [r11 + 0x20]
aesenc xmm2, xmm1
movups xmm1, xmmword [r11 + 0x30]
pxor xmm7, xmm9
aesenc xmm2, xmm0
movups xmm0, xmmword [r11 + 0x40]
jmp 0x14004df20
aesenc xmm2, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14004df20
aesenc xmm2, xmm1
movups xmm1, xmmword [r11 + 0x10]
mov rax, r10
aesenclast xmm2, xmm7
repz ret

Function at 0x14004e320
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
pxor xmm15, xmm9
movdqu xmm11, xmmword [rbx + r12]
movdqa xmm12, xmm10
movdqu xmm13, xmmword [rbx + r13]
movdqa xmm14, xmm10
pxor xmm10, xmm15
movdqu xmm15, xmmword [rbx + r14]
pxor xmm11, xmm10
pxor xmm2, xmm10
pxor xmm12, xmm11
pxor xmm3, xmm11
pxor xmm13, xmm12
pxor xmm4, xmm12
pxor xmm14, xmm13
pxor xmm5, xmm13
pxor xmm15, xmm14
pxor xmm6, xmm14
pxor xmm7, xmm15
movups xmm0, xmmword [r11 + 0x20]
lea r12, [r8 + 1]
lea r13, [r8 + 3]
lea r14, [r8 + 5]
add r8, 6
pxor xmm10, xmm9
bsf r12, r12
bsf r13, r13
bsf r14, r14
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
pxor xmm11, xmm9
pxor xmm12, xmm9
aesdec xmm6, xmm1
pxor xmm13, xmm9
pxor xmm14, xmm9
aesdec xmm7, xmm1
movups xmm1, xmmword [r11 + 0x30]
pxor xmm15, xmm9
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [r11 + 0x40]
shl r12, 4
shl r13, 4
jmp 0x14004e420
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14004e420
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [r11 + 0x10]
shl r14, 4
aesdeclast xmm2, xmm10
movdqu xmm10, xmmword [rbx]
mov rax, r10
aesdeclast xmm3, xmm11
aesdeclast xmm4, xmm12
aesdeclast xmm5, xmm13
aesdeclast xmm6, xmm14
aesdeclast xmm7, xmm15
repz ret
Function at 0x14004e4c0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
pxor xmm15, xmm9
movdqu xmm11, xmmword [rbx + r12]
movdqa xmm12, xmm10
movdqu xmm13, xmmword [rbx + r13]
pxor xmm10, xmm15
pxor xmm11, xmm10
pxor xmm2, xmm10
pxor xmm12, xmm11
pxor xmm3, xmm11
pxor xmm13, xmm12
pxor xmm4, xmm12
pxor xmm5, xmm13
movups xmm0, xmmword [r11 + 0x20]
pxor xmm10, xmm9
pxor xmm11, xmm9
pxor xmm12, xmm9
pxor xmm13, xmm9
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [r11 + 0x30]
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [r11 + 0x40]
jmp 0x14004e560
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14004e560
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [r11 + 0x10]
mov rax, r10
aesdeclast xmm2, xmm10
aesdeclast xmm3, xmm11
aesdeclast xmm4, xmm12
aesdeclast xmm5, xmm13
repz ret

Function at 0x14004e5e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
pxor xmm7, xmm15
pxor xmm7, xmm9
pxor xmm2, xmm7
movups xmm0, xmmword [r11 + 0x20]
aesdec xmm2, xmm1
movups xmm1, xmmword [r11 + 0x30]
pxor xmm7, xmm9
aesdec xmm2, xmm0
movups xmm0, xmmword [r11 + 0x40]
jmp 0x14004e620
aesdec xmm2, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14004e620
aesdec xmm2, xmm1
movups xmm1, xmmword [r11 + 0x10]
mov rax, r10
aesdeclast xmm2, xmm7
repz ret
Function at 0x14004f090
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 8
call fcn.14004f100
shl edx, 4
test eax, eax
jne 0x14004f0f6
lea rcx, [r8 + rdx + 0x10]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [rcx]
movups xmmword [rcx], xmm0
movups xmmword [r8], xmm1
lea r8, [r8 + 0x10]
lea rcx, [rcx - 0x10]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [rcx]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea r8, [r8 + 0x10]
lea rcx, [rcx - 0x10]
movups xmmword [rcx + 0x10], xmm0
movups xmmword [r8 - 0x10], xmm1
cmp rcx, r8
ja 0x14004f0bb
movups xmm0, xmmword [r8]
aesimc xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [rcx], xmm0
pxor xmm0, xmm0
add rsp, 8
repz ret
Function at 0x1400501c0
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 0x1400502e0
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 0x140050220
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 0x140050220
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 0x140050220
Function at 0x140075e00
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x140075e35
nop
movdqu xmm0, xmmword [rdx + r8]
pxor xmm0, xmmword [r8]
movdqu xmmword [rcx + r8], xmm0
movdqa xmmword [r8], xmm0
lea r8, [r8 + 0x10]
dec r9
jne 0x140075e10
and r10, 0xf
je 0x140075e65
mov r9d, reloc.WS2_32.dll_recv
sub r9, r10
xor eax, eax
mov al, byte [rdx + r8]
xor al, byte [r8]
mov byte [rcx + r8], al
mov byte [r8], al
lea r8, [r8 + 1]
dec r10
jne 0x140075e40
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x140075e59
mov rax, r8
repz ret

Function at 0x140075e70
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x140075ead
nop
movdqu xmm0, xmmword [rdx + r8]
movdqa xmm1, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [rcx + r8], xmm1
movdqa xmmword [r8], xmm0
lea r8, [r8 + 0x10]
dec r9
jne 0x140075e80
pxor xmm1, xmm1
and r10, 0xf
je 0x140075ee3
mov r9d, reloc.WS2_32.dll_recv
sub r9, r10
xor eax, eax
xor r11, r11
mov r11b, byte [rdx + r8]
mov al, byte [r8]
xor al, r11b
mov byte [rcx + r8], al
mov byte [r8], r11b
lea r8, [r8 + 1]
dec r10
jne 0x140075ebb
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x140075ed7
mov rax, r8
repz ret
Function at 0x140082e10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140082e41
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x140082ebb
mov rdi, r14
mov rcx, rbx
call fcn.140080c50
test rax, rax
jle 0x140082e93
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140296c90
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140082eab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_getservbyport]
cmp eax, 0xffffffff
je 0x140082eb3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140082e55
sub r14, rdi
jmp 0x140082f9f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140082ed2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140082ed4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140082f06
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140296c90
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140082f9c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140082f41
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140082f7d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14029d918
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140082f9c
cmp rbp, rax
ja 0x140082f50
test rbp, rbp
je 0x140082f9c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14029d918
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140083f80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
cmp byte [0x1403c6990], 0
jne 0x14008401f
mov ecx, 0x28
call fcn.1402958e0
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140083fc9
mov rdx, rdi
mov rcx, rax
call fcn.14007e350
lea rax, [0x140084050]
mov qword [rbx + 0x20], rax
jmp 0x140083fcb
xor ebx, ebx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1400834d0]
xor edx, edx
xor ecx, ecx
call fcn.14029ec88
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140084032
cmp dword [rsp + 0x38], 0
je 0x140084045
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140293ae8
test eax, eax
jne 0x14008402a
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov ecx, eax
call fcn.140293eb0
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140293eec
nop
mov ecx, 1
call fcn.140293eec
int3
Function at 0x14008dee0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x40
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov edx, dword [0x1403fe8f0]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rdx, qword [rax + rdx*8]
lea r15, [0x1403c6700]
mov eax, dword [rcx + rdx]
cmp dword [0x1403c6750], eax
jg 0x14008e077
mov qword [rsp + 0x20], r15
mov rcx, r15
call fcn.140294294
test eax, eax
jne 0x14008e069
cmp byte [0x1403c66d2], al
jne 0x14008dff7
cmp byte [0x1403c66f0], al
je 0x14008dff7
cmp qword [0x1403bc0c0], 0xffffffffffffffff
je 0x14008dff7
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14008df9b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14008df93
mov rax, qword [rbx]
mov word [rax + rcx], 0xa
jmp 0x14008dfad
mov r9b, 0xa
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14007d6a0
mov ebp, dword [rbx + 0x10]
xor edi, edi
mov esi, dword [rsp + 0x28]
cmp edi, 0xffffffff
jle 0x14008dfe6
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14008dfc8
mov rax, qword [rbx]
movsxd rdx, edi
add rdx, rax
mov r8d, ebp
sub r8d, edi
xor r9d, r9d
mov rcx, qword [0x1403bc0c0]
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov ecx, esi
call fcn.1400b6c00
test al, al
je 0x14008dff7
add edi, esi
cmp edi, ebp
jl 0x14008dfb6
mov rcx, r15
call fcn.1402942b8
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14008e036
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14008e031
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008e071
mov rcx, r8
call fcn.14029591c
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402959c0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.140293eb0
nop
call fcn.14029ca04
nop
lea rcx, [0x1403c6750]
call fcn.140295de4
cmp dword [0x1403c6750], 0xffffffff
jne 0x14008df37
mov edx, 2
mov rcx, r15
call fcn.140294258
lea rcx, [0x1402cdb50]
call fcn.140295c44
lea rcx, [0x1403c6750]
call fcn.140295d84
jmp 0x14008df37
Function at 0x140095760
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rsi
push r14
push r15
sub rsp, 0x278
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r15, rcx
mov rsi, r9
mov rcx, r8
mov r14, r8
mov rbx, rdx
call fcn.140294294
test eax, eax
jne 0x140095a1d
mov qword [rsp + 0x270], rbp
mov rcx, rbx
mov qword [rsp + 0x268], rdi
mov qword [rsp + 0x260], r12
call fcn.1400ce580
mov rcx, r14
mov rbx, rax
call fcn.1402942b8
test rbx, rbx
je 0x1400959dc
lea r8, [rsp + 0x34]
mov dword [rsp + 0x34], 1
mov edx, 0x8004667e
mov rcx, r15
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, r15d
call fcn.140115830
xor r9d, r9d
mov rcx, rax
mov r12, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call fcn.140113f10
mov r8, r12
mov rdx, r12
mov rcx, rbx
call fcn.1400cedc0
mov r9, qword [rsp + 0x2c0]
add r9, 8
cmp qword [r9 + 0x18], 0x10
jb 0x14009582f
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x37]
call fcn.1400cd700
mov rdi, qword [rsi]
cmp byte [rdi + 0x368], 0
je 0x140095892
lea rax, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea rcx, [rdi + 0x408]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rdi
call fcn.1400938b0
cmp byte [rsp + 0x30], 0
jne 0x140095885
mov rax, qword [rsi + 8]
mov dword [rax], 9
jmp 0x140095960
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400cf090
mov rax, qword [rdi + 0x168]
lea r8, [0x1400cd6b0]
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
mov r9, qword [rdi + 0x160]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
call fcn.1400956c0
test al, al
jne 0x1400958ce
mov rax, qword [rsi + 8]
mov dword [rax], 8
jmp 0x140095960
cmp byte [rdi + 0x368], 0
je 0x1400959af
mov rcx, rbx
call fcn.1400ce480
mov dword [rdi + 0x468], eax
test eax, eax
jne 0x140095956
mov rcx, rbx
call fcn.1400ce0f0
mov rbp, rax
test rax, rax
je 0x140095956
mov rdx, rax
mov rcx, rdi
call fcn.1400adcb0
test al, al
jne 0x1400959a7
mov rcx, rbp
call fcn.140119f20
test rax, rax
je 0x14009594e
mov r9d, 0x200
lea r8, [rsp + 0x50]
mov edx, reloc.WS2_32.dll_listen
mov rcx, rax
call fcn.14011a670
cmp eax, 0xffffffff
je 0x14009594e
movsxd r8, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400a3c60
test al, al
jne 0x1400959a7
mov rcx, rbp
call fcn.1401190e0
mov rax, qword [rsi + 8]
mov dword [rax], 0xa
mov rcx, rbx
call fcn.1400cf0b0
mov rcx, r14
call fcn.140294294
test eax, eax
jne 0x140095a15
mov rcx, rbx
call fcn.1400cdb90
mov rcx, r14
call fcn.1402942b8
lea r8, [rsp + 0x34]
mov dword [rsp + 0x34], 0
mov edx, 0x8004667e
mov rcx, r15
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
jmp 0x1400959df
mov rcx, rbp
call fcn.1401190e0
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
lea edx, [r9 + 0x66]
call fcn.140113f10
lea r8, [rsp + 0x34]
mov dword [rsp + 0x34], 0
mov edx, 0x8004667e
mov rcx, r15
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rbx
mov rdi, qword [rsp + 0x268]
mov rbp, qword [rsp + 0x270]
mov r12, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1402959c0
add rsp, 0x278
pop r15
pop r14
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.140293eb0
int3
mov ecx, eax
call fcn.140293eb0
int3
Function at 0x14009f500
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14009f5cc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14009f5cc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14009f5e5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14009f5bc
cmp byte [rax], 0x5c
jne 0x14009f5b6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14009f5b6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14009f5a2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14009f5b3
test r8b, 0x10
jne 0x14009f5b6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14009f5b6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400a33b0
test edi, edi
jne 0x14009f520
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.1400a12b0
int3
Function at 0x1400a3a50
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
cmp rdx, 0xf
jbe 0x1400a3ab3
xor r8d, r8d
call fcn.14007d9a0
mov qword [rbx + 0x10], rbp
mov r15d, 0xfffffffa
cmp qword [rdi + 0x18], 0x10
jb 0x1400a3acb
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x1400a3ad1
mov r14, rdi
mov rcx, rdi
mov r13, qword [rsi]
add r13, rcx
cmp rdi, r13
je 0x1400a3bdf
lea r8, [0x1402d1830]
nop word [rax + rax]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x1400a3b7d
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop dword [rax + rax]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400a3b5d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400a3b52
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400a3b73
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14007d6a0
lea r8, [0x1402d1830]
sub rdi, 6
sub rsi, 1
jne 0x1400a3b20
inc r14
cmp r14, r13
jne 0x1400a3af0
cmp r15d, 0xfffffffa
jle 0x1400a3bdf
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rdx, ebp
sar rdx, cl
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400a3bd0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400a3bc5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400a3bdf
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14007d6a0
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x1400a3c30
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400a3c15
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400a3c0d
mov rax, qword [rbx]
mov word [rcx + rax], 0x3d
jmp 0x1400a3c27
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.14007d6a0
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x1400a3bf0
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400a50a4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400a5090
ret
Function at 0x1400a5b50
Capabilities:
Resolve dns

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400a5b60
push rbx
push rsi
sub rsp, 0x4f8
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rbx, r8
mov dword [rsp + 0x40], 0x80
mov rsi, rdx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x1400a5c4a
movzx eax, word [rsp + 0x50]
mov qword [rsp + 0x4f0], rdi
mov edi, dword [rsp + 0x40]
cmp ax, 2
je 0x1400a5bbf
cmp ax, 0x17
jne 0x1400a5bcf
movzx ecx, word [rsp + 0x52]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rbx], eax
xor edx, edx
lea rcx, [rsp + 0xd0]
mov r8d, 0x401
call fcn.140297340
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xd0]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov rdi, qword [rsp + 0x4f0]
test eax, eax
jne 0x1400a5c4a
lea rax, [rsp + 0xd0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400a5c30
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.1400817c0
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1402959c0
add rsp, 0x4f8
pop rsi
pop rbx
ret

Function at 0x1400a5b60
Capabilities:
Resolve dns

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400a5b60
push rbx
push rsi
sub rsp, 0x4f8
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rbx, r8
mov dword [rsp + 0x40], 0x80
mov rsi, rdx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x1400a5c4a
movzx eax, word [rsp + 0x50]
mov qword [rsp + 0x4f0], rdi
mov edi, dword [rsp + 0x40]
cmp ax, 2
je 0x1400a5bbf
cmp ax, 0x17
jne 0x1400a5bcf
movzx ecx, word [rsp + 0x52]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rbx], eax
xor edx, edx
lea rcx, [rsp + 0xd0]
mov r8d, 0x401
call fcn.140297340
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xd0]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov rdi, qword [rsp + 0x4f0]
test eax, eax
jne 0x1400a5c4a
lea rax, [rsp + 0xd0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400a5c30
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.1400817c0
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1402959c0
add rsp, 0x4f8
pop rsi
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x1400a9fd0
cmp rbx, 0x7fffffff
ja 0x1400a9fd0
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rax, 0xffffffffffffffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret