joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140070f90
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
call fcn.1400a9490
mov rbx, qword [rbx + 8]
cmp rbx, 0xffffffffffffffff
jne 0x140070fb9
mov dword [rsp + 0x30], 0x2719
jmp 0x14007100c
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r9, rdi
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1400a9490
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test edi, edi
jne 0x140071021
mov dword [rsp + 0x30], edi
call fcn.1400a9490
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x30], 0
jne 0x140071033
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.140019e50
int3

Function at 0x140071050
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
call fcn.1400a9490
mov rbx, qword [rbx + 8]
cmp rbx, 0xffffffffffffffff
jne 0x140071079
mov dword [rsp + 0x30], 0x2719
jmp 0x1400710ca
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov edx, 6
mov dword [rsp + 0x20], 4
mov r9, rdi
mov rcx, rbx
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1400a9490
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test edi, edi
jne 0x1400710df
mov dword [rsp + 0x30], edi
call fcn.1400a9490
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x30], 0
jne 0x1400710f1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.140019e50
int3
Function at 0x1400720c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call fcn.1400a9490
mov qword [rsp + 0x38], rax
mov rdi, qword [rdi + 0x10]
mov eax, ebx
lock xadd dword [rdi + 0x30], eax
test eax, eax
jne 0x14001b4ac
mov rcx, rdi
call fcn.14001acd0
mov dword [rsp + 0x30], ebx
call fcn.1400a9490
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x14001b542
mov qword [rsp + 0x70], rbx
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3924]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x1402d3924]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.14001aed0
test rax, rax
je 0x14001b521
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.14001aed0
test rax, rax
jne 0x14001b500
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x1402d3924]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001b542
call fcn.1401e5074
cmp dword [rsp + 0x30], 0
jne 0x14001b557
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
lea rcx, [rsp + 0x30]
call fcn.140019e00
int3
mov rcx, qword [rcx + 0x18]
jmp 0x14001b450
Function at 0x140074220
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rax - 0x70], xmm1
mov rax, qword [r8]
mov qword [rsp + 0x58], rax
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140074283
cmp qword [rax], rbx
je 0x14007439c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140074271
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x60
call fcn.14001a0a0
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [fcn.140076e80]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x48], xmm1
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x58], rax
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14001c990
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rbp
test al, al
je 0x140074383
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x90]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.140076e80
nop
lea rcx, [rsp + 0x60]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140074283
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140079280
nop
jmp 0x140074383
Function at 0x1400753b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa0
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rax - 0x70], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rax - 0x60], xmm1
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140075412
nop dword [rax]
cmp qword [rax], rbx
je 0x14007551f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140075400
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x58
call fcn.14001a0a0
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [fcn.140047db0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x48], xmm1
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14001c990
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x78], rbp
test al, al
je 0x140075506
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.140047db0
nop
lea rcx, [rsp + 0x58]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140075412
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140047e70
nop
jmp 0x140075506
Function at 0x140075540
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rax - 0x70], xmm1
mov rax, qword [r8]
mov qword [rsp + 0x58], rax
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400755a3
cmp qword [rax], rbx
je 0x1400756bc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140075591
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x60
call fcn.14001a0a0
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [fcn.140077660]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x48], xmm1
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x58], rax
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14001c990
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rbp
test al, al
je 0x1400756a3
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x90]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.140077660
nop
lea rcx, [rsp + 0x60]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x1400755a3
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140047e70
nop
jmp 0x1400756a3
Function at 0x1400756e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x59], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x51], rax
add rdx, 0x20
lea rcx, [rbp - 0x49]
call fcn.1400ab810
nop
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x21], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x11], rax
mov rax, qword [rbx + 0x18]
mov qword [rbp - 9], rax
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 1]
call fcn.1400ab780
nop
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140075778
cmp qword [rax], rbx
je 0x140075889
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140075766
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x59]
mov ecx, 0xb8
call fcn.14001a0a0
mov rbx, rax
mov qword [rbp - 0x79], rax
xor r14d, r14d
mov qword [rbp - 0x71], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.140077520]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
lea rdx, [rbp - 0x59]
call fcn.140077e50
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14001c990
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x79], r14
test al, al
je 0x14007585f
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rdi + 0x28]
mov qword [rbp - 0x69], rax
mov rax, qword [rsi]
mov qword [rbp - 0x61], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rbp + 0x2f]
mov rdx, rbx
mov rcx, qword [rdi + 0x28]
call fcn.140077520
nop
lea rcx, [rbp - 0x69]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 1]
call fcn.1400abd70
lea rcx, [rbp - 0x49]
call fcn.1400abd70
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140075778
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.140079b10
nop
jmp 0x14007585f
Function at 0x1400758b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rbp - 0x11], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rbp + 0xf], xmm1
lea rdi, [rdx + 8]
mov rsi, qword [rdx]
mov rbx, qword [rdi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140075923
cmp qword [rax], rbx
je 0x140075a2b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140075911
lea rax, [rbp - 0x21]
mov qword [rbp + 0x27], rax
lea rdx, [rbp - 0x21]
mov ecx, 0x78
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.140078650]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbx + 0x48], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbx + 0x58], xmm1
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rbx + 0x68], xmm0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14001c990
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x2f], r14
test al, al
je 0x140075a0e
mov rax, qword [rdi]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x49]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rbp - 0x31], rax
mov rax, qword [rdi]
mov qword [rbp - 0x29], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rbp + 0x3f]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.140078650
nop
lea rcx, [rbp - 0x31]
call fcn.14001c760
nop
mov rdx, qword [rbp - 0x39]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140075923
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.14007a1f0
nop
jmp 0x140075a0e
Function at 0x140076f90
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push r12
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1402c94a0]
xor rax, rsp
mov qword [rbp + 0x190], rax
movups xmm0, xmmword [r8]
mov r12, qword [rdx]
mov rax, qword [r8 + 8]
mov rbx, qword [rbp + 0x1f0]
movzx r15d, byte [rdx + 8]
movq qword [rsp + 0x48], xmm0
psrldq xmm0, 8
movd dword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
cmp r12, 0xffffffffffffffff
jne 0x14007700e
mov dword [rsp + 0x30], 0x2719
call fcn.1400a9490
mov qword [rsp + 0x38], rax
xor esi, esi
movups xmm0, xmmword [rsp + 0x30]
mov eax, esi
movups xmmword [rbx], xmm0
jmp 0x140077161
test rax, rax
jne 0x140077038
test r15b, 0x10
je 0x140077038
xor esi, esi
mov dword [rsp + 0x30], esi
call fcn.1400a9490
mov qword [rsp + 0x38], rax
mov eax, esi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x140077161
mov qword [rsp + 0x2d0], rdi
lea rdx, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x2e0], r14
mov rcx, r12
mov qword [rsp + 0x20], rbx
call fcn.14001b730
test eax, eax
jns 0x14007714f
and r15b, 1
xor esi, esi
nop
test r15b, r15b
jne 0x14007717f
call fcn.1400a9490
cmp qword [rbx + 8], rax
jne 0x14007708c
cmp dword [rbx], 0x2733
je 0x1400770a7
call fcn.1400a9490
cmp qword [rbx + 8], rax
jne 0x14007717f
cmp dword [rbx], 0x4d5
jne 0x14007717f
xor ecx, ecx
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x80], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [r12 + 1]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov r14d, eax
call fcn.1400a9490
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
test r14d, r14d
jne 0x140077112
mov dword [rsp + 0x58], esi
call fcn.1400a9490
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
jmp 0x14007712f
jle 0x14007712a
mov dword [rsp + 0x68], esi
call fcn.1400a9490
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
test r14d, r14d
js 0x14007717f
mov r8d, 1
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.14001b730
test eax, eax
js 0x140077070
cdqe
mov rdi, qword [rsp + 0x2d0]
mov r14, qword [rsp + 0x2e0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401e4940
add rsp, 0x2a0
pop r15
pop r12
pop rsi
pop rbx
pop rbp
ret
mov rax, rsi
jmp 0x140077151
Function at 0x140077ef0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140077f43
cmp qword [rax], rbx
je 0x140078088
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140077f31
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0x90
call fcn.14001a0a0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400784c0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x48], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x80], r14
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
mov qword [rdi + 0x40], r14
mov qword [rdi + 0x48], r14
mov rax, qword [rdi + 0x50]
mov qword [rbx + 0x88], rax
mov qword [rdi + 0x50], r14
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.14001c990
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x14007806a
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400784c0
nop
lea rcx, [rsp + 0x28]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x140077f43
mov rdx, rdi
mov rcx, rdi
call fcn.14007a220
nop
jmp 0x14007806a
Function at 0x140079b10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
lea rdi, [rcx + 0x48]
lea rsi, [rcx + 0x40]
mov rbp, qword [rcx + 0x38]
mov rbx, qword [rsi]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140079b67
cmp qword [rax], rbx
je 0x140079c83
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140079b55
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.14001a0a0
mov rbx, rax
mov qword [rsp + 0x68], rax
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.14007ad40]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
mov qword [rsp + 0x28], rcx
mov rax, qword [rdi]
mov qword [rcx], rax
add rcx, 8
mov qword [rsp + 0x28], rcx
mov rax, qword [rdi + 8]
mov qword [rcx], rax
add rcx, 8
mov qword [rsp + 0x28], rcx
lea rdx, [rdi + 0x10]
call fcn.1400ab780
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.14001c990
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
test al, al
je 0x140079c75
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
call fcn.1400a9490
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.14007ad40
nop
lea rcx, [rsp + 0x28]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rax + 8], 0
je 0x140079b67
mov rdx, rdi
mov rcx, rdi
call fcn.140047e70
nop
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret