joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dcf0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
movaps xmmword [rsp + 0x40], xmm6
mov rbx, rcx
mov rax, qword [rcx + 0x20]
mov r8, qword [rax + 0x18]
test r8, r8
je 0x14001dd44
lea rax, [0x14001d790]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
call r8
jmp 0x14001ddb2
mov rdi, qword [rdx]
movups xmm6, xmmword [rdx + 8]
xor esi, esi
mov ecx, dword [0x1400d3778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001dd64
mov rdx, qword [rax + 8]
jmp 0x14001dd66
xor edx, edx
mov r8d, 0x28
movzx ecx, sil
call fcn.140016210
test rax, rax
je 0x14001dd8c
mov qword [rax + 8], rdi
movups xmmword [rax + 0x10], xmm6
lea rcx, [0x14001d7a0]
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x20]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [rax + select]
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14001ddb2
xor edx, edx
mov rcx, rax
call qword [rax]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret

Function at 0x14001f7e0
Capabilities:
Initialize winsock library

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x200
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400c1ed0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
mov ecx, 0x38
call fcn.140047194
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14001f841
mov rcx, rax
call fcn.14001fe80
mov qword [rbx + 0x28], rsi
xor edi, edi
mov qword [rbx + 0x30], rdi
jmp 0x14001f845
xor edi, edi
mov ebx, edi
mov qword [rsi], rbx
mov eax, 1
lock xadd dword [0x1400d35e0], eax
inc eax
cmp eax, 1
jne 0x14001f870
lea ecx, [rax + 1]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1400d35e4], eax
lea rcx, [0x1400d35e0]
call fcn.140005a04
nop
mov ecx, 0xb0
call fcn.140047194
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14001f8a6
xor r9d, r9d
or r8d, 0xffffffff
mov rdx, rsi
mov rcx, rax
call fcn.14001fbd0
mov rdi, rax
mov qword [rsp + 0x20], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14001e0a0
mov r8, rdi
lea rdx, [rsp + 0x28]
mov rcx, qword [rsi]
call fcn.140023da0
nop
mov qword [rsi + 0x10], rdi
mov rax, rsi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140046830
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140022b80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
lea rbx, [rcx + 0x28]
test rcx, rcx
jne 0x140022b97
mov ebx, edi
mov ecx, dword [0x1400d3778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022bb6
cmp qword [rax], rbx
je 0x140022bca
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140022ba8
mov rcx, rdi
test rcx, rcx
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rax + 8]
mov rbx, qword [rsp + 0x30]
test rcx, rcx
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x140022f80
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xb0
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140022f38
dec ecx
jne 0x140022f61
mov dword [rbx + 0x18], 2
lea rax, [r11 - 0x38]
mov qword [r11 + 8], rax
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14004b0b8
lea rax, [rsp + 0x20]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x30]
call fcn.1400469b0
nop
lea rdi, vtable.Ve.iosobttcAl_iops_e_stmpxiaeuln___o.0
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14004b0b8
nop
lea rcx, [rsp + 0x20]
call fcn.14000fb1c
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.140046984
nop
mov qword [rsp + 0x80], rdi
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.14004b0b8
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.14001e0d0
nop
mov rdx, rax
lea rcx, [rbx + 0x20]
call fcn.14004b0b0
nop
lea rcx, [rsp + 0x58]
call fcn.14000fb1c
nop
lea rcx, [rsp + 0x48]
call fcn.14000fb1c
lea rcx, [rsp + 0x30]
call fcn.1400469c8
jmp 0x140022f61
mov dword [rbx + 0x18], 1
lea rcx, [rsp + 0x70]
call fcn.140023aa0
nop
lea rcx, [rbx + 0x20]
mov rdx, rax
call fcn.14004b0b0
nop
lea rcx, [rsp + 0x70]
call fcn.14000fb1c
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140022f91
lea rbx, [rcx + 0x28]
jmp 0x140022f93
xor ebx, ebx
mov ecx, dword [0x1400d3778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022fcb
cmp qword [rax], rbx
je 0x140022fb8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140022fa4
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140022fcb
add rsp, 0x20
pop rbx
jmp 0x140022e40
add rsp, 0x20
pop rbx
ret
Function at 0x140023360
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov r8d, dword [rdx]
mov rbx, rdx
mov rdi, rcx
sub r8d, 0x79
je 0x1400233a2
sub r8d, 0x450
je 0x14002339b
sub r8d, 6
je 0x140023394
dec r8d
jne 0x1400233af
mov edx, 0x2751
jmp 0x1400233a7
mov edx, 0x2743
jmp 0x1400233a7
mov edx, 0x274d
jmp 0x1400233a7
mov edx, 0x274c
mov rcx, rbx
call fcn.14001c340
cmp byte [rbx + 4], 0
jne 0x140023483
cmp rdi, 0xffffffffffffffff
jne 0x140023457
mov eax, dword [0x1400d35a0]
movabs rcx, 0x8fafd21e25c5e09b
test al, 1
jne 0x1400233fa
or eax, 1
lea r8, vtable.V_.ts_taesrA__etcot_y_tsm_dyoysgrsrliabor_eeeom.0
mov qword [0x1400d3598], rcx
mov dword [0x1400d35a0], eax
mov qword [0x1400d3590], r8
mov rax, rcx
jmp 0x140023408
mov rax, qword [0x1400d3598]
mov r8, qword [0x1400d3590]
mov dword [rsp + 0x30], 0x2719
lea rdi, [0x1400d3590]
cmp rax, rcx
je 0x140023439
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x140023439
mov edx, 0x2719
mov rcx, rdi
call qword [r8 + 0x30]
jmp 0x14002343b
mov al, 1
mov byte [rsp + 0x34], al
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor r9d, r9d
mov edx, 0xffff
mov r8d, 0x7010
mov rcx, rdi
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rbx
test eax, eax
setne dl
call fcn.14001ac70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140023590
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, r9
cmp rcx, 0xffffffffffffffff
jne 0x14002363e
mov eax, dword [0x1400d35a0]
movabs rcx, 0x8fafd21e25c5e09b
test al, 1
jne 0x1400235de
or eax, 1
lea r8, vtable.V_.ts_taesrA__etcot_y_tsm_dyoysgrsrliabor_eeeom.0
mov qword [0x1400d3598], rcx
mov dword [0x1400d35a0], eax
mov qword [0x1400d3590], r8
mov rax, rcx
jmp 0x1400235ec
mov rax, qword [0x1400d3598]
mov r8, qword [0x1400d3590]
mov dword [rsp + 0x20], 0x2719
lea rbx, [0x1400d3590]
cmp rax, rcx
je 0x14002361d
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x14002361d
mov edx, 0x2719
mov rcx, rbx
call qword [r8 + 0x30]
jmp 0x14002361f
mov al, 1
mov byte [rsp + 0x24], al
mov qword [rsp + 0x28], rbx
movups xmm0, xmmword [rsp + 0x20]
or eax, 0xffffffff
movups xmmword [rdi], xmm0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.WS2_32.dll_connect]
mov rcx, rdi
test eax, eax
mov ebx, eax
setne dl
call fcn.14001ac70
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140025c90
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
xor r8d, r8d
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
lea rdx, [rsp + 0x20]
lea ecx, [r8 + 2]
or r9d, 0xffffffff
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1400c9668], eax
test eax, eax
je 0x140025ceb
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
mov rdx, qword [rbx + 8]
lea rcx, [fcn.140006490]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
Function at 0x140025df0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x1400c1ed0]
xor rax, rsp
mov qword [rbp + 0x370], rax
lea rax, [rsp + 0x48]
mov rdi, rdx
mov rbx, rcx
mov qword [rbp + 0x168], rcx
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x160]
xor esi, esi
inc ecx
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x160], 1
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], rsi
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x140025ff9
mov dword [rsp + 0x30], esi
cmp rbx, 0xffffffffffffffff
jne 0x140025efb
mov ecx, dword [0x1400d35a0]
movabs rax, 0x8fafd21e25c5e09b
test cl, 1
jne 0x140025eb1
or ecx, 1
lea r8, vtable.V_.ts_taesrA__etcot_y_tsm_dyoysgrsrliabor_eeeom.0
mov qword [0x1400d3598], rax
mov dword [0x1400d35a0], ecx
mov qword [0x1400d3590], r8
mov rcx, rax
jmp 0x140025ebf
mov rcx, qword [0x1400d3598]
mov r8, qword [0x1400d3590]
mov dword [rsp + 0x38], 0x2719
lea rbx, [0x1400d3590]
cmp rcx, rax
je 0x140025fae
movabs rax, 0xb2ab117a257edf0d
cmp rcx, rax
je 0x140025fae
mov edx, 0x2719
mov rcx, rbx
call qword [r8 + 0x30]
jmp 0x140025fb0
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rbx
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getsockopt]
mov rcx, rdi
test eax, eax
mov ebx, eax
setne dl
call fcn.14001ac70
test ebx, ebx
jne 0x140025ff7
mov edx, dword [rsp + 0x30]
movabs rax, 0x8fafd21e25c5e09b
test edx, edx
je 0x140025fc3
mov ecx, dword [0x1400d35a0]
test cl, 1
jne 0x140025f7d
or ecx, 1
lea r8, vtable.V_.ts_taesrA__etcot_y_tsm_dyoysgrsrliabor_eeeom.0
mov qword [0x1400d3598], rax
mov dword [0x1400d35a0], ecx
mov qword [0x1400d3590], r8
mov rcx, rax
jmp 0x140025f8b
mov rcx, qword [0x1400d3598]
mov r8, qword [0x1400d3590]
mov dword [rsp + 0x38], edx
lea rbx, [0x1400d3590]
cmp rcx, rax
je 0x140025fae
movabs rax, 0xb2ab117a257edf0d
cmp rcx, rax
jne 0x140025eef
mov al, 1
mov byte [rsp + 0x3c], al
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
jmp 0x140025ff7
mov rbx, qword [rdi + 8]
mov dword [rdi], esi
mov rcx, qword [rbx + 8]
cmp rcx, rax
je 0x140025fee
movabs rax, 0xb2ab117a257edf0d
cmp rcx, rax
je 0x140025fee
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x140025ff0
xor al, al
mov byte [rdi + 4], al
mov qword [rdi + 8], rbx
mov al, 1
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140046830
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x480
pop rdi
pop rsi
pop rbp
ret

Function at 0x140026090
Capabilities:
Act as tcp client
Connect tcp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp edx, 2
jne 0x1400260cf
mov qword [rsp + 0x20], rbx
lea rbx, [rcx + 0x58]
mov rcx, rbx
call fcn.1400231d0
mov rcx, rbx
mov qword [rbx + 8], 0xffffffffffffffff
mov qword [rbx], 0xffffffffffffffff
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.140026160
add rsp, 0x28
ret
Function at 0x140026ba0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x480
mov rax, qword [0x1400c1ed0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rdi, r8
mov r8d, edx
cmp rcx, 0xffffffffffffffff
jne 0x140026c60
mov eax, dword [0x1400d35a0]
movabs rcx, 0x8fafd21e25c5e09b
test al, 1
jne 0x140026c06
or eax, 1
lea r8, vtable.V_.ts_taesrA__etcot_y_tsm_dyoysgrsrliabor_eeeom.0
mov qword [0x1400d3598], rcx
mov dword [0x1400d35a0], eax
mov qword [0x1400d3590], r8
mov rax, rcx
jmp 0x140026c14
mov rax, qword [0x1400d3598]
mov r8, qword [0x1400d3590]
mov dword [rsp + 0x38], 0x2719
lea rbx, [0x1400d3590]
cmp rax, rcx
je 0x140026c45
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x140026c45
mov edx, 0x2719
mov rcx, rbx
call qword [r8 + 0x30]
jmp 0x140026c47
mov al, 1
mov byte [rsp + 0x3c], al
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x38]
or eax, 0xffffffff
movups xmmword [rdi], xmm0
jmp 0x140026ce4
mov qword [rsp + 0x268], rcx
mov dword [rsp + 0x260], 1
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x50], 1
test edx, edx
js 0x140026cb5
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x30], edx
imul eax, edx, 0x3e8
sub r8d, eax
imul eax, r8d, 0x3e8
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
jmp 0x140026cb7
xor eax, eax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x260]
inc ecx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov rcx, rdi
test eax, eax
mov ebx, eax
sets dl
call fcn.14001ac70
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140046830
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x480
pop rdi
ret
Function at 0x1400270b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
xor r12d, r12d
mov dword [r11 + 0x18], r9d
lea rax, [r11 + 0x18]
mov qword [r11 - 0x48], r12
mov qword [r11 - 0x50], r12
lea r9, [r11 + 0x20]
mov qword [r11 - 0x58], rax
mov dword [r11 + 0x20], r12d
call qword [sym.imp.WS2_32.dll_WSARecv]
mov ecx, dword [0x1400d35a0]
movabs rbp, 0x8fafd21e25c5e09b
lea rdi, vtable.V_.ts_taesrA__etcot_y_tsm_dyoysgrsrliabor_eeeom.0
mov esi, eax
test cl, 1
jne 0x140027121
or ecx, 1
mov qword [0x1400d3598], rbp
mov qword [0x1400d3590], rdi
mov dword [0x1400d35a0], ecx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x1400d3598]
lea r14, [0x1400d3590]
mov dword [rsp + 0x40], eax
movabs r15, 0xb2ab117a257edf0d
cmp rcx, rbp
je 0x14002715e
cmp rcx, r15
je 0x14002715e
mov edx, eax
mov rax, qword [0x1400d3590]
mov rcx, r14
call qword [rax + 0x30]
jmp 0x140027163
test eax, eax
setne al
mov rbx, qword [rsp + 0xa0]
mov byte [rsp + 0x44], al
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
mov eax, dword [rbx]
cmp eax, 0x40
jne 0x1400271eb
mov eax, dword [0x1400d35a0]
test al, 1
jne 0x1400271a9
or eax, 1
mov qword [0x1400d3590], rdi
mov dword [0x1400d35a0], eax
mov rax, rbp
mov qword [0x1400d3598], rax
jmp 0x1400271b7
mov rax, qword [0x1400d3598]
mov rdi, qword [0x1400d3590]
mov dword [rsp + 0x40], 0x2746
cmp rax, rbp
je 0x1400271d6
cmp rax, r15
je 0x1400271d6
mov edx, 0x2746
mov rcx, r14
call qword [rdi + 0x30]
jmp 0x1400271d8
mov al, 1
mov byte [rsp + 0x44], al
mov qword [rsp + 0x48], r14
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x14002720f
cmp eax, 0x4d2
jne 0x140027201
mov edx, 0x274d
mov rcx, rbx
call fcn.14001c340
jmp 0x14002720f
cmp eax, 0xea
je 0x140027218
cmp eax, 0x2738
je 0x140027218
test esi, esi
je 0x140027218
or eax, 0xffffffff
jmp 0x14002724a
mov rdi, qword [rbx + 8]
mov dword [rbx], r12d
mov rax, qword [rdi + 8]
cmp rax, rbp
je 0x14002723a
cmp rax, r15
je 0x14002723a
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x14002723c
xor al, al
mov byte [rbx + 4], al
mov eax, dword [rsp + 0x98]
mov qword [rbx + 8], rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140028610
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x140028695
call fcn.140029be0
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x2c], bl
mov eax, dword [0x1400d35a0]
test al, 1
jne 0x14002867a
or eax, 1
mov dword [0x1400d35a0], eax
movabs rax, 0x8fafd21e25c5e09b
mov qword [0x1400d3598], rax
lea rax, vtable.V_.ts_taesrA__etcot_y_tsm_dyoysgrsrliabor_eeeom.0
mov qword [0x1400d3590], rax
lea rax, [0x1400d3590]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x140028767
mov dword [rsp + 0x58], ebx
lea rcx, [rsp + 0x60]
call fcn.14004b12c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
test rdi, rdi
lea rax, [rdi + 0x28]
jne 0x1400286bd
mov rax, rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1400d3778]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x28]
mov ecx, dword [0x1400d3778]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rsp + 0x40]
or edx, 0xffffffff
mov rcx, rdi
call fcn.1400242a0
test rax, rax
je 0x140028728
cmp rbx, 0xffffffffffffffff
je 0x140028710
inc rbx
mov r9, rsi
lea r8, [rsp + 0x40]
or edx, 0xffffffff
mov rcx, rdi
call fcn.1400242a0
test rax, rax
jne 0x140028707
mov rdx, qword [rsp + 0x38]
mov ecx, dword [0x1400d3778]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rdi, [rsp + 0x40]
mov esi, 3
mov rcx, qword [rdi]
test rcx, rcx
je 0x140028751
call fcn.140046814
add rdi, 8
dec rsi
jne 0x140028744
lea rcx, [rsp + 0x60]
call fcn.14000fb1c
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400288f0
Capabilities:
Get socket status

Disassembly:
push rbx
sub rsp, 0x30
test rdx, rdx
jne 0x1400289b4
test r8, r8
jne 0x1400289b4
test r9, r9
jne 0x1400289b4
mov r10, qword [rsp + 0x60]
test r10, r10
je 0x1400289d9
mov eax, 0x10624dd3
mov qword [rsp + 0x40], rdi
imul dword [r10 + 4]
imul eax, dword [r10], 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, eax
mov eax, 1
cmove ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdi, qword [rsp + 0x68]
movabs rcx, 0x8fafd21e25c5e09b
mov rbx, qword [rdi + 8]
mov dword [rdi], 0
mov rax, qword [rbx + 8]
cmp rax, rcx
je 0x14002899e
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x14002899e
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x30]
mov qword [rdi + 8], rbx
mov byte [rdi + 4], al
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rbx
ret
xor al, al
mov qword [rdi + 8], rbx
mov byte [rdi + 4], al
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov r10, qword [rsp + 0x60]
test r10, r10
je 0x1400289d9
cmp dword [r10], 0
jne 0x1400289d9
mov eax, dword [r10 + 4]
dec eax
cmp eax, 0x3e6
ja 0x1400289d9
mov dword [r10 + 4], 0x3e8
mov qword [rsp + 0x20], r10
call qword [sym.imp.WS2_32.dll_select]
mov rcx, qword [rsp + 0x68]
test eax, eax
mov ebx, eax
sets dl
call fcn.14001ac70
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400290a0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, r9
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov esi, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
mov rcx, rbx
mov rdi, rax
sete dl
call fcn.14001ac70
cmp rdi, 0xffffffffffffffff
jne 0x1400290f8
or rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp esi, 0x17
jne 0x140029122
lea r9, [rsp + 0x30]
lea edx, [rsi + 0x12]
lea r8d, [rsi + 4]
mov rcx, rdi
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x14002b0e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov r11, r8
mov rsi, rdx
mov r10, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
mov rax, r9
shr rax, 0x20
xor r9, rax
mov rdx, qword [r10 + 0x28]
mov rcx, rdx
and rcx, r9
cmp qword [r10 + 0x30], rcx
ja 0x14002b178
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rcx, rax
mov rbx, qword [r10]
mov rdx, qword [r10 + 0x10]
mov r8, rcx
shl r8, 4
mov rax, qword [rdx + r8]
cmp rbx, rax
je 0x14002b1cd
mov rbx, qword [rdx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x14002b1cd
mov eax, dword [r11]
add rcx, rcx
mov rbx, qword [rbx + 8]
cmp dword [rbx + 0x10], eax
je 0x14002b1b3
cmp rbx, qword [rdx + rcx*8]
jne 0x14002b1a2
jmp 0x14002b1cd
mov rdx, rdi
mov rcx, r10
call fcn.14002efa0
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14002b25d
mov rax, qword [rdi]
cmp rbx, rax
je 0x14002b202
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r10 + 0x10]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r10]
jne 0x14002b21f
mov qword [rdx], rdi
mov rax, qword [r10 + 0x10]
mov qword [rax + r8 + 8], rdi
jmp 0x14002b24b
cmp rax, rbx
jne 0x14002b229
mov qword [rdx], rdi
jmp 0x14002b24b
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14002b24b
mov rdx, qword [r10 + 0x10]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r10
call fcn.14002eeb0
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret