joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140086cf0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x140], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, eax
lea rax, [0x140308b10]
mov qword [rsp + 0x20], rax
lea r8, str.asio_58CCDC44_6264_4842_90C2_F3C545CB8AA7__u__p
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.140086a90
lea r8, [rsp + 0x40]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rdi, rdi
jne 0x140086d6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140086df4
cmp eax, 0xb7
jne 0x140086d7f
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [0x140308b10], 0
jne 0x140086dc3
mov edx, 0x80000000
lea rcx, [0x140308b18]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x140086dbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140086df4
mov byte [0x140308b10], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140086df4
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140156510
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x1400878a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea r15, [0x1402a9358]
mov qword [rsp + 0x28], r15
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
mov eax, dword [rcx + 0xa4]
test eax, eax
jne 0x1400878fe
call fcn.14005db60
xor eax, eax
jmp 0x140087a9b
mov dword [rbp - 9], r14d
lea rcx, [rbp - 1]
call fcn.140155b44
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
mov dword [rbp + 0x1f], r14d
xor eax, eax
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rax
lea rax, [rbx + 0x28]
test rbx, rbx
cmove rax, r14
mov qword [rbp - 0x79], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x71], rax
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x69], rax
lea rdx, [rbp - 0x79]
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x40], rcx
cmp byte [rcx + 0x28], 0
je 0x14008798c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x48], 1
jmp 0x140087991
mov byte [rsp + 0x48], 0
mov rdi, r14
mov r9, rsi
lea r8, [rbp - 0x59]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140087ca0
test rax, rax
je 0x1400879f5
nop dword [rax]
lea rax, [rdi + 1]
cmp rdi, 0xffffffffffffffff
cmove rax, rdi
mov rdi, rax
mov rcx, qword [rsp + 0x40]
cmp byte [rcx + 0x28], 0
je 0x1400879dc
cmp byte [rsp + 0x48], 0
jne 0x1400879dc
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x48], 1
mov r9, rsi
lea r8, [rbp - 0x59]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140087ca0
test rax, rax
jne 0x1400879b0
cmp byte [rsp + 0x48], 0
je 0x140087a08
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp - 0x69]
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0xf]
mov rcx, rax
test rax, rax
je 0x140087a6f
mov rdx, rax
nop dword [rax + rax]
mov rax, qword [rax]
mov qword [rbp + 0xf], rax
test rax, rax
jne 0x140087a40
mov qword [rbp + 0x17], r14
mov qword [rdx], r14
mov rax, qword [rcx + 8]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x38], r15
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rcx
xor ecx, ecx
call rax
mov rax, qword [rbp + 0xf]
mov rcx, rax
mov rdx, rax
test rax, rax
jne 0x140087a30
lea rbx, [rbp - 0x59]
mov esi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x140087a85
call fcn.140019930
add rbx, 8
sub rsi, 1
jne 0x140087a78
lea rcx, [rbp - 1]
call fcn.140155bd0
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140156510
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140087b20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rdx
mov rbx, rcx
lea rdi, [rcx + 0x28]
xor ebp, ebp
cmp byte [rdi], bpl
jne 0x140087b48
test r8b, r8b
je 0x140087b6e
test rbx, rbx
cmove rdi, rbp
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140087b6e
cmp qword [rax], rdi
je 0x140087b99
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140087b60
lock inc dword [rbx + 0xa4]
lea rdi, [rbx + 0x30]
mov qword [rsp + 0x20], rdi
cmp byte [rdi + 0x28], bpl
je 0x140087bca
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov sil, 1
movzx eax, sil
movzx ecx, al
jmp 0x140087bd1
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140087b6e
inc dword [rcx + 0x78]
mov qword [r14], rbp
mov rax, qword [rcx + 0x70]
test rax, rax
je 0x140087bbd
mov qword [rax], r14
mov qword [rcx + 0x70], r14
jmp 0x140087c80
mov qword [rcx + 0x68], r14
mov qword [rcx + 0x70], r14
jmp 0x140087c80
xor sil, sil
xor al, al
xor cl, cl
mov byte [rsp + 0x28], sil
mov qword [r14], rbp
mov rdx, qword [rbx + 0xb0]
test rdx, rdx
je 0x140087bea
mov qword [rdx], r14
jmp 0x140087bf4
mov qword [rbx + 0xa8], r14
movzx eax, cl
mov qword [rbx + 0xb0], r14
cmp byte [rdi + 0x28], 0
je 0x140087c3c
or qword [rbx + 0x70], 1
cmp qword [rbx + 0x70], 1
jbe 0x140087c36
test al, al
je 0x140087c28
cmp byte [rdi + 0x28], 0
je 0x140087c20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor sil, sil
mov byte [rsp + 0x28], sil
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
jmp 0x140087c38
xor al, al
test al, al
jne 0x140087c72
cmp byte [rbx + 0xa0], 0
jne 0x140087c5b
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x140087c5b
mov byte [rbx + 0xa0], 1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test sil, sil
je 0x140087c72
cmp byte [rdi + 0x28], 0
je 0x140087c6f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor sil, sil
test sil, sil
je 0x140087c80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140089660
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14008968f
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140089687
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400896d8
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400896c8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400896c8
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400896e3
inc ecx
inc rax
cmp rax, 2
jl 0x1400896b6
mov rcx, rbx
call fcn.140019930
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x28]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140089710
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140308ce8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140089818
call fcn.140086cf0
mov ebx, eax
mov dword [rsp + 0x34], 0
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x140308a4c], ecx
jle 0x140089792
lea rcx, [0x140308a4c]
call fcn.1401568cc
cmp dword [0x140308a4c], 0xffffffff
jne 0x140089792
lea rcx, [0x1401ae760]
call fcn.140156e18
lea rcx, [0x140308a4c]
call fcn.140156860
mov dword [rsp + 0x30], ebx
lea rax, [0x1402a9348]
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x140089837
lea rax, [0x140308b10]
mov qword [rsp + 0x20], rax
lea rcx, [0x140308b18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x28], 1
mov rax, qword [0x1402cbfe8]
test rax, rax
jne 0x1400897fb
lea ecx, [rbx + 0x20]
call fcn.140156530
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rcx, rax
call fcn.140088120
nop
mov qword [0x1402cbfe8], rax
mov rdx, rax
mov ecx, dword [0x140308ce8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [0x140308b18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x140308ce8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140156510
add rsp, 0x50
pop rbx
ret
lea rdx, str.static_mutex
lea rcx, [rsp + 0x30]
call fcn.14005d2f0
int3
Function at 0x140089e70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x140089ec1
mov r8, qword [rcx + 0x18]
mov qword [rbp - 0x21], r8
mov rax, qword [rcx + 0x28]
mov qword [rbp - 0x11], rax
mov rax, qword [r8 + 8]
mov rdx, rcx
lea rcx, [rbp - 0x39]
call rax
jmp 0x140089ed1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], 0
mov rax, qword [rbx + 0x30]
mov qword [rbp - 9], rax
lea rdx, [rdi + 8]
lea rcx, [rbp + 0x1f]
call fcn.140155af0
nop
cmp qword [rbp - 0x19], 0
je 0x14008a004
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140089f21
lea rcx, [0x14008acd0]
mov qword [rbp - 0x49], rcx
lea rcx, [rbp + 0x17]
mov qword [rbp - 0x41], rcx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x39]
call rax
jmp 0x140089fc4
mov rdi, qword [rcx + 0x10]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 7]
call fcn.140155af0
lea rax, [rbp - 1]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x2f], rax
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140089f59
mov rdx, qword [rax + 8]
jmp 0x140089f5b
xor edx, edx
mov r8d, 0x28
call fcn.14006eb80
mov rbx, rax
mov qword [rbp + 0x3f], 0
lea rcx, [rax + 0x10]
lea rdx, [rbp + 7]
call fcn.140155af0
lea rax, [0x14008ad30]
mov qword [rbx], rax
mov qword [rbp - 0x51], rbx
mov qword [rbp + 0x37], 0
lea rcx, [rbp + 0x2f]
call fcn.14008ac30
nop
lea rcx, [rbp + 7]
call fcn.140155bd0
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x39]
call rdi
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140089fc4
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea rcx, [rbp + 0x1f]
call fcn.140155bd0
nop
cmp qword [rbp - 0x19], 0
je 0x140089fe3
mov rax, qword [rbp - 0x21]
mov rdx, qword [rax]
lea rcx, [rbp - 0x39]
call rdx
nop
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140156510
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp + 0x2f]
call fcn.14005d650
nop
lea rcx, [rbp + 0x2f]
call fcn.140062400
int3
Function at 0x14008a830
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x14008a94c
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14008a8a3
lea rcx, [0x14008ad00]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
lea rdx, [rsp + 0x40]
mov rcx, rbx
call rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140156510
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx]
xor esi, esi
mov qword [rdx], rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008a8df
mov rdx, qword [rax + 8]
jmp 0x14008a8e2
mov rdx, rsi
mov r8d, 0x18
call fcn.14006eb80
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x28], rsi
mov qword [rax + 8], rcx
lea rcx, [0x14008adc0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x50]
call fcn.14008ab90
nop
lea rcx, [rsp + 0x28]
call fcn.14006bb90
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008a947
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x14008a884
lea rcx, [rsp + 0x50]
call fcn.14005d650
nop
lea rcx, [rsp + 0x50]
call fcn.140062400
int3

Function at 0x14008ab90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14008abb7
add rcx, 8
call fcn.14006bb90
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14008ac03
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008abf3
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14008abf3
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14008ac0e
inc ecx
inc rax
cmp rax, 6
jl 0x14008abe1
mov rcx, rbx
call fcn.140019930
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x18]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x14008ac30
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14008ac57
add rcx, 0x10
call fcn.140155bd0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14008aca3
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008ac93
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14008ac93
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14008acae
inc ecx
inc rax
cmp rax, 6
jl 0x14008ac81
mov rcx, rbx
call fcn.140019930
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x28]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x14008b6c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x14008b71b
call fcn.14008b890
mov dword [rsp + 0x20], ebx
lea rax, [0x1402a9358]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x14008b817
mov dword [rsp + 0x90], ebx
lea rcx, [rsp + 0x98]
call fcn.140155b44
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
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.14008b9f0
test rax, rax
je 0x14008b7d4
nop dword [rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
mov r9, rsi
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.14008b9f0
test rax, rax
jne 0x14008b7b0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rdi, [rsp + 0x40]
mov esi, 0xa
mov rcx, qword [rdi]
test rcx, rcx
je 0x14008b7fd
call fcn.140019930
add rdi, 8
sub rsi, 1
jne 0x14008b7f0
lea rcx, [rsp + 0x98]
call fcn.140155bd0
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140156510
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14008dcd0
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15d, r9d
mov r14, r8
mov rbx, rdx
mov r13, rcx
mov ebp, dword [rsp + 0xd0]
mov r8d, dword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
cmp qword [r14], 0xffffffffffffffff
je 0x14008dd86
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140308a48], eax
jle 0x14008dd62
lea rcx, [0x140308a48]
call fcn.1401568cc
cmp dword [0x140308a48], 0xffffffff
jne 0x14008dd62
lea rcx, [0x1401ae770]
call fcn.140156e18
lea rcx, [0x140308a48]
call fcn.140156860
mov dword [rsp + 0x38], 1
lea rax, [0x1402a9368]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmmword [rbx], xmm0
jmp 0x14008df03
mov dword [rsp + 0x28], 1
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov edx, ebp
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
sete dl
mov rcx, rdi
call fcn.14005dde0
cmp rsi, 0xffffffffffffffff
je 0x14008dde6
cmp r15d, 0x17
jne 0x14008dde6
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
lea edx, [r15 + 0x12]
lea r8d, [r15 + 4]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
cmp rsi, 0xffffffffffffffff
jne 0x14008ddf4
movups xmm0, xmmword [rdi]
jmp 0x14008df00
mov rdx, qword [r13 + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
lea r13, [0x1402a9358]
test rax, rax
jne 0x14008de7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x140308a4c], ecx
jle 0x14008de69
lea rcx, [0x140308a4c]
call fcn.1401568cc
cmp dword [0x140308a4c], 0xffffffff
jne 0x14008de69
lea rcx, [0x1401ae760]
call fcn.140156e18
lea rcx, [0x140308a4c]
call fcn.140156860
mov dword [rsp + 0x38], r15d
lea rax, [0x1402a9348]
mov qword [rsp + 0x40], rax
jmp 0x14008de86
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
cmp dword [rdi], 0
je 0x14008debc
movups xmmword [rbx], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x30], 0
lea r9, [rsp + 0x38]
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14005de70
jmp 0x14008df03
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [r14], rsi
sub ebp, 1
je 0x14008dee0
cmp ebp, 1
je 0x14008ded9
mov byte [r14 + 8], 0
jmp 0x14008dee5
mov byte [r14 + 8], 0x20
jmp 0x14008dee5
mov byte [r14 + 8], select
lea rcx, [r14 + 0x10]
call fcn.14008f2c0
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmmword [rbx], xmm0
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140156510
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140090ca0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
cmp qword [rcx + 0x20], rsi
je 0x140090cef
mov r8, qword [rcx + 0x18]
mov qword [rbp - 1], r8
mov rax, qword [rcx + 0x28]
mov qword [rbp + 0xf], rax
mov rax, qword [r8 + 8]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call rax
jmp 0x140090cfb
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rsi
mov rax, qword [rbx + 0x30]
mov qword [rbp + 0x17], rax
mov rax, qword [rdi]
mov qword [rdi], rsi
mov qword [rbp - 0x41], rax
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x39]
call fcn.140155af0
nop
cmp qword [rbp + 7], 0
je 0x140090e59
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140090d55
lea rcx, [0x140092f50]
mov qword [rbp - 0x29], rcx
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x21], rcx
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call rax
jmp 0x140090e12
mov rdi, qword [rcx + 0x10]
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x59], rax
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x51]
call fcn.140155af0
lea rax, [rbp - 0x59]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x69]
mov qword [rbp + 0x1f], rax
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140090d99
mov rdx, qword [rax + 8]
jmp 0x140090d9c
mov rdx, rsi
mov r8d, 0x28
call fcn.14006eb80
mov rbx, rax
mov qword [rbp + 0x2f], rsi
mov rcx, qword [rbp - 0x59]
mov qword [rbp - 0x59], rsi
mov qword [rax + 8], rcx
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x51]
call fcn.140155af0
lea rax, [0x1400932e0]
mov qword [rbx], rax
mov qword [rbp - 0x61], rbx
mov qword [rbp + 0x27], rsi
lea rcx, [rbp + 0x1f]
call fcn.140092ea0
nop
lea rcx, [rbp - 0x51]
call fcn.140155bd0
lea rcx, [rbp - 0x59]
call fcn.14006bb90
nop
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x19]
call rdi
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140090e12
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea rcx, [rbp - 0x39]
call fcn.140155bd0
lea rcx, [rbp - 0x41]
call fcn.14006bb90
nop
cmp qword [rbp + 7], 0
je 0x140090e3a
mov rax, qword [rbp - 1]
mov rdx, qword [rax]
lea rcx, [rbp - 0x19]
call rdx
nop
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140156510
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x1f]
call fcn.14005d650
nop
lea rcx, [rbp + 0x1f]
call fcn.140062400
int3