joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140070340
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
mov rbx, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor ebp, ebp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x88]
mov qword [rsp + 0x28], rbp
mov r8d, ebx
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov dword [rsp + 0x88], ebp
mov dword [rsp + 0x80], ebp
call qword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [rsp + 0x90]
test eax, eax
mov dword [rsp + 0x40], eax
lea rax, [0x1402c28e8]
setne byte [rsp + 0x44]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
mov ecx, dword [rdx]
cmp ecx, 0x40
jne 0x1400703e0
mov dword [rsp + 0x40], 0x2746
jmp 0x1400703f0
cmp ecx, 0x4d2
jne 0x140070404
mov dword [rsp + 0x40], 0x274d
mov byte [rsp + 0x44], 1
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
jmp 0x140070414
cmp ecx, 0x2738
je 0x14007042a
cmp ecx, 0xea
je 0x14007042a
test ebx, ebx
je 0x14007042a
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], ebp
mov byte [rsp + 0x44], bpl
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140070460
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140329490]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, qword [rbp + 0x210]
mov rax, r8
mov qword [rsp + 0x30], rax
movzx r13d, dl
mov qword [rsp + 0x50], r9
mov r12, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1400704d1
lea rdi, [0x1402c28e8]
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x38], rdi
xor eax, eax
mov byte [rsp + 0x34], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x14007065c
mov qword [rsp + 0x2a8], r14
mov qword [rsp + 0x2a0], r15
movzx r15d, r13b
and r15b, 0x10
cmp byte [rbp + 0x208], 0
je 0x14007051f
test r15b, r15b
je 0x14007051f
xor r14d, r14d
lea rdi, [0x1402c28e8]
mov dword [rsp + 0x30], r14d
xor eax, eax
mov byte [rsp + 0x34], r14b
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x14007064c
mov r8, r9
mov qword [rsp + 0x2e8], rsi
mov rdx, rax
mov qword [rsp + 0x20], rbx
call fcn.140070340
test eax, eax
jg 0x140070642
lea rdi, [0x1402c28e8]
xor r14d, r14d
movabs rsi, 0x8fafd21e25c5e09b
test r15b, r15b
je 0x140070560
test eax, eax
je 0x14007067a
test r13b, 1
jne 0x1400706c8
mov ecx, dword [rbx]
cmp ecx, 0x2733
jne 0x14007057e
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rsi
je 0x140070598
cmp ecx, 0x4d5
jne 0x1400706c8
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rsi
jne 0x1400706c8
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], r14
xor r9d, r9d
lea rdx, [rbp - 0x80]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], rdi
setne byte [rsp + 0x5c]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
test esi, esi
jne 0x140070602
mov dword [rsp + 0x68], r14d
mov byte [rsp + 0x6c], r14b
mov qword [rsp + 0x70], rdi
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
jmp 0x140070623
jle 0x14007061b
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0x44], r14b
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
test esi, esi
js 0x1400706c8
mov r8, qword [rsp + 0x50]
mov rcx, r12
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rbx
call fcn.140070340
test eax, eax
jle 0x140070549
cdqe
mov rsi, qword [rsp + 0x2e8]
mov r14, qword [rsp + 0x2a8]
mov r15, qword [rsp + 0x2a0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140220f90
add rsp, 0x2b0
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
call fcn.1400224a0
mov rdi, rax
mov dword [rsp + 0x40], 2
mov rax, qword [rax + 8]
cmp rax, rsi
je 0x1400706b5
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x1400706b5
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x30]
lea rcx, [method.boost::asio::error::detail::misc_category.virtual_48]
cmp rax, rcx
jne 0x1400706cf
mov al, 1
mov byte [rsp + 0x44], al
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
xor eax, eax
jmp 0x140070644
mov edx, 2
mov rcx, rdi
call rax
jmp 0x1400706b7
Function at 0x140070870
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov esi, ecx
mov rbp, r9
xor ecx, ecx
mov ebx, r8d
mov edi, edx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov r8d, ebx
mov dword [rsp + 0x20], 0
mov edx, edi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x30], eax
lea rdi, [0x1402c28e8]
setne byte [rsp + 0x34]
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rbx, 0xffffffffffffffff
jne 0x1400708ea
mov rax, rbx
jmp 0x140070932
cmp esi, 0x17
jne 0x140070914
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], 0
lea edx, [rsi + 0x12]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 4]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
mov rax, rbx
mov byte [rsp + 0x34], 0
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140070950
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [rdx + 8]
mov rbx, r9
mov rdi, r8
mov rsi, rcx
test rax, rax
je 0x140070a9b
cmp dword [rax + 8], 0
je 0x140070a9b
test r8, r8
je 0x140070992
cmp byte [r8], 0
jne 0x140070994
xor edi, edi
test rbx, rbx
je 0x14007099f
cmp byte [r9], 0
jne 0x1400709a1
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r9, qword [rbp + 0x38]
mov rdx, rbx
mov r8, qword [rbp + 0x30]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
cmp eax, 0x273f
jg 0x140070a2a
je 0x140070a21
test eax, eax
je 0x140070a02
sub edx, 8
je 0x1400709f6
sub edx, 0x271e
je 0x1400709ea
cmp edx, 0x16
jne 0x140070a44
mov dword [rbp - 0x10], 0x273c
jmp 0x140070a86
mov dword [rbp - 0x10], 0x2726
jmp 0x140070a86
mov dword [rbp - 0x10], reloc.WS2_32.dll_ntohl
jmp 0x140070a86
lea rax, [0x1402c28e8]
mov dword [rbp - 0x10], 0
mov qword [rbp - 8], rax
mov byte [rbp - 0xc], 0
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x140070ab5
mov dword [rbp - 0x10], 0x273f
jmp 0x140070a86
sub edx, 0x277d
je 0x140070a7f
sub edx, 0x37c
je 0x140070a76
sub edx, 1
je 0x140070a6d
cmp edx, 1
je 0x140070a64
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x10], eax
test eax, eax
lea rax, [0x1402c28e8]
setne byte [rbp - 0xc]
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x140070ab5
mov dword [rbp - 0x10], 0x2afb
jmp 0x140070a86
mov dword [rbp - 0x10], 0x2afa
jmp 0x140070a86
mov dword [rbp - 0x10], 0x2af9
jmp 0x140070a86
mov dword [rbp - 0x10], 0x277d
lea rax, [0x1402c28e8]
mov byte [rbp - 0xc], 1
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x140070ab5
lea rax, [0x1402c28e8]
mov dword [rbp - 0x10], 0x3e3
mov qword [rbp - 8], rax
mov byte [rbp - 0xc], 1
movups xmm0, xmmword [rbp - 0x10]
mov rax, qword [rbp + 0x40]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
movups xmmword [rsi], xmm0
movups xmmword [rax], xmm0
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret
Function at 0x140071560
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp edx, 2
jne 0x14007159f
mov qword [rsp + 0x20], rbx
lea rbx, [rcx + 0x58]
mov rcx, rbx
call fcn.140071180
mov rcx, rbx
mov qword [rbx + 8], 0xffffffffffffffff
mov qword [rbx], 0xffffffffffffffff
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.140070b30
add rsp, 0x28
ret
Function at 0x1400720a0
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 0x1400720da
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rdi
jmp fcn.14006fc80
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140072102
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rdi
jmp fcn.14006fc80
xor eax, eax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov r8d, r10d
mov eax, dword [rsp + 0x70]
mov rdx, r11
mov qword [rsp + 0x60], 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 + 0x58]
je 0x140072181
cmp eax, 0x3e5
je 0x140072181
mov r9d, dword [rsp + 0x50]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14006fc80
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14006fbe0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400721a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rbx, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x88], 0
je 0x1400721dd
mov rdx, qword [rsp + 0x90]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x50
pop rbx
jmp fcn.14006fc80
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140072205
mov rdx, qword [rsp + 0x90]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
add rsp, 0x50
pop rbx
jmp fcn.14006fc80
mov eax, dword [rsp + 0x80]
lea r9, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x60], edx
mov r8d, r10d
mov qword [rsp + 0x68], rsi
mov rdx, r11
mov qword [rsp + 0x70], rdi
mov rdi, qword [rsp + 0x90]
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 0x140072261
mov eax, 0x2746
jmp 0x14007226e
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x68]
je 0x14007229d
cmp eax, 0x3e5
je 0x14007229d
mov r9d, dword [rsp + 0x60]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14006fc80
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14006fbe0
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
Function at 0x1400756a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 8]
mov rsi, rcx
mov ecx, dword [0x140338560]
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400756de
nop word [rax + rax]
cmp qword [rax], rbx
je 0x1400756de
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400756d0
lea rdx, [rdi + 0x10]
mov ecx, 0x58
call fcn.140022520
xor edx, edx
lea rcx, [0x14005f4f0]
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rcx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov dword [rax + 0x30], edx
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rax + 0x48], xmm0
mov rcx, qword [rsi + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400235f0

Function at 0x140082660
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, qword [rcx + 8]
mov rdi, rdx
cmp rbx, 0xffffffffffffffff
jne 0x14008268d
mov dword [rsp + 0x30], 0x2719
lea rax, [0x1402c28e8]
mov byte [rsp + 0x34], 1
jmp 0x1400826ea
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 ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
test eax, eax
lea rax, [0x1402c28e8]
setne byte [rsp + 0x34]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test ebx, ebx
jne 0x1400826fa
mov dword [rsp + 0x30], ebx
mov byte [rsp + 0x34], bl
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x30], 0
jne 0x14008270c
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.140022370
int3

Function at 0x140082720
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, qword [rcx + 8]
mov rdi, rdx
cmp rbx, 0xffffffffffffffff
jne 0x14008274d
mov dword [rsp + 0x30], 0x2719
lea rax, [0x1402c28e8]
mov byte [rsp + 0x34], 1
jmp 0x1400827a8
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 ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
test eax, eax
lea rax, [0x1402c28e8]
setne byte [rsp + 0x34]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test ebx, ebx
jne 0x1400827b8
mov dword [rsp + 0x30], ebx
mov byte [rsp + 0x34], bl
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x30], 0
jne 0x1400827ca
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.140022370
int3
Function at 0x1400843b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, dword [0x140338560]
mov rsi, r8
mov rbx, qword [rdx + 8]
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400843ee
nop word [rax + rax]
cmp qword [rax], rbx
je 0x1400843ee
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400843e0
lea rdx, [rdi + 0x10]
mov ecx, 0x58
call fcn.140022520
xor edx, edx
lea rcx, [0x14005f4f0]
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rcx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov dword [rax + 0x30], edx
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rax + 0x48], xmm0
mov rcx, qword [rsi + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400235f0
Function at 0x1400855d0
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 [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140085633
cmp qword [rax], rbx
je 0x14008573f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140085621
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x60
call fcn.140022520
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [fcn.1400899d0]
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.140025320
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rbp
test al, al
je 0x140085726
mov rax, qword [rdi]
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 [rsi + 0x28]
mov qword [rsp + 0x60], rcx
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea r8, [rsp + 0x90]
mov rdx, rbx
call fcn.1400899d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140338560]
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 0x140085633
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.14008c460
nop
jmp 0x140085726
Function at 0x140085760
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 [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400857c3
cmp qword [rax], rbx
je 0x1400858cf
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400857b1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x60
call fcn.140022520
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [fcn.140089910]
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.140025320
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rbp
test al, al
je 0x1400858b6
mov rax, qword [rdi]
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 [rsi + 0x28]
mov qword [rsp + 0x60], rcx
mov rax, qword [rdi]
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea r8, [rsp + 0x90]
mov rdx, rbx
call fcn.140089910
nop
lea rcx, [rsp + 0x60]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140338560]
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 0x1400857c3
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140057c30
nop
jmp 0x1400858b6
Function at 0x140087620
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
cmp byte [rcx + 0x18], 0
je 0x14008764c
mov rcx, rdx
add rsp, 0x80
pop rbx
jmp fcn.140088080
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140087729
movups xmm0, xmmword [rdx]
cmp byte [rbx + 8], 0
je 0x140087691
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140088080
add rsp, 0x80
pop rbx
ret
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [0x140338528]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400876bf
mov rdx, qword [rax + 8]
jmp 0x1400876c1
xor edx, edx
mov r8d, 0x40
call fcn.140055ea0
lea rcx, [0x14008a300]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 0x28], xmm0
mov qword [rsp + 0xa0], rax
mov rax, qword [rbx]
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [rax + 0x28]
nop
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x140087720
xor edx, edx
mov rcx, rax
call qword [rax]
nop
add rsp, 0x80
pop rbx
ret
lea rcx, [rsp + 0x48]
call fcn.140024000
nop
lea rcx, [rsp + 0x48]
call fcn.14003b430
int3
Function at 0x140087a40
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 [0x140338560]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140087aa2
nop dword [rax]
cmp qword [rax], rbx
je 0x140087ba2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140087a90
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x38]
mov ecx, 0x58
call fcn.140022520
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [fcn.140057b70]
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.140025320
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x78], rbp
test al, al
je 0x140087b89
mov rax, qword [rdi]
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 [rsi + 0x28]
mov qword [rsp + 0x58], rcx
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, rbx
call fcn.140057b70
nop
lea rcx, [rsp + 0x58]
call fcn.1400250e0
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140338560]
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 0x140087aa2
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140057c30
nop
jmp 0x140087b89