joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007e7c0
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rdi, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x14007e7fa
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rdi
jmp fcn.140079d60
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x14007e822
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rdi
jmp fcn.140079d60
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x78]
mov dword [rsp + 0x78], eax
mov r8d, r10d
mov eax, dword [rsp + 0x70]
mov rdx, r11
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
mov rbx, qword [rsp + 0x50]
je 0x14007e8a1
cmp eax, 0x3e5
je 0x14007e8a1
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.140079d60
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.140079cc0
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rbx, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x14007e8fa
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rbx
jmp fcn.140079d60
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x14007e922
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rbx
jmp fcn.140079d60
mov eax, dword [rsp + 0x70]
lea r9, [rsp + 0x78]
xor edx, edx
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x50]
mov dword [rsp + 0x78], edx
mov r8d, r10d
mov qword [rsp + 0x58], rsi
mov rdx, r11
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x14007e97b
mov eax, 0x2746
jmp 0x14007e988
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x58]
je 0x14007e9b7
cmp eax, 0x3e5
je 0x14007e9b7
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.140079d60
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.140079cc0
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
Function at 0x1400848e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10, rdx
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movabs rax, 0xaaaaaaaaaaaaaaab
mov rbx, rcx
mul r8
mov r9, rcx
shr rdx, 1
mov r11, rdx
je 0x140084974
nop
movzx eax, byte [r10]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r9], al
movzx eax, byte [r10 + 1]
movsx ecx, byte [r10]
shr eax, 4
and ecx, 3
shl ecx, 4
add ecx, eax
movzx eax, byte [rcx + rdi]
mov byte [r9 + 1], al
movzx eax, byte [r10 + 2]
movsx ecx, byte [r10 + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
movzx eax, byte [rax + rdi]
mov byte [r9 + 2], al
movsx rax, byte [r10 + 2]
add r10, 3
and eax, 0x3f
movzx eax, byte [rax + rdi]
mov byte [r9 + 3], al
add r9, 4
sub r11, 1
jne 0x140084910
lea rax, [rdx + rdx*2]
sub r8, rax
sub r8, 1
je 0x1400849c9
cmp r8, 1
jne 0x1400849f5
movzx eax, byte [r10]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r9], al
movsx ecx, byte [r10]
movzx eax, byte [r10 + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
movzx eax, byte [rcx + rdi]
mov byte [r9 + 1], al
movsx rax, byte [r10 + 1]
and eax, 0xf
movzx eax, byte [rdi + rax*4]
mov byte [r9 + 2], al
mov byte [r9 + 3], 0x3d
jmp 0x1400849f1
movzx eax, byte [r10]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r9], al
movsx rax, byte [r10]
and eax, 3
add rax, rax
movzx eax, byte [rdi + rax*8]
mov byte [r9 + 1], al
mov word [r9 + 2], 0x3d3d
add r9, 4
mov rdi, qword [rsp + 0x10]
sub r9, rbx
mov rbx, qword [rsp + 8]
mov rax, r9
ret
Function at 0x1400869e0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor eax, eax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov dword [rbp - 0x69], 0x67452301
mov dword [rbp - 0x65], 0xefcdab89
mov dword [rbp - 0x61], 0x98badcfe
mov dword [rbp - 0x5d], 0x10325476
mov dword [rbp - 0x59], 0xc3d2e1f0
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x79]
call fcn.140086390
mov r8d, 0x24
lea rdx, str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
lea rcx, [rbp - 0x79]
call fcn.140086390
nop
mov rdi, qword [rbp - 0x71]
shl rdi, 6
mov rax, qword [rbp - 0x79]
add rdi, rax
shl rdi, 3
mov byte [rbp + rax - 0x55], 0x80
mov r10, qword [rbp - 0x79]
inc r10
mov rax, r10
mov qword [rbp - 0x79], rax
cmp r10, 0x40
jae 0x140086aa6
nop dword [rax + rax]
mov byte [rbp + rax - 0x55], 0
mov rax, qword [rbp - 0x79]
inc rax
mov qword [rbp - 0x79], rax
cmp rax, 0x40
jb 0x140086a90
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x55]
call fcn.140084a10
cmp r10, 0x38
jbe 0x140086adb
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.140084c80
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rax
mov dword [rbp + 0x33], edi
shr rdi, 0x20
mov dword [rbp + 0x2f], edi
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.140084c80
movzx eax, byte [rbp - 0x69]
mov byte [rbp + 0x3a], al
movzx eax, byte [rbp - 0x68]
mov byte [rbp + 0x39], al
movzx eax, byte [rbp - 0x67]
mov byte [rbp + 0x38], al
movzx eax, byte [rbp - 0x66]
mov byte [rbp + 0x37], al
movzx eax, byte [rbp - 0x65]
mov byte [rbp + 0x3e], al
movzx eax, byte [rbp - 0x64]
mov byte [rbp + 0x3d], al
movzx eax, byte [rbp - 0x63]
mov byte [rbp + 0x3c], al
movzx eax, byte [rbp - 0x62]
mov byte [rbp + 0x3b], al
movzx eax, byte [rbp - 0x61]
mov byte [rbp + 0x42], al
movzx eax, byte [rbp - 0x60]
mov byte [rbp + 0x41], al
movzx eax, byte [rbp - 0x5f]
mov byte [rbp + 0x40], al
movzx eax, byte [rbp - 0x5e]
mov byte [rbp + 0x3f], al
movzx eax, byte [rbp - 0x5d]
mov byte [rbp + 0x46], al
movzx eax, byte [rbp - 0x5c]
mov byte [rbp + 0x45], al
movzx eax, byte [rbp - 0x5b]
mov byte [rbp + 0x44], al
movzx eax, byte [rbp - 0x5a]
mov byte [rbp + 0x43], al
movzx eax, byte [rbp - 0x59]
mov byte [rbp + 0x4a], al
movzx eax, byte [rbp - 0x58]
mov byte [rbp + 0x49], al
movzx eax, byte [rbp - 0x57]
mov byte [rbp + 0x48], al
movzx eax, byte [rbp - 0x56]
mov byte [rbp + 0x47], al
mov rax, qword [rbx]
cmp rax, 0x1c
jae 0x140086b9e
mov r8d, 0x1c
sub r8, rax
lea rcx, [rbx + 8]
add rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbx], 0x1c
mov byte [rbx + 0x24], 0
lea rcx, [rbx + 8]
mov r8d, shutdown
lea rdx, [rbp + 0x37]
call fcn.1400848e0
mov rdx, rax
mov rcx, rbx
call fcn.1400d7630
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14008b0c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x10
mov r9, qword [rcx + 8]
mov r11, rdx
mov eax, dword [rdx]
mov rcx, qword [rcx]
mov dword [rsp], eax
cmp r9, 4
jb 0x14008b116
movzx edx, byte [rsp + 3]
mov r10, r9
movzx ebx, byte [rsp + 1]
shr r10, 2
imul r8, r10, 0xfffffffffffffffc
add r9, r8
movzx r8d, byte [rsp + 2]
nop dword [rax]
xor byte [rcx], al
xor byte [rcx + 1], bl
xor byte [rcx + 2], r8b
xor byte [rcx + 3], dl
add rcx, 4
sub r10, 1
jne 0x14008b100
test r9, r9
je 0x14008b296
xor r8d, r8d
cmp r9, 8
jb 0x14008b224
lea rdx, [rcx - 1]
add rdx, r9
lea rax, [rsp + r9 - 1]
cmp rcx, rax
ja 0x14008b14a
lea rax, [rsp]
cmp rdx, rax
jae 0x14008b224
cmp r9, 0x40
jb 0x14008b1e3
mov rdx, r9
mov qword [rsp + 0x28], rdi
and edx, 0x3f
mov r10, r9
sub r10, rdx
lea rbx, [rsp]
sub rbx, rcx
lea rdi, [rsp + 0x10]
sub rdi, rcx
lea rax, [rcx + 0x20]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x20]
add r8, 0x40
movdqu xmm1, xmmword [rbx + rax - 0x20]
movdqu xmm2, xmmword [rbx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqu xmm0, xmmword [rax - 0x50]
movdqu xmm1, xmmword [rdi + rax - 0x60]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x40]
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm1, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp r8, r10
jb 0x14008b180
mov rdi, qword [rsp + 0x28]
cmp rdx, 8
jb 0x14008b21f
mov rdx, r9
and rdx, 0xfffffffffffffff8
lea r10, [rsp]
sub r10, rcx
lea rax, [r8 + rcx]
nop word [rax + rax]
movq xmm0, qword [rax]
add r8, 8
movq xmm1, qword [rax + r10]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp r8, rdx
jb 0x14008b200
cmp r8, r9
jae 0x14008b251
lea rdx, [r8 + rcx]
lea r10, [rsp]
sub r10, rcx
mov rcx, r9
sub rcx, r8
nop word [rax + rax]
movzx eax, byte [rdx + r10]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub rcx, 1
jne 0x14008b240
mov eax, dword [r11]
mov dword [rsp + 0x20], eax
mov rax, r9
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
mov byte [r11], al
lea rax, [r9 + 1]
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
mov byte [r11 + 1], al
lea rax, [r9 - 2]
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
mov byte [r11 + 2], al
lea rax, [r9 - 1]
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
mov byte [r11 + 3], al
add rsp, 0x10
pop rbx
ret
Function at 0x1400d3d10
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x140e34f90], eax
inc eax
cmp eax, 1
jne 0x1400d3d5d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x140e34f94], eax
test bl, bl
je 0x1400d3de6
xor ebx, ebx
lock xadd dword [0x140e34f94], ebx
test ebx, ebx
je 0x1400d3de6
mov rax, qword [0x14048a968]
movabs rcx, 0x8fafd21e25c5e09b
mov qword [rsp + 0x200], rsi
lea rsi, [0x14048a960]
mov dword [rsp + 0x24], 0
cmp rax, rcx
je 0x1400d3dc0
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x1400d3dc0
mov rax, qword [0x14048a960]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400d3dc2
mov al, 1
movzx eax, al
add eax, 2
mov qword [rsp + 0x28], rsi
mov rsi, qword [rsp + 0x200]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], ebx
cmp eax, 1
je 0x1400d3e0a
test al, 1
jne 0x1400d3e0a
mov rax, rdi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14028bc60
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rdi
ret
lea rdx, str.winsock
lea rcx, [rsp + 0x20]
call fcn.1400786b0
int3
Function at 0x1400d49e0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp - 9], rax
mov eax, dword [rcx + 0x40]
mov rdi, rcx
mov dword [rbp - 0x39], eax
xor esi, esi
mov eax, dword [rcx + 0x44]
mov ebx, select
mov dword [rbp - 0x35], eax
mov eax, dword [rcx + 0x48]
lea r14, [rdi + 0x3c]
mov dword [rbp - 0x31], eax
mov eax, dword [rcx + 0x4c]
mov dword [rbp - 0x2d], eax
mov eax, dword [rcx + 0x50]
movdqu xmm9, xmmword [rbp - 0x39]
mov dword [rbp - 0x29], eax
mov eax, dword [rcx + 0x54]
mov dword [rbp - 0x25], eax
mov eax, dword [rcx + 0x58]
mov dword [rbp - 0x21], eax
mov eax, dword [rcx + 0x5c]
mov rcx, qword [rcx + 0x60]
mov dword [rbp - 0x1d], eax
mov rax, rcx
movdqu xmm8, xmmword [rbp - 0x29]
shr rax, 4
mov dword [rbp - 0x19], eax
lea rax, [rbp - 0xd]
shr rcx, 0x24
mov dword [rbp - 0x69], 0x61707865
mov dword [rbp - 0x65], 0x3320646e
mov dword [rbp - 0x61], 0x79622d32
mov dword [rbp - 0x5d], 0x6b206574
mov dword [rbp - 0x15], ecx
mov dword [rbp - 0xd], 0xdeadbeef
mov dword [rbp - 0x11], 0xdeadbeef
movdqu xmm7, xmmword [rbp - 0x19]
movdqu xmm6, xmmword [rbp - 0x69]
movdqu xmmword [rbp - 0x49], xmm6
cmp rdi, rax
ja 0x1400d4ae9
lea rax, [rbp - 0x49]
cmp r14, rax
jb 0x1400d4ae9
mov r8d, ebx
lea rdx, [rbp - 0x49]
sub r8, rsi
lea rcx, [rdi + rsi*4]
shl r8, 2
lea rdx, [rdx + rsi*4]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call fcn.1400d5c90
jmp 0x1400d4b14
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm9
movups xmmword [rdi + 0x20], xmm8
movups xmmword [rdi + 0x30], xmm7
mov rcx, rdi
call fcn.1400d5c90
lea rax, [rbp - 0xd]
cmp rdi, rax
ja 0x1400d4b41
lea rax, [rbp - 0x49]
cmp r14, rax
jb 0x1400d4b41
lea rdx, [rbp - 0x49]
mov rcx, rsi
sub rdx, rdi
lea rax, [rdi + rsi*4]
sub rbx, rcx
nop word [rax + rax]
mov ecx, dword [rdx + rax]
add dword [rax], ecx
lea rax, [rax + 4]
sub rbx, 1
jne 0x1400d4b30
jmp 0x1400d4b79
movdqu xmm0, xmmword [rdi]
paddd xmm6, xmm0
movdqu xmmword [rdi], xmm6
movdqu xmm0, xmmword [rdi + 0x10]
paddd xmm0, xmm9
movdqu xmmword [rdi + 0x10], xmm0
movdqu xmm0, xmmword [rdi + 0x20]
paddd xmm0, xmm8
movdqu xmmword [rdi + 0x20], xmm0
movdqu xmm0, xmmword [rdi + 0x30]
paddd xmm0, xmm7
movdqu xmmword [rdi + 0x30], xmm0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400d76c0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r12
push r15
sub rsp, 0x30
mov rdi, r8
lea r12, [0x140e3a040]
sub rdi, r12
mov r15, rcx
sar rdi, 2
test rdi, rdi
je 0x1400d78a4
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x60], rsi
sar rbx, 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
cmp rdi, 0x26f
jb 0x1400d7716
mov eax, listen
jmp 0x1400d7744
cmp rdi, 0x44
jb 0x1400d7723
mov eax, 7
jmp 0x1400d7744
cmp rdi, 0x27
jb 0x1400d7730
mov eax, 5
jmp 0x1400d7744
cmp rdi, 7
jb 0x1400d773d
mov eax, 3
jmp 0x1400d7744
lea rax, [rdi - 1]
shr rax, 1
mov rsi, rdi
lea r14, [rbx + 1]
sub rsi, rax
shr rsi, 1
lea r13, [rsi + rax]
cmp rdi, rbx
jbe 0x1400d775d
mov r14, rdi
mov r8, rdi
mov qword [rsp + 0x58], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r14, r14
je 0x1400d780a
xor edx, edx
lea rax, [rcx + rsi]
div rdi
mov r11d, dword [r12 + rdx*4]
lea r10, [r12 + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [r12 + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [r12 + rdx*4]
xor r8d, dword [rbp]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x1400d77ce
mov rax, rbx
jmp 0x1400d77e2
cmp rcx, rbx
ja 0x1400d77df
mov rax, qword [r15]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x1400d77e2
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [r12 + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r14
jb 0x1400d7781
add r14, rdi
cmp rcx, r14
jae 0x1400d788b
inc rsi
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [rsi + rbp]
div rdi
mov r10d, dword [r12 + rdx*4]
lea r11, [r12 + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [r12 + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [r12 + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [r12 + rdx*4], r8d
mov dword [r12 + r9*4], r8d
cmp rax, r14
jb 0x1400d7820
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
Function at 0x1400efbb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
xor eax, eax
lock xadd dword [rcx + 0x3c], eax
test eax, eax
je 0x1400efbec
xor eax, eax
jmp 0x1400efdb4
lea r13, [rcx + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov r15d, edx
mov esi, edx
mov ebp, edx
cmp qword [rdi + 0x20], rdx
jne 0x1400efc12
cmp rdi, qword [rbx + 0x10]
jne 0x1400efcfe
movabs r14, 0x8fafd21e25c5e09b
lea r13, [0x14048a960]
movabs rcx, 0xb2ab117a257edf0d
cmp rbp, r12
je 0x1400efcdc
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400efcdc
mov dword [rsp + 0x24], edx
mov rax, qword [0x14048a968]
cmp rax, r14
je 0x1400efc6d
cmp rax, rcx
je 0x1400efc6d
mov rax, qword [0x14048a960]
mov edx, 0x3e3
mov rcx, r13
call qword [rax + 0x30]
xor edx, edx
jmp 0x1400efc6f
mov al, 1
movzx eax, al
add eax, 2
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0x3e3
mov qword [rsp + 0x28], r13
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x38], xmm0
movsd xmm1, qword [rsp + 0x30]
movsd qword [rbx + 0x48], xmm1
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400efcb6
mov rax, qword [rcx + 0x20]
mov qword [rdi], rax
test rax, rax
jne 0x1400efcb2
mov qword [rdi + 8], rdx
mov qword [rcx + 0x20], rdx
mov qword [rbx + 0x20], rdx
test rsi, rsi
je 0x1400efcce
mov qword [rsi + 0x20], rbx
inc rbp
mov rsi, rbx
jmp 0x1400efc23
mov r15, rbx
inc rbp
mov rsi, rbx
jmp 0x1400efc23
cmp qword [rdi], 0
mov r14, qword [rsp + 0x80]
lea r13, [r14 + 0x60]
jne 0x1400efcfe
mov rdx, rdi
mov rcx, qword [rsp + 0x88]
call fcn.1400d4bc0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, r15
test r15, r15
je 0x1400efdb1
mov rdi, r15
mov r12d, 1
nop dword [rax]
mov rcx, qword [r15 + 0x20]
mov r15, rcx
mov qword [rdi + 0x20], 0
mov rdi, rcx
xor eax, eax
test rcx, rcx
cmovne rax, rsi
mov rsi, rax
mov dword [rbx + 0x30], r12d
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x1400efd62
mov rbx, rdi
test rdi, rdi
jne 0x1400efd20
jmp 0x1400efdb1
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], 0
mov rax, qword [r14 + 0x98]
test rax, rax
je 0x1400efd85
mov qword [rax + 0x20], rbx
jmp 0x1400efd8c
mov qword [r14 + 0x90], rbx
mov qword [r14 + 0x98], rbx
test r15, r15
je 0x1400efda3
mov qword [rbx + 0x20], r15
mov qword [r14 + 0x98], rsi
xchg dword [r14 + 0x58], r12d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, rbp
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400fa1b0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, rcx
movzx r14d, r8b
mov rcx, qword [rcx + 8]
mov rsi, r9
mov rbp, rdx
cmp rcx, 0xffffffffffffffff
jne 0x1400fa24f
mov rax, qword [0x14048a968]
lea rbx, [0x14048a960]
movabs rcx, 0x8fafd21e25c5e09b
mov dword [rsp + 0x24], 0
cmp rax, rcx
je 0x1400fa221
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x1400fa221
mov rax, qword [0x14048a960]
mov edx, 0x2719
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x1400fa223
mov al, 1
movzx eax, al
mov dword [rsp + 0x20], 0x2719
add eax, 2
mov qword [rsp + 0x28], rbx
movups xmm0, xmmword [rsp + 0x20]
mov dword [rsp + 0x30], eax
movsd xmm1, qword [rsp + 0x30]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
jmp 0x1400fa289
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], r14d
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, eax
mov rcx, rsi
shr edx, 0x1f
mov ebx, eax
call fcn.14007aad0
test ebx, ebx
js 0x1400fa289
movzx eax, byte [rdi + 0x10]
test r14b, r14b
je 0x1400fa284
or al, 1
jmp 0x1400fa286
and al, 0xfc
mov byte [rdi + 0x10], al
movups xmm0, xmmword [rsi]
mov rax, rbp
mov rbx, qword [rsp + 0x68]
movsd xmm1, qword [rsi + 0x10]
movups xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400ff070
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400ff09f
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x1400ff097
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400ff0e9
mov ecx, dword [0x140e34fa4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ff0d8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400ff0d8
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400ff0f4
inc ecx
inc rax
cmp rax, 2
jl 0x1400ff0c6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret