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

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [rcx + 8]
mov rsi, r9
mov r14, rdx
mov rdi, rcx
lock inc dword [rax + 0x30]
cmp qword [rdx], 0xffffffffffffffff
jne 0x14002bb52
mov rdx, qword [rsp + 0xd8]
xor r9d, r9d
mov rcx, qword [rcx + 8]
mov r8d, 0x2719
add rsp, 0x70
pop r14
pop rdi
pop rsi
jmp fcn.14002a420
test r8b, r8b
je 0x14002bb77
mov rdx, qword [rsp + 0xd8]
xor r9d, r9d
mov rcx, qword [rcx + 8]
lea r8d, [r9 + 1]
add rsp, 0x70
pop r14
pop rdi
pop rsi
jmp fcn.14002a420
mov r8d, dword [rsp + 0xc0]
xorps xmm0, xmm0
mov edx, dword [rsp + 0xb8]
xor r9d, r9d
mov ecx, dword [rsp + 0xb0]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], r15
xor r15d, r15d
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x20], r15d
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov rbx, rax
sete dl
call fcn.14000a290
cmp rbx, 0xffffffffffffffff
je 0x14002bc11
cmp dword [rsp + 0xb0], 0x17
jne 0x14002bc11
mov edx, 0x29
mov dword [rsp + 0x98], r15d
lea r9, [rsp + 0x98]
mov dword [rsp + 0x20], 4
mov rcx, rbx
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x14002bc44
xorps xmm0, xmm0
mov qword [rsp + 0x68], r15
lea r9, [rsp + 0x58]
mov byte [rsp + 0x90], r15b
mov r8b, 1
lea rdx, [rsp + 0x90]
movups xmmword [rsp + 0x58], xmm0
call fcn.140009870
xor r9d, r9d
mov qword [rsi], rbx
cmp rbx, 0xffffffffffffffff
jne 0x14002bc68
mov rdx, qword [rsp + 0xd8]
lea r8, [rsp + 0x40]
mov rcx, qword [rdi + 8]
call fcn.14002a320
jmp 0x14002bcdf
mov rsi, qword [rsp + 0xd8]
lea rax, [rsp + 0x90]
mov r8, qword [rsp + 0xc8]
mov rdx, rbx
mov rcx, qword [r14]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x90], r15d
call sub.MSWSOCK.dll_AcceptEx
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x14002bcd3
cmp eax, 0x3e5
je 0x14002bcd3
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call fcn.14002a420
jmp 0x14002bcdf
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14002a4c0
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x14002cc20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor r14d, r14d
mov rax, qword [rcx + 0x30]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x39]
call rbx
nop
mov rcx, qword [rbp - 0x21]
mov qword [rbp + 0x17], rcx
mov rax, qword [rbp - 0x11]
mov qword [rbp + 0x27], rax
lea rax, fcn.140019b10
mov qword [rbp - 0x21], rax
lea rax, [0x140176af0]
mov qword [rbp - 0x11], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call rax
mov qword [rbp - 0x19], r14
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
lea rax, [0x140176b90]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x21]
mov rdx, qword [rax]
lea rax, [fcn.140019b10]
cmp rdx, rax
je 0x14002ccd4
lea rcx, [rbp - 0x39]
call rdx
nop
mov rcx, qword [rbp + 0x27]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14002ccff
lea rcx, [0x14002c8e0]
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], rdi
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 1]
call rax
jmp 0x14002ce07
mov rsi, qword [rcx + 0x10]
mov rax, qword [rdi]
mov qword [rbp - 0x79], rax
mov rax, qword [rdi + 8]
mov qword [rbp - 0x71], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x69], rax
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
movups xmm0, xmmword [rdi + 0x18]
movups xmmword [rbp - 0x61], xmm0
movsd xmm1, qword [rdi + 0x28]
movsd qword [rbp - 0x51], xmm1
lea rax, [rbp - 0x79]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002cd53
mov rdx, qword [rax + 8]
jmp 0x14002cd56
mov rdx, r14
mov r9d, 1
lea r8d, [r9 + 0x3f]
movzx ecx, byte [rsp + 0x20]
call fcn.14002c080
mov rcx, qword [rbp - 0x79]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov rcx, qword [rbp - 0x71]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x69]
mov qword [rax + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rbp - 0x51]
movsd qword [rax + 0x30], xmm1
lea rcx, [0x14002c8f0]
mov qword [rax], rcx
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x14002cde9
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002cde9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002cde9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 1]
call rsi
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14002ce07
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x17]
mov rdx, qword [rax]
lea rcx, [rbp - 1]
call rdx
nop
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14002ed40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rcx, qword [rcx + 8]
xor r14d, r14d
mov qword [rbp - 0x19], r14
xorps xmm0, xmm0
mov dword [rbp + 0x1f], r14d
mov rdi, rdx
mov qword [rbp + 7], 2
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp + 0xf], xmm0
cmp rcx, 0xffffffffffffffff
jne 0x14002edf4
movabs rcx, 0x4d54ee85da812030
mov dword [rbp - 0x3d], r14d
add rcx, qword [0x1401c1020]
lea rbx, [0x1401c1018]
cmp rcx, 1
jbe 0x14002edc8
mov rax, qword [0x1401c1018]
mov edx, 0x2719
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14002edca
mov al, 1
movzx eax, al
add rax, 2
mov dword [rbp - 0x41], 0x2719
mov qword [rbp - 0x39], rbx
movups xmm0, xmmword [rbp - 0x41]
mov qword [rbp - 0x31], rax
movsd xmm1, qword [rbp - 0x31]
movsd qword [rbp - 0x19], xmm1
movups xmmword [rbp - 0x29], xmm0
jmp 0x14002ee21
lea r8, [rbp - 0x49]
mov dword [rbp - 0x49], 0x1c
lea rdx, [rbp + 7]
call qword [sym.imp.WS2_32.dll_getsockname]
movsxd rsi, dword [rbp - 0x49]
lea rcx, [rbp - 0x29]
test eax, eax
mov ebx, eax
setne dl
call fcn.14000a290
test ebx, ebx
je 0x14002ee39
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov dword [rdi + 0x18], r14d
mov qword [rdi], 2
jmp 0x14002eebd
cmp rsi, 0x80
jbe 0x14002eea6
movabs rcx, 0x4d54ee85da812030
mov dword [rbp - 0x3d], r14d
add rcx, qword [0x1401c1020]
lea rbx, [0x1401c1018]
cmp rcx, 1
jbe 0x14002ee78
mov rax, qword [0x1401c1018]
mov edx, 0x2726
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14002ee7a
mov al, 1
movzx eax, al
add rax, 2
mov dword [rbp - 0x41], 0x2726
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rax
movsd xmm1, qword [rbp - 0x31]
movsd qword [rbp - 1], xmm1
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rbp - 0x11], xmm0
test al, 1
jne 0x14002ef0c
movups xmm0, xmmword [rbp + 7]
mov eax, dword [rbp + 0x1f]
movsd xmm1, qword [rbp + 0x17]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
mov dword [rdi + 0x18], eax
test byte [rbp - 0x19], 1
je 0x14002eed5
cmp qword [rbp - 0x19], 1
jne 0x14002eefb
cmp dword [rbp - 0x29], r14d
setne al
test al, al
jne 0x14002eefb
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401453a0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.local_endpoint
lea rcx, [rbp - 0x29]
call fcn.140004d40
int3
lea rcx, [rbp - 0x11]
call fcn.140023820
int3
Function at 0x14002f380
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rsi, rcx
test rbx, rbx
je 0x14002f3dd
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x14002f3d5
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002f3d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002f3d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14002f429
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002f419
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002f419
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14002f434
inc ecx
inc rax
cmp rax, 6
jl 0x14002f407
mov rcx, rbx
call fcn.140079780
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
movzx eax, byte [rbx + 0x40]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret

