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

Disassembly:
sub rsp, 8
call fcn.18000aa40
shl edx, 4
test eax, eax
jne 0x18000aa36
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 0x18000a9fb
movups xmm0, xmmword [r8]
aesimc xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [rcx], xmm0
pxor xmm0, xmm0
add rsp, 8
repz ret
Function at 0x18000b9c0
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 0x18000bae0
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 0x18000ba20
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 0x18000ba20
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 0x18000ba20
Function at 0x1800417a0
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x1800417d5
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 0x1800417b0
and r10, 0xf
je 0x180041805
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 0x1800417e0
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x1800417f9
mov rax, r8
repz ret

Function at 0x180041810
Capabilities:
Encode data using xor

Disassembly:
sub rdx, r8
sub rcx, r8
mov r10, r9
shr r9, 4
je 0x18004184d
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 0x180041820
pxor xmm1, xmm1
and r10, 0xf
je 0x180041883
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 0x18004185b
xor eax, eax
mov byte [r8], al
lea r8, [r8 + 1]
dec r9
jne 0x180041877
mov rax, r8
repz ret
Function at 0x180105240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rcx, qword [rdx]
mov rdx, qword [rdx + 8]
jmp 0x18012c8c0
xor eax, eax
mov r9d, 0x811c9dc5
test rdx, rdx
je 0x18012c8e7
nop dword [rax]
movzx r8d, byte [rcx + rax]
inc rax
xor r8d, r9d
imul r9d, r8d, 0x1000193
cmp rax, rdx
jb 0x18012c8d0
mov eax, r9d
ret

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

Disassembly:
mov r8d, dword [rdx + 0x80]
xor ecx, ecx
mov eax, 0x811c9dc5
test r8, r8
je 0x180105331
nop dword [rax]
nop word [rax + rax]
xor eax, dword [rdx + rcx*4]
inc rcx
imul eax, eax, 0x1000193
cmp rcx, r8
jb 0x180105320
ret

Function at 0x180107bb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov r9, qword [rcx]
mov r8, rax
test rax, rax
je 0x180107bdc
nop
movzx edx, byte [r9 + r8 - 1]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub r8, 1
jne 0x180107bc0
ret

Function at 0x180109fa0
Capabilities:
Hash data using fnv

Disassembly:
mov rdx, rcx
jmp 0x18010bb70
movzx ecx, byte [rdx + 2]
movabs r9, 0x100000001b3
movzx r8d, byte [rdx]
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, r9
xor rax, r8
imul rax, r9
xor rax, rcx
movzx ecx, byte [rdx + 3]
imul rax, r9
xor rax, rcx
imul rax, r9
ret
Function at 0x18011d750
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
mov rsi, rdx
mov rbp, rcx
mov edi, r14d
movabs r15, 0x8080808080808080
cmp qword [rdx + 0x40], r14
jbe 0x18011d7d6
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rsi + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov r8, qword [r8 + rdi*8]
call fcn.18011ce10
inc rdi
mov r8, qword [rax]
add r8, qword [rbp + 0x38]
mov rdx, r8
mov qword [rbp + 0x40], r14
and rdx, r15
mov rax, rdx
mov rcx, rdx
shr rax, 7
xor rdx, r8
sub rcx, rax
or rcx, rdx
mov qword [rbp + 0x38], rcx
cmp rdi, qword [rsi + 0x40]
jb 0x18011d790
movups xmm0, xmmword [rbp + 0x38]
mov rcx, qword [rsi + 0x48]
mov rdx, rbp
mov qword [rsp + 0x20], r14
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], r14
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp + 0x38], xmm0
mov rax, qword [rcx]
call qword [rax]
mov r8, qword [rbp + 0x38]
inc r8
mov rdx, r8
and rdx, r15
mov rax, rdx
mov rcx, rdx
xor rdx, r8
shr rax, 7
sub rcx, rax
or rcx, rdx
mov edx, 3
call fcn.18011cd00
add rax, qword [rsp + 0x30]
mov r8, rax
and r8, r15
mov rcx, r8
mov rdx, r8
shr rcx, 7
xor r8, rax
sub rdx, rcx
or rdx, r8
mov qword [rbp + 0x38], rdx
xor al, al
mov qword [rbp + 0x40], r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

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

Disassembly:
mov r9d, dword [rdx + 8]
xor ecx, ecx
mov r8d, 0x811c9dc5
test r9, r9
je 0x18011eb2a
mov rdx, qword [rdx]
movzx eax, byte [rdx + rcx]
inc rcx
xor eax, r8d
imul r8d, eax, 0x1000193
cmp rcx, r9
jb 0x18011eb14
mov eax, r8d
ret

Function at 0x180127d10
Capabilities:
Encode data using base64

Disassembly:
push rsi
sub rsp, 0x30
cmp dword [rcx + 0x28], 0x28
mov rsi, rcx
jne 0x180127dd5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov rdi, qword [rcx + 0x2c]
mov qword [rsp + 0x24], rdi
mov dword [rsp + 0x20], 0x28
call fcn.18012a710
xor edx, edx
mov rcx, rsi
call fcn.180127920
mov ecx, dword [rsi + 0x28]
mov rbp, rax
mov rbx, qword [rsi + 0x34]
cmp ecx, 0x29
je 0x180127d8a
xor r9d, r9d
lea rax, str.__did_you_mean_to_use__when_defining_a_table_
cmp ecx, 0x3d
lea r8, [rsp + 0x20]
mov edx, 0x29
mov rcx, rsi
cmove r9, rax
call fcn.180129f30
mov rbx, qword [rsi + 0x50]
jmp 0x180127d92
mov rcx, rsi
call fcn.18012a710
mov rcx, qword [rsi + 0x80]
mov edx, 0x28
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rbx
call fcn.18011e160
mov rcx, rax
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.1801000d0
mov rdi, qword [rsp + 0x50]
mov rax, rcx
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
lea rdx, str.expression
add rsp, 0x30
pop rsi
jmp fcn.180127b50
Function at 0x180135770
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x180594240]
xor rax, rsp
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
lea r8, [0x180549168]
mov rbx, rcx
mov r9d, edx
movups xmmword [rsp + 0x48], xmm0
mov edx, reloc.WS2_32.dll_recv
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x78]
mov rdi, 0xffffffffffffffff
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call fcn.180136f20
cmp qword [rbx + 0x18], 0xf
jbe 0x1801357d6
mov rbx, qword [rbx]
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x180135848
mov qword [rsp + 0x30], 0
lea rbx, [0x18059de30]
mov dword [rsp + 0x28], 0x400
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0x12ff
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, 2
call fcn.18040f100
mov r8, rbx
lea rdx, str.getaddrinfo:__s_n
mov rcx, rax
call fcn.180135690
mov eax, 1
jmp 0x1801358b9
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1801358ad
nop dword [rax]
nop word [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 rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18013589f
mov r8d, dword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1801358a8
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180135860
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1803fd0a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
Function at 0x180136f90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180594240]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
mov rbp, r8
mov r14d, edx
mov r15, rcx
mov dword [rsp + 0x24], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x1801371a0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
xor esi, esi
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x20], sil
mov edx, esi
mov eax, 2
cmp r8, 0x7e
cmovae edx, eax
mov ecx, 8
cmp r8, 0x10000
cmovae eax, ecx
add rdx, rax
movzx eax, byte [r15 + 0x5c]
neg al
sbb rcx, rcx
and ecx, 4
add rdx, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180137470
or r14b, 0x80
mov rdi, qword [rsp + 0x28]
mov byte [rdi], r14b
movzx edx, byte [r15 + 0x5c]
cmp rbp, 0x7e
jae 0x18013705a
neg dl
sbb al, al
and al, 0x80
or al, bpl
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x1801370fa
mov dword [rdi + 2], 0x78563412
jmp 0x1801370fa
mov rcx, rbp
shr rcx, 8
cmp rbp, 0x10000
jae 0x180137095
mov eax, 0x7e
mov r8d, 0xfe
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], bpl
cmp byte [r15 + 0x5c], 0
je 0x1801370fa
mov dword [rdi + 4], 0x78563412
jmp 0x1801370fa
mov eax, 0x7f
mov r8d, 0xff
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov rax, rbp
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rbp
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rbp
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rbp
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rbp
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], bpl
cmp byte [r15 + 0x5c], 0
je 0x1801370fa
mov dword [rdi + 0xa], 0x78563412
mov r9, qword [rsp + 0x30]
sub r9, rdi
mov rdx, qword [r15 + 0x28]
mov r8, rdi
lea rcx, [r15 + 0x20]
call fcn.1801375d0
mov r9, qword [rsp + 0xa0]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.1801375d0
cmp byte [r15 + 0x5c], 0
je 0x18013716f
mov r8, qword [r15 + 0x28]
sub r8, rbp
sub r8, qword [r15 + 0x20]
test rbp, rbp
je 0x18013716f
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsi + r8]
add rdx, qword [r15 + 0x20]
movzx ecx, byte [rdx]
mov rax, rsi
and eax, 3
xor cl, byte [rsp + rax + 0x24]
mov byte [rdx], cl
inc rsi
cmp rsi, rbp
jne 0x180137150
mov rdx, qword [rsp + 0x38]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x180137198
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801371c1
mov rcx, rdi
call fcn.1803fd0fc
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1803fd0a0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180403864
int3
Function at 0x1801371d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180594240]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
mov rbp, r8
mov r15, rcx
mov dword [rsp + 0x24], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x1801373d0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
xor esi, esi
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x20], sil
mov edx, esi
mov eax, 2
cmp r8, 0x7e
cmovae edx, eax
mov ecx, 8
cmp r8, 0x10000
cmovae eax, ecx
add rdx, rax
movzx eax, byte [r15 + 0x5c]
neg al
sbb rcx, rcx
and ecx, 4
add rdx, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180137470
mov rdi, qword [rsp + 0x28]
mov byte [rdi], 0x82
movzx edx, byte [r15 + 0x5c]
cmp rbp, 0x7e
jae 0x180137293
neg dl
sbb al, al
and al, 0x80
or al, bpl
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x180137333
mov dword [rdi + 2], 0x78563412
jmp 0x180137333
mov rcx, rbp
shr rcx, 8
cmp rbp, 0x10000
jae 0x1801372ce
mov eax, 0x7e
mov r8d, 0xfe
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], bpl
cmp byte [r15 + 0x5c], 0
je 0x180137333
mov dword [rdi + 4], 0x78563412
jmp 0x180137333
mov eax, 0x7f
mov r8d, 0xff
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov rax, rbp
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rbp
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rbp
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rbp
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rbp
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], bpl
cmp byte [r15 + 0x5c], 0
je 0x180137333
mov dword [rdi + 0xa], 0x78563412
mov r9, qword [rsp + 0x30]
sub r9, rdi
mov rdx, qword [r15 + 0x28]
mov r8, rdi
lea rcx, [r15 + 0x20]
call fcn.1801375d0
mov r9, qword [rsp + 0xa0]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.1801375d0
cmp byte [r15 + 0x5c], 0
je 0x18013739f
mov r8, qword [r15 + 0x28]
sub r8, rbp
sub r8, qword [r15 + 0x20]
test rbp, rbp
je 0x18013739f
nop dword [rax]
lea rdx, [rsi + r8]
add rdx, qword [r15 + 0x20]
movzx ecx, byte [rdx]
mov rax, rsi
and eax, 3
xor cl, byte [rsp + rax + 0x24]
mov byte [rdx], cl
inc rsi
cmp rsi, rbp
jne 0x180137380
mov rdx, qword [rsp + 0x38]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1801373c8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801373f1
mov rcx, rdi
call fcn.1803fd0fc
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1803fd0a0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180403864
int3
Function at 0x180138480
Capabilities:
Resolve dns

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x180594240]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x68], rdx
mov rsi, qword [rsp + 0x110]
xor ebp, ebp
xorps xmm0, xmm0
movdqu xmmword [r11 - 0x44], xmm0
xorps xmm1, xmm1
movdqu xmmword [r11 - 0x34], xmm1
mov dword [r11 - 0x24], ebp
mov qword [r11 - 0x50], 0x408
mov dword [r11 - 0x48], 1
mov edx, r9d
lea rcx, [r11 - 0x70]
call fcn.180138f10
nop
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0xf
cmova rdx, qword [rsp + 0x78]
cmp qword [rbx + 0x18], 0xf
jbe 0x180138509
mov rbx, qword [rbx]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x98]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18013857f
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x400
lea rbx, [0x18059de30]
mov qword [rsp + 0x20], rbx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x12ff
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x180138560
mov rdx, rbx
mov rcx, rsi
call fcn.180109930
mov rbx, rbp
mov qword [rsp + 0x70], rbx
jmp 0x180138584
mov rbx, qword [rsp + 0x70]
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], 1
mov ecx, 0x20
call fcn.1803fd0c0
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rsp + 0x68]
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rdx, vtable.std::_Ref_count_resource_struct_addrinfo____ptr64__void____cdecl___struct_addrinfo____ptr64__.0
mov qword [rax], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov qword [rdi], rbx
mov qword [rdi + 8], rax
lea rcx, [rsp + 0x78]
call fcn.1801021b0
mov rax, rdi
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1803fd0a0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18013e480
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18013e4e1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18013e4a0
mov ecx, dword [r9]
jmp 0x18013e5c8
cmp ecx, 0x4e0
jb 0x18013e5c8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x18013e500
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x18013e550
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x18013ead0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x18013eaf4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x18013eb82
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18013eb50
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x18013eb50
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1804365b0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18013eb6d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_getservbyport]
cmp eax, 0xffffffff
je 0x18013eb75
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x18013eb11
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x18013ec60
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x18013eb99
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18013eb9b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18013ebcd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1804365b0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18013ec5d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18013ec08
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 rsi, 0xfff
jbe 0x18013ec3e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.180413920
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18013ec5d
cmp rsi, rax
ja 0x18013ec11
test rsi, rsi
je 0x18013ec5d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180413920
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x180141690
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
add rcx, 8
call fcn.180100000
movsxd rcx, dword [rax]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cdqe
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x28
add rcx, 8
call fcn.180100000
movsxd rcx, dword [rax]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cdqe
add rsp, 0x28
ret
Function at 0x180141d50
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x180594240]
xor rax, rsp
mov qword [rsp + 0x38], rax
movsxd rbx, ecx
lea r9, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x30], 1
mov edx, 6
mov dword [rsp + 0x20], 4
mov r8d, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r8, [rsp + 0x34]
mov dword [rsp + 0x34], 1
mov edx, 0x8004667e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1803fd0a0
add rsp, 0x40
pop rbx
ret