joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140087bc0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140329490]
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 + 0x68], xmm0
psrldq xmm0, 8
movd dword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
cmp r12, 0xffffffffffffffff
jne 0x140087c49
lea rsi, [0x1402c28e8]
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x38], rsi
xor edi, edi
mov byte [rsp + 0x34], 1
mov eax, edi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x140087db1
test rax, rax
jne 0x140087c7a
test r15b, 0x10
je 0x140087c7a
xor edi, edi
lea rsi, [0x1402c28e8]
mov dword [rsp + 0x30], edi
mov eax, edi
mov byte [rsp + 0x34], dil
mov qword [rsp + 0x38], rsi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x140087db1
mov qword [rsp + 0x2d0], r13
lea rdx, [rsp + 0x60]
mov r8d, 1
mov qword [rsp + 0x2e0], r14
mov rcx, r12
mov qword [rsp + 0x20], rbx
call fcn.1400241a0
test eax, eax
jns 0x140087d9f
and r15b, 1
lea rsi, [0x1402c28e8]
xor edi, edi
movabs r13, 0x8fafd21e25c5e09b
test r15b, r15b
jne 0x140087dd7
mov ecx, dword [rbx]
cmp ecx, 0x2733
jne 0x140087cde
mov rax, qword [rbx + 8]
cmp qword [rax + 8], r13
je 0x140087cf8
cmp ecx, 0x4d5
jne 0x140087dd7
mov rax, qword [rbx + 8]
cmp qword [rax + 8], r13
jne 0x140087dd7
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], rdi
xor r9d, r9d
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov r14d, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rsi
setne byte [rsp + 0x34]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
test r14d, r14d
jne 0x140087d62
mov dword [rsp + 0x40], edi
mov byte [rsp + 0x44], dil
mov qword [rsp + 0x48], rsi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x140087d7f
jle 0x140087d7a
mov dword [rsp + 0x50], edi
mov byte [rsp + 0x54], dil
mov qword [rsp + 0x58], rsi
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
test r14d, r14d
js 0x140087dd7
mov r8d, 1
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400241a0
test eax, eax
js 0x140087cc1
cdqe
mov r13, qword [rsp + 0x2d0]
mov r14, qword [rsp + 0x2e0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140220f90
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, rdi
jmp 0x140087da1
Function at 0x140087de0
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.1400d03d0
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.1400d0340
nop
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140087e78
cmp qword [rax], rbx
je 0x140087f80
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140087e66
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x59]
mov ecx, 0xb8
call fcn.140022520
mov rbx, rax
mov qword [rbp - 0x79], rax
xor r14d, r14d
mov qword [rbp - 0x71], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.14008a9c0]
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.14008ab00
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140025320
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x79], r14
test al, al
je 0x140087f56
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x140338560]
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 [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rdi + 0x28]
mov qword [rbp - 0x69], rcx
mov rax, qword [rsi]
mov qword [rbp - 0x61], rax
xor r9d, r9d
lea r8, [rbp + 0x2f]
mov rdx, rbx
call fcn.14008a9c0
nop
lea rcx, [rbp - 0x69]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp - 1]
call fcn.1400d0930
lea rcx, [rbp - 0x49]
call fcn.1400d0930
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 0x140087e78
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.14008d000
nop
jmp 0x140087f56
Function at 0x140088080
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 [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400880f3
cmp qword [rax], rbx
je 0x1400881f2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400880e1
lea rax, [rbp - 0x21]
mov qword [rbp + 0x27], rax
lea rdx, [rbp - 0x21]
mov ecx, 0x78
call fcn.140022520
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14008dc90]
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.140025320
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x2f], r14
test al, al
je 0x1400881d5
mov rax, qword [rdi]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x140338560]
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 [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rbp - 0x31], rcx
mov rax, qword [rdi]
mov qword [rbp - 0x29], rax
xor r9d, r9d
lea r8, [rbp + 0x3f]
mov rdx, rbx
call fcn.14008dc90
nop
lea rcx, [rbp - 0x31]
call fcn.1400250e0
nop
mov rdx, qword [rbp - 0x39]
mov ecx, dword [0x140338560]
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 0x1400880f3
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.14008fe90
nop
jmp 0x1400881d5
Function at 0x1400889e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rbx, rdx
lea rdi, [rcx + 0x40]
mov r14, qword [rcx]
lea rbp, [rcx + 8]
mov qword [rsp + 0x38], rdx
add rdx, 0x78
mov ecx, 0xe0
call fcn.140022520
mov rsi, rax
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x14008be80]
mov qword [rsi + 0x28], rax
mov qword [rsi], rcx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rcx
mov dword [rsi + 0x30], ecx
mov dword [rsi + 0x38], ecx
mov byte [rsi + 0x3c], cl
lea rax, [0x1402c28e8]
mov qword [rsi + 0x40], rax
mov rax, qword [rbx]
mov qword [rsi + 0x48], rax
mov rax, qword [rbx + 8]
mov qword [rsi + 0x50], rax
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x58], xmm0
mov eax, dword [rbx + 0x20]
mov dword [rsi + 0x68], eax
mov eax, dword [rbx + 0x24]
mov dword [rsi + 0x6c], eax
movups xmm0, xmmword [rbx + 0x28]
movups xmmword [rsi + 0x70], xmm0
mov rax, qword [rbx + 0x38]
mov qword [rsi + 0x80], rax
mov rax, qword [rbx + 0x40]
mov qword [rsi + 0x88], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 0x90], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x98], rax
mov eax, dword [rbx + 0x58]
mov dword [rsi + 0xa0], eax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0xa8], rax
movups xmm0, xmmword [rbx + 0x68]
movups xmmword [rsi + 0xb0], xmm0
movups xmm0, xmmword [rbx + 0x78]
movups xmmword [rsi + 0xc0], xmm0
mov rdx, rdi
lea rcx, [rsi + 0xd0]
call fcn.140023ed0
movzx eax, byte [rdi + 8]
mov byte [rsi + 0xd8], al
lea rdx, [rsi + 0xd0]
call fcn.140086430
mov qword [rsp + 0x48], rsi
mov byte [rbp + 8], 1
lea r9, [rbp + 0x10]
lea rdx, [r14 + 0x28]
mov qword [rsp + 0x20], rsi
mov r8, rbp
mov rcx, qword [r14 + 0x68]
call fcn.140053040
nop
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140089ae0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x140089b3d
mov rbx, qword [rbx + 0x40]
test rbx, rbx
je 0x140089b35
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140089b30
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140089b30
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140089b94
mov ecx, dword [0x140338528]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140089b84
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140089b84
cmp qword [rcx + 0x10], 0
jne 0x140089b84
movzx eax, byte [rbx + 0x58]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1402216c4
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14008a4f0
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 + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rbp - 0x39], xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov rdx, qword [r8 + 8]
test rdx, rdx
je 0x14008a53f
lock inc dword [rdx + 8]
mov rdx, qword [r8 + 8]
mov rax, qword [r8]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rdx
mov rax, qword [r8 + 0x10]
mov qword [rbp - 0x19], rax
lea rdi, [rcx + 8]
mov rsi, qword [rcx]
mov rbx, qword [rdi]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008a582
nop dword [rax]
cmp qword [rax], rbx
je 0x14008a6d2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14008a570
lea rax, [rbp - 0x49]
mov qword [rbp + 0x1f], rax
lea rdx, [rbp - 0x49]
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.140022520
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14008dd70]
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 - 0x49]
movups xmmword [rbx + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbx + 0x48], xmm1
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], r14
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x58], rax
mov rax, qword [rbp - 0x21]
mov qword [rbx + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov rax, qword [rbp - 0x19]
mov qword [rbx + 0x68], rax
mov qword [rbp - 0x19], r14
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140025320
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x27], r14
test al, al
je 0x14008a680
mov rax, qword [rdi]
mov qword [rbp - 0x11], rax
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x11]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rbp + 7], rcx
mov rax, qword [rdi]
mov qword [rbp + 0xf], rax
xor r9d, r9d
lea r8, [rbp + 0x37]
mov rdx, rbx
call fcn.14008dd70
nop
lea rcx, [rbp + 7]
call fcn.1400250e0
nop
mov rdx, qword [rbp - 1]
mov ecx, dword [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rbx, qword [rbp - 0x21]
test rbx, rbx
je 0x14008a6b5
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008a6b5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008a6b5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
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 0x14008a582
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.14008fdb0
nop
jmp 0x14008a680
Function at 0x14008a6f0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov r11, rdx
mov rbx, qword [rcx]
test rbx, rbx
je 0x14008a8a9
cmp byte [rbx + 8], 0
je 0x14008a7d2
mov r10, qword [rdx]
mov qword [rsp + 0x60], r10
mov r9, qword [rdx + 8]
mov qword [rsp + 0x68], r9
mov r8, qword [rdx + 0x10]
mov qword [rsp + 0x70], r8
mov edx, dword [rdx + 0x18]
mov dword [rsp + 0x78], edx
mov rcx, qword [r11 + 0x20]
mov qword [rbp - 0x80], rcx
movups xmm0, xmmword [r11 + 0x28]
movups xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [r11 + 0x38]
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [r11 + 0x48]
movups xmmword [rbp - 0x58], xmm0
mov rax, qword [r11 + 0x58]
mov qword [rbp - 0x48], rax
movups xmm0, xmmword [r11 + 0x38]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r10
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r8
mov dword [rbp - 0x18], edx
mov qword [rbp - 0x10], rcx
movups xmm0, xmmword [r11 + 0x28]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [r11 + 0x38]
movups xmmword [rbp + 8], xmm1
movups xmm0, xmmword [r11 + 0x48]
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x40]
call fcn.14008fef0
jmp 0x14008a888
mov rdi, qword [rdx]
mov rsi, qword [rdx + 8]
mov r14, qword [rdx + 0x10]
mov r15d, dword [rdx + 0x18]
mov r12, qword [rdx + 0x20]
movups xmm0, xmmword [rdx + 0x28]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x38]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rdx + 0x48]
movups xmmword [rsp + 0x20], xmm0
mov r13, qword [rdx + 0x58]
mov ecx, dword [0x140338528]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008a81b
mov rdx, qword [rax + 8]
jmp 0x14008a81d
xor edx, edx
mov r8d, reloc.WS2_32.dll_WSASetLastError
call fcn.140055ea0
lea rcx, [0x14008c710]
mov qword [rax], rcx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], r15d
mov qword [rax + 0x28], r12
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x50], xmm0
mov qword [rax + 0x60], r13
mov qword [rbp + 0x70], rax
mov rax, qword [rbx]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [rax + 0x28]
nop
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x14008a888
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140024000
nop
lea rcx, [rsp + 0x20]
call fcn.14003b430
int3
Function at 0x14008add0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov r11, rdx
mov rbx, qword [rcx]
test rbx, rbx
je 0x14008afb5
cmp byte [rbx + 8], 0
je 0x14008aec3
mov r10, qword [rdx]
mov qword [rsp + 0x70], r10
mov r9, qword [rdx + 8]
mov qword [rsp + 0x78], r9
mov r8d, dword [rdx + 0x14]
mov dword [rbp - 0x7c], r8d
mov edx, dword [rdx + 0x18]
mov dword [rbp - 0x78], edx
movups xmm0, xmmword [r11 + 0x20]
movaps xmmword [rbp - 0x70], xmm0
mov rcx, qword [r11 + 0x30]
mov qword [rbp - 0x60], rcx
movups xmm0, xmmword [r11 + 0x38]
movups xmmword [rbp - 0x58], xmm0
movups xmm0, xmmword [r11 + 0x48]
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [r11 + 0x58]
movups xmmword [rbp - 0x38], xmm0
mov rax, qword [r11 + 0x68]
mov qword [rbp - 0x28], rax
movups xmm0, xmmword [r11 + 0x48]
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r10
mov qword [rbp - 8], r9
mov dword [rbp + 4], r8d
mov dword [rbp + 8], edx
movups xmm0, xmmword [r11 + 0x20]
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rcx
movups xmm0, xmmword [r11 + 0x38]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [r11 + 0x48]
movups xmmword [rbp + 0x38], xmm1
movups xmm0, xmmword [r11 + 0x58]
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rax
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x20]
call fcn.140090ac0
jmp 0x14008af94
mov rdi, qword [rdx]
mov rsi, qword [rdx + 8]
mov r14d, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x18]
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x40], xmm0
mov r12, qword [rdx + 0x30]
movups xmm0, xmmword [rdx + 0x38]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rdx + 0x48]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rdx + 0x58]
movups xmmword [rsp + 0x20], xmm0
mov r13, qword [rdx + 0x68]
mov ecx, dword [0x140338528]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008af15
mov rdx, qword [rax + 8]
jmp 0x14008af17
xor edx, edx
mov r8d, 0x80
call fcn.140055ea0
lea rcx, [0x14008cd30]
mov qword [rax], rcx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rsi
mov dword [rax + 0x1c], r14d
mov dword [rax + 0x20], r15d
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x28], xmm0
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], r13
mov qword [rbp + 0xa0], rax
mov rax, qword [rbx]
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call qword [rax + 0x28]
nop
mov rax, qword [rbp + 0xa0]
test rax, rax
je 0x14008af94
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.140024000
nop
lea rcx, [rsp + 0x20]
call fcn.14003b430
int3
Function at 0x14008b680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rbx, rdx
lea rdi, [rcx + 0x40]
mov r14, qword [rcx]
lea rbp, [rcx + 8]
mov qword [rsp + 0x38], rdx
add rdx, 0x90
mov ecx, 0xf8
call fcn.140022520
mov rsi, rax
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x14008ef70]
mov qword [rsi + 0x28], rax
mov qword [rsi], rcx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rcx
mov dword [rsi + 0x30], ecx
mov dword [rsi + 0x38], ecx
mov byte [rsi + 0x3c], cl
lea rax, [0x1402c28e8]
mov qword [rsi + 0x40], rax
mov rax, qword [rbx]
mov qword [rsi + 0x48], rax
mov rax, qword [rbx + 8]
mov qword [rsi + 0x50], rax
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x58], xmm0
mov eax, dword [rbx + 0x20]
mov dword [rsi + 0x68], eax
mov eax, dword [rbx + 0x24]
mov dword [rsi + 0x6c], eax
movups xmm0, xmmword [rbx + 0x28]
movups xmmword [rsi + 0x70], xmm0
mov rax, qword [rbx + 0x38]
mov qword [rsi + 0x80], rax
mov rax, qword [rbx + 0x40]
mov qword [rsi + 0x88], rax
movups xmm0, xmmword [rbx + 0x48]
movups xmmword [rsi + 0x90], xmm0
movsd xmm1, qword [rbx + 0x58]
movsd qword [rsi + 0xa0], xmm1
mov eax, dword [rbx + 0x60]
mov dword [rsi + 0xa8], eax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0xb0], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0xb8], rax
movups xmm0, xmmword [rbx + 0x80]
movups xmmword [rsi + 0xc8], xmm0
movups xmm0, xmmword [rbx + 0x90]
movups xmmword [rsi + 0xd8], xmm0
mov rdx, rdi
lea rcx, [rsi + 0xe8]
call fcn.140023ed0
movzx eax, byte [rdi + 8]
mov byte [rsi + 0xf0], al
lea rdx, [rsi + 0xe8]
call fcn.140086430
mov qword [rsp + 0x48], rsi
mov byte [rbp + 8], 1
lea r9, [rbp + 0x10]
lea rdx, [r14 + 0x28]
mov qword [rsp + 0x20], rsi
mov r8, rbp
mov rcx, qword [r14 + 0x68]
call fcn.140053040
nop
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret