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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x14012c8d0
lea rcx, [rsi + 0xd0]
cmp qword [rcx + 0x20], 0
je 0x14012c873
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rsi + 0xb8], 0
je 0x14012c891
mov rax, qword [rsi + 0xb0]
mov rdx, qword [rax]
lea rcx, [rsi + 0x98]
call rdx
nop
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14012c8b3
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14012c8b3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
cmp qword [rsi + 0x70], 0
je 0x14012c8c8
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax]
lea rcx, [rsi + 0x50]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14012c919
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012c909
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14012c909
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14012c929
inc ecx
inc rax
cmp rax, 2
jl 0x14012c8f7
mov rcx, rbx
call fcn.1401c23c4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x108]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14012c911

Function at 0x14012ca60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14012cae0
lea rcx, [rbx + 0x1a0]
cmp qword [rcx + 0x20], 0
je 0x14012ca93
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rbx + 0x188], 0
je 0x14012cab1
mov rax, qword [rbx + 0x180]
mov rdx, qword [rax]
lea rcx, [rbx + 0x168]
call rdx
nop
lea rcx, [rbx + 0x70]
call fcn.1400df300
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14012cad8
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14012cad8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14012cb29
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012cb19
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14012cb19
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14012cb39
inc ecx
inc rax
cmp rax, 2
jl 0x14012cb07
mov rcx, rbx
call fcn.1401c23c4
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x1d8]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14012cb21
Function at 0x14012cb50
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14012cbd0
lea rcx, [rbx + 0x1e0]
cmp qword [rcx + 0x20], 0
je 0x14012cb83
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rbx + 0x1c8], 0
je 0x14012cba1
mov rax, qword [rbx + 0x1c0]
mov rdx, qword [rax]
lea rcx, [rbx + 0x1a8]
call rdx
nop
lea rcx, [rbx + 0x70]
call fcn.1400df380
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14012cbc8
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14012cbc8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14012cc19
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012cc09
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14012cc09
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14012cc29
inc ecx
inc rax
cmp rax, 2
jl 0x14012cbf7
mov rcx, rbx
call fcn.1401c23c4
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x218]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14012cc11

Function at 0x14012d630
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14012d6b3
lea rcx, [rbx + 0x1b8]
cmp qword [rcx + 0x20], 0
je 0x14012d663
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rbx + 0x1a0], 0
je 0x14012d681
mov rax, qword [rbx + 0x198]
mov rdx, qword [rax]
lea rcx, [rbx + 0x180]
call rdx
nop
lea rcx, [rbx + 0x88]
call fcn.1400df300
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14012d6ab
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14012d6ab
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14012d702
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012d6f2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14012d6f2
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x14012d712
inc ecx
inc rax
cmp rax, 2
jl 0x14012d6e0
mov rcx, rbx
call fcn.1401c23c4
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x1f0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14012d6fa
Function at 0x14012d730
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14012d7b3
lea rcx, [rbx + 0x1f8]
cmp qword [rcx + 0x20], 0
je 0x14012d763
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rbx + 0x1e0], 0
je 0x14012d781
mov rax, qword [rbx + 0x1d8]
mov rdx, qword [rax]
lea rcx, [rbx + 0x1c0]
call rdx
nop
lea rcx, [rbx + 0x88]
call fcn.1400df380
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14012d7ab
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14012d7ab
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14012d802
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012d7f2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14012d7f2
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x14012d812
inc ecx
inc rax
cmp rax, 2
jl 0x14012d7e0
mov rcx, rbx
call fcn.1401c23c4
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x230]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14012d7fa

Function at 0x14012d830
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14012d8f7
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x20], 0
je 0x14012d867
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rbx + 0x100], 0
je 0x14012d885
mov rax, qword [rbx + 0xf8]
mov rdx, qword [rax]
lea rcx, [rbx + 0xe0]
call rdx
nop
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14012d89b
mov edx, 0xb8
call fcn.1401ae118
mov rcx, qword [rbx + 0xd0]
mov edi, 0xffffffff
test rcx, rcx
je 0x14012d8be
mov eax, edi
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14012d8be
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rbx + 0x90]
cmp qword [rcx + 0x20], 0
je 0x14012d8d6
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14012d8ef
lock xadd dword [rcx + 0xc], edi
cmp edi, 1
jne 0x14012d8ef
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14012d942
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012d932
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14012d932
xor ecx, ecx
xor eax, eax
nop
cmp qword [rdx + rax*8], 0
je 0x14012d952
inc ecx
inc rax
cmp rax, 2
jl 0x14012d920
mov rcx, rbx
call fcn.1401c23c4
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x150]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14012d93a
Function at 0x14012d970
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14012da12
lea rcx, [rbx + 0x208]
cmp qword [rcx + 0x20], 0
je 0x14012d9a7
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rbx + 0x1f0], 0
je 0x14012d9c5
mov rax, qword [rbx + 0x1e8]
mov rdx, qword [rax]
lea rcx, [rbx + 0x1d0]
call rdx
nop
lea rcx, [rbx + 0x170]
cmp byte [rcx + 0x38], 0
je 0x14012d9e3
cmp qword [rcx + 0x20], 0
je 0x14012d9e3
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
lea rcx, [rbx + 0x78]
call fcn.1400df300
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x14012da0a
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14012da0a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14012da62
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012da52
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14012da52
xor ecx, ecx
xor eax, eax
nop dword [rax]
cmp qword [rdx + rax*8], 0
je 0x14012da72
inc ecx
inc rax
cmp rax, 2
jl 0x14012da40
mov rcx, rbx
call fcn.1401c23c4
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x240]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14012da5a

Function at 0x14012da90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14012db32
lea rcx, [rbx + 0x248]
cmp qword [rcx + 0x20], 0
je 0x14012dac7
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
cmp qword [rbx + 0x230], 0
je 0x14012dae5
mov rax, qword [rbx + 0x228]
mov rdx, qword [rax]
lea rcx, [rbx + 0x210]
call rdx
nop
lea rcx, [rbx + 0x1b0]
cmp byte [rcx + 0x38], 0
je 0x14012db03
cmp qword [rcx + 0x20], 0
je 0x14012db03
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
lea rcx, [rbx + 0x78]
call fcn.1400df380
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x14012db2a
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14012db2a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14012db82
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012db72
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14012db72
xor ecx, ecx
xor eax, eax
nop dword [rax]
cmp qword [rdx + rax*8], 0
je 0x14012db92
inc ecx
inc rax
cmp rax, 2
jl 0x14012db60
mov rcx, rbx
call fcn.1401c23c4
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x280]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
jmp 0x14012db7a
Function at 0x14012e860
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xb0
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov eax, edi
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x14012e8a9
call fcn.140132f90
mov dword [rsp + 0x20], edi
lea rax, [0x1403275b8]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x14012e9bc
mov dword [rsp + 0x90], edi
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdi
lea rcx, [rsp + 0x98]
call fcn.1401ad37c
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
lea rax, [rbx + 0x28]
test rbx, rbx
cmove rax, rdi
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rsp + 0x40]
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14011a6f0
test rax, rax
je 0x14012e979
nop dword [rax]
nop word [rax + rax]
lea rax, [rdi + 1]
cmp rdi, 0xffffffffffffffff
cmove rax, rdi
mov rdi, rax
mov r9, rsi
lea r8, [rsp + 0x40]
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14011a6f0
test rax, rax
jne 0x14012e950
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rsp + 0x40]
mov esi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x14012e9a2
call fcn.1401c23c4
add rbx, 8
sub rsi, 1
jne 0x14012e995
lea rcx, [rsp + 0x98]
call fcn.1401ad408
mov rax, rdi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1401319b0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, r9
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov esi, ecx
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140131a2d
mov dword [rdi], 0
cmp esi, 0x17
jne 0x140131a1a
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x29
mov dword [rsp + 0x20], 4
mov r8d, 0x1b
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.14004cfa0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rsi, qword [rsp + 0x68]
mov dword [rsp + 0x38], eax
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x38]
mov rbx, qword [rsp + 0x60]
movups xmmword [rdi], xmm0
add rsp, 0x50
pop rdi
ret
Function at 0x140132210
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
test byte [rdx + 8], 0x10
mov edi, r8d
mov rbx, rcx
je 0x14013232c
mov rax, qword [rcx + 8]
xor r8d, r8d
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], r8
lock inc dword [rax + 0x30]
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140132275
mov rdx, qword [rsp + 0x90]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
call fcn.140122ca0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov qword [rsp + 0x30], r8
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], edi
lea r9, [rsp + 0x78]
mov rdi, qword [rsp + 0x90]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x78], r8d
mov r8d, 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], rsi
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x1401322c9
mov eax, 0x2746
jmp 0x1401322d6
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x70]
je 0x14013230d
cmp eax, 0x3e5
je 0x14013230d
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.140122ca0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.140122db0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
and edi, 1
add edi, edi
mov r8d, edi
call fcn.1401323f0
mov rbx, qword [rsp + 0x80]
mov eax, edi
add rsp, 0x60
pop rdi
ret

Function at 0x1401324a0
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 0x1401324da
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rbx
jmp fcn.140122ca0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140132502
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rbx
jmp fcn.140122ca0
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 0x14013255b
mov eax, 0x2746
jmp 0x140132568
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x58]
je 0x140132597
cmp eax, 0x3e5
je 0x140132597
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.140122ca0
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.140122db0
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
Function at 0x140132700
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 0x14013273a
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rdi
jmp fcn.140122ca0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140132762
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rdi
jmp fcn.140122ca0
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 0x1401327e1
cmp eax, 0x3e5
je 0x1401327e1
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.140122ca0
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.140122db0
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14013a210
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, ecx
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14013a28c
lea rdx, str.OpenProcess_failed:
lea rcx, [0x140356de0]
call fcn.140004e20
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140139f10
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.14002ec30
movzx edx, al
mov rcx, rbx
call fcn.14002bfb0
mov rcx, rbx
call fcn.1400235e0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov rbx, qword [rsp + 0x30]
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x140143eb0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, rdx
mov r14, rcx
xor edi, edi
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call fcn.14011e3b0
nop
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.140147ec0
nop
cmp qword [rbp + 0xd8], rdi
je 0x14014413d
mov rax, qword [rbp + 0xe8]
mov rbx, qword [rax + 0x58]
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax + 0x18]
lea rcx, [rbp + 0xb8]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x50]
call rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1e8]
call fcn.1400d7820
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x218], rax
lea r13, [0x14020a7c0]
mov qword [rbp - 0x80], r13
cmp qword [rsp + 0x70], rdi
je 0x140143f81
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call rdx
nop
cmp qword [r14 + 0x20], 0
je 0x140144153
mov rcx, qword [r14 + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140143fcb
lea rcx, [0x140145db0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x38], rcx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, r14
call rax
jmp 0x140144082
mov r12, qword [rcx + 0x10]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x78]
call fcn.140147d90
mov r15, rax
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140143ffc
mov rdi, qword [rax + 8]
mov r9d, 8
mov r8d, 0x140
mov rdx, rdi
movzx ecx, byte [rsp + 0x20]
call fcn.1400aa770
mov rsi, rax
mov rdx, r15
lea rcx, [rax + 8]
call fcn.140147ec0
lea rdx, [r15 + 0xf8]
lea rcx, [rsi + 0x100]
call fcn.1400d7820
mov rcx, qword [r15 + 0x128]
mov qword [rsi + 0x130], rcx
mov qword [r15 + 0x128], r13
lea rax, [0x140145dc0]
mov qword [rsi], rax
mov qword [rsp + 0x20], rsi
mov rcx, r15
call fcn.1400e2d60
nop
lea rdx, [rsp + 0x20]
mov rcx, r14
call r12
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140144082
mov rax, qword [rcx]
xor edx, edx
call rax
nop
cmp qword [rbp + 0x208], 0
je 0x1401440a0
mov rax, qword [rbp + 0x200]
mov rdx, qword [rax]
lea rcx, [rbp + 0x1e8]
call rdx
nop
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x1401440c1
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1401440c1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
cmp byte [rbp + 0x168], 0
je 0x1401440e8
cmp qword [rbp + 0x150], 0
je 0x1401440e8
mov rax, qword [rbp + 0x148]
mov rdx, qword [rax]
lea rcx, [rbp + 0x130]
call rdx
nop
lea rcx, [rbp + 0x110]
call fcn.1400e1380
nop
cmp qword [rbp + 0xd8], 0
je 0x140144113
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
lea rcx, [rbp + 0xb8]
call rdx
nop
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1401ae6a0
mov rbx, qword [rsp + 0x380]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x30]
call fcn.1400d7910
nop
lea rcx, [rsp + 0x30]
call fcn.1400d01d0
nop
lea rcx, [rsp + 0x30]
call fcn.1400d7910
nop
lea rcx, [rsp + 0x30]
call fcn.1400d01d0
int3
Function at 0x140146810
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x140146882
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140146882
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x140146920
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140146870
mov rbx, qword [r14]
mov eax, 1
xchg dword [rbx + 0x408], eax
test eax, eax
je 0x1401468a1
mov ecx, 0xe0
call fcn.1401ae1f0
mov rbx, rax
mov qword [rbx + 0x20], rdi
lea rax, [0x14014dee0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x30], edi
mov rcx, qword [rsi]
mov qword [rbx + 0x38], rcx
lea rdx, [rsi + 8]
lea rcx, [rbx + 0x40]
call fcn.140147cf0
mov rax, qword [r14]
mov qword [rbx + 0xd8], rax
mov rax, qword [r14 + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rbx
call fcn.1401257a0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1401ae6a0
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], rdi
je 0x140146882
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x38]
call fcn.140147cf0
nop
nop
lea rcx, [rsp + 0x38]
call fcn.140148ff0
nop
nop
lea rcx, [rsp + 0x38]
call fcn.140148450
jmp 0x1401468fc