Function at 0x14002f460
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rsi, rcx
test rbx, rbx
je 0x14002f4bd
mov rbx, qword [rbx + 0x48]
test rbx, rbx
je 0x14002f4b5
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002f4b0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002f4b0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14002f509
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002f4f9
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002f4f9
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14002f514
inc ecx
inc rax
cmp rax, 6
jl 0x14002f4e7
mov rcx, rbx
call fcn.140079780
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
movzx eax, byte [rbx + 0x78]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret
Function at 0x140032730
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor r14d, r14d
mov rax, qword [rcx + 0x30]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x39]
call rbx
nop
mov rcx, qword [rbp - 0x21]
mov qword [rbp + 0x17], rcx
mov rax, qword [rbp - 0x11]
mov qword [rbp + 0x27], rax
lea rax, fcn.140019b10
mov qword [rbp - 0x21], rax
lea rax, [0x140176af0]
mov qword [rbp - 0x11], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call rax
mov qword [rbp - 0x19], r14
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
lea rax, [0x140176b90]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x21]
mov rdx, qword [rax]
lea rax, [fcn.140019b10]
cmp rdx, rax
je 0x1400327e4
lea rcx, [rbp - 0x39]
call rdx
nop
mov rcx, qword [rbp + 0x27]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14003280f
lea rcx, [0x140031c10]
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], rdi
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 1]
call rax
jmp 0x140032917
mov rsi, qword [rcx + 0x10]
mov rax, qword [rdi]
mov qword [rbp - 0x79], rax
mov rax, qword [rdi + 8]
mov qword [rbp - 0x71], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x69], rax
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
movups xmm0, xmmword [rdi + 0x18]
movups xmmword [rbp - 0x61], xmm0
movsd xmm1, qword [rdi + 0x28]
movsd qword [rbp - 0x51], xmm1
lea rax, [rbp - 0x79]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140032863
mov rdx, qword [rax + 8]
jmp 0x140032866
mov rdx, r14
mov r9d, 1
lea r8d, [r9 + 0x3f]
movzx ecx, byte [rsp + 0x20]
call fcn.14002c080
mov rcx, qword [rbp - 0x79]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov rcx, qword [rbp - 0x71]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x69]
mov qword [rax + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rbp - 0x51]
movsd qword [rax + 0x30], xmm1
lea rcx, [0x140031c20]
mov qword [rax], rcx
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x1400328f9
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400328f9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400328f9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 1]
call rsi
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140032917
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x17]
mov rdx, qword [rax]
lea rcx, [rbp - 1]
call rdx
nop
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140032950
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor r14d, r14d
mov rax, qword [rcx + 0x30]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x39]
call rbx
nop
mov rcx, qword [rbp - 0x21]
mov qword [rbp + 0x17], rcx
mov rax, qword [rbp - 0x11]
mov qword [rbp + 0x27], rax
lea rax, fcn.140019b10
mov qword [rbp - 0x21], rax
lea rax, [0x140176af0]
mov qword [rbp - 0x11], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call rax
mov qword [rbp - 0x19], r14
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
lea rax, [0x140176b90]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x21]
mov rdx, qword [rax]
lea rax, [fcn.140019b10]
cmp rdx, rax
je 0x140032a04
lea rcx, [rbp - 0x39]
call rdx
nop
mov rcx, qword [rbp + 0x27]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140032a2f
lea rcx, [0x140031f30]
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], rdi
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 1]
call rax
jmp 0x140032b37
mov rsi, qword [rcx + 0x10]
mov rax, qword [rdi]
mov qword [rbp - 0x79], rax
mov rax, qword [rdi + 8]
mov qword [rbp - 0x71], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x69], rax
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
movups xmm0, xmmword [rdi + 0x18]
movups xmmword [rbp - 0x61], xmm0
movsd xmm1, qword [rdi + 0x28]
movsd qword [rbp - 0x51], xmm1
lea rax, [rbp - 0x79]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140032a83
mov rdx, qword [rax + 8]
jmp 0x140032a86
mov rdx, r14
mov r9d, 1
lea r8d, [r9 + 0x3f]
movzx ecx, byte [rsp + 0x20]
call fcn.14002c080
mov rcx, qword [rbp - 0x79]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov rcx, qword [rbp - 0x71]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x69]
mov qword [rax + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rbp - 0x51]
movsd qword [rax + 0x30], xmm1
lea rcx, [0x140031f40]
mov qword [rax], rcx
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x140032b19
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140032b19
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140032b19
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 1]
call rsi
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140032b37
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x17]
mov rdx, qword [rax]
lea rcx, [rbp - 1]
call rdx
nop
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400332f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140033332
lea rcx, [0x140031cf0]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
mov rcx, rsi
call rax
jmp 0x1400334a2
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 0x40], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x30], rax
xor ebx, ebx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x28], rax
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x20], rax
mov qword [rdx + 0x18], rbx
mov qword [rdx + 0x20], rbx
movups xmm0, xmmword [rdx + 0x28]
movups xmmword [rbp - 0x18], xmm0
movsd xmm1, qword [rdx + 0x38]
movsd qword [rbp - 8], xmm1
lea rax, [rbp - 0x40]
mov qword [rbp + 0x30], rax
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400333a0
mov rdx, qword [rax + 8]
jmp 0x1400333a3
mov rdx, rbx
mov r9d, 1
lea r8d, [r9 + 0x4f]
movzx ecx, byte [rbp + 0x20]
call fcn.14002c080
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x30]
mov qword [rax + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbx
mov rax, qword [rbp - 0x28]
mov qword [rdx + 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rdx + 0x28], rax
movdqu xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rdx + 0x30], xmm0
movsd xmm1, qword [rbp - 8]
movsd qword [rdx + 0x40], xmm1
lea rax, [0x140031d00]
mov qword [rdx], rax
mov qword [rbp + 0x20], rdx
mov edi, 0xffffffff
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x140033455
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140033455
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140033455
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140033486
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140033486
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140033486
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x20]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400334a2
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400334c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140033502
lea rcx, [0x140032010]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
mov rcx, rsi
call rax
jmp 0x140033672
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 0x40], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x30], rax
xor ebx, ebx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x28], rax
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x20], rax
mov qword [rdx + 0x18], rbx
mov qword [rdx + 0x20], rbx
movups xmm0, xmmword [rdx + 0x28]
movups xmmword [rbp - 0x18], xmm0
movsd xmm1, qword [rdx + 0x38]
movsd qword [rbp - 8], xmm1
lea rax, [rbp - 0x40]
mov qword [rbp + 0x30], rax
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140033570
mov rdx, qword [rax + 8]
jmp 0x140033573
mov rdx, rbx
mov r9d, 1
lea r8d, [r9 + 0x4f]
movzx ecx, byte [rbp + 0x20]
call fcn.14002c080
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x30]
mov qword [rax + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbx
mov rax, qword [rbp - 0x28]
mov qword [rdx + 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rdx + 0x28], rax
movdqu xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rdx + 0x30], xmm0
movsd xmm1, qword [rbp - 8]
movsd qword [rdx + 0x40], xmm1
lea rax, [0x140032020]
mov qword [rdx], rax
mov qword [rbp + 0x20], rdx
mov edi, 0xffffffff
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x140033625
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140033625
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140033625
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140033656
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140033656
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140033656
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x20]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140033672
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret