joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400517e0
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
sub rsp, 0x28
add rcx, 0x10
add rsp, 0x28
jmp 0x140051800
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
lea rsi, [rcx + 0x10]
lea r14, [rcx + 8]
mov rbp, qword [rcx]
mov rbx, qword [r14]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140051854
cmp qword [rax], rbx
je 0x140051987
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140051842
mov qword [rsp + 0x60], rsi
mov rdx, rsi
mov ecx, 0x48
call fcn.14001a0a0
mov rdi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x140051aa0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
movups xmm0, xmmword [rsi]
movups xmmword [rdi + 0x38], xmm0
mov r8, rdi
mov rdx, r14
mov rcx, rbp
call fcn.14001c990
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x14005196a
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [r14]
mov qword [rsp + 0x50], rax
call fcn.1400a9490
mov rbx, qword [rbp + 0x28]
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rsp + 0x20], xmm0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], r15
lea r8, [rsp + 0x20]
lea edx, [r15 + 0x48]
mov rcx, rdi
call fcn.14001a0f0
mov qword [rsp + 0x80], r15
test rbx, rbx
je 0x14005194d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140051ca0
nop
lea rcx, [rsp + 0x48]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140051854
mov rdx, rsi
mov rcx, rsi
call fcn.140051ca0
nop
jmp 0x14005196a
Function at 0x140051800
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
sub rsp, 0x28
add rcx, 0x10
add rsp, 0x28
jmp 0x140051800
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
lea rsi, [rcx + 0x10]
lea r14, [rcx + 8]
mov rbp, qword [rcx]
mov rbx, qword [r14]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140051854
cmp qword [rax], rbx
je 0x140051987
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140051842
mov qword [rsp + 0x60], rsi
mov rdx, rsi
mov ecx, 0x48
call fcn.14001a0a0
mov rdi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x140051aa0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
movups xmm0, xmmword [rsi]
movups xmmword [rdi + 0x38], xmm0
mov r8, rdi
mov rdx, r14
mov rcx, rbp
call fcn.14001c990
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x14005196a
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [r14]
mov qword [rsp + 0x50], rax
call fcn.1400a9490
mov rbx, qword [rbp + 0x28]
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rsp + 0x20], xmm0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], r15
lea r8, [rsp + 0x20]
lea edx, [r15 + 0x48]
mov rcx, rdi
call fcn.14001a0f0
mov qword [rsp + 0x80], r15
test rbx, rbx
je 0x14005194d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140051ca0
nop
lea rcx, [rsp + 0x48]
call fcn.14001c760
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1402d3934]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140051854
mov rdx, rsi
mov rcx, rsi
call fcn.140051ca0
nop
jmp 0x14005196a
Function at 0x14005f3a0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14005f3e4
mov dword [rsp + 0x20], 0x2719
call fcn.1400a9490
mov qword [rsp + 0x28], rax
mov eax, ebx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
jmp 0x14005f438
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call fcn.1400a9490
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x14005f436
mov dword [rsp + 0x20], esi
call fcn.1400a9490
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14005f450
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov edx, dword [rdx]
sub edx, 0x79
je 0x14005f497
sub edx, 0x450
je 0x14005f48d
sub edx, 6
je 0x14005f483
cmp edx, 1
jne 0x14005f4b1
mov dword [rsp + 0x30], 0x2751
jmp 0x14005f49f
mov dword [rsp + 0x30], 0x2743
jmp 0x14005f49f
mov dword [rsp + 0x30], 0x274d
jmp 0x14005f49f
mov dword [rsp + 0x30], 0x274c
call fcn.1400a9490
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
cmp dword [rsi], 0
jne 0x14005f53a
cmp rbx, 0xffffffffffffffff
jne 0x14005f4ca
mov dword [rsp + 0x30], 0x2719
jmp 0x14005f528
xor ecx, ecx
mov qword [rsp + 0x50], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xffff
mov r8d, 0x7010
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
test edi, edi
mov rdi, qword [rsp + 0x50]
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jne 0x14005f53a
mov dword [rsp + 0x30], 0
call fcn.1400a9490
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x14005f550
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 edi, eax
call fcn.1400a9490
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x90]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
mov ecx, dword [rbx]
cmp ecx, 0x40
jne 0x14005f5ea
mov dword [rsp + 0x40], 0x2746
jmp 0x14005f5fa
cmp ecx, 0x4d2
jne 0x14005f60e
mov dword [rsp + 0x40], 0x274d
call fcn.1400a9490
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x14005f620
cmp ecx, 0x2738
je 0x14005f61e
cmp ecx, 0xea
jne 0x14005f620
mov dword [rbx], ebp
test edi, edi
je 0x14005f636
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x40], ebp
call fcn.1400a9490
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
mov eax, dword [rsp + 0x88]
movups xmmword [rbx], xmm0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005f660
Capabilities:
Get socket status

Disassembly:
push rbx
push r12
push r13
push r15
sub rsp, 0x2a8
mov rax, qword [0x1402c94a0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, qword [rsp + 0x300]
mov rax, r9
mov qword [rsp + 0x30], rax
mov r13, r8
movzx r12d, dl
mov r15, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14005f6c2
mov dword [rsp + 0x30], 0x2719
call fcn.1400a9490
mov qword [rsp + 0x38], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x14005f83e
mov qword [rsp + 0x2d8], rbp
mov qword [rsp + 0x290], r14
movzx r14d, r12b
and r14b, 0x10
cmp byte [rsp + 0x2f8], 0
je 0x14005f708
test r14b, r14b
je 0x14005f708
xor ebp, ebp
mov dword [rsp + 0x30], ebp
call fcn.1400a9490
mov qword [rsp + 0x38], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x14005f82e
mov qword [rsp + 0x2a0], rsi
mov r8, rax
mov rdx, r13
mov qword [rsp + 0x298], rdi
mov qword [rsp + 0x20], rbx
call fcn.14005f550
test eax, eax
jg 0x14005f81c
xor ebp, ebp
test r14b, r14b
je 0x14005f73f
test eax, eax
je 0x14005f85d
test r12b, 1
jne 0x14005f877
call fcn.1400a9490
cmp qword [rbx + 8], rax
jne 0x14005f75c
cmp dword [rbx], 0x2733
je 0x14005f777
call fcn.1400a9490
cmp qword [rbx + 8], rax
jne 0x14005f877
cmp dword [rbx], 0x4d5
jne 0x14005f877
xor ecx, ecx
mov qword [rsp + 0x78], r15
mov dword [rsp + 0x70], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [r15 + 1]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea rdx, [rsp + 0x70]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1400a9490
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], eax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
test esi, esi
jne 0x14005f7e3
mov dword [rsp + 0x60], ebp
call fcn.1400a9490
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
jmp 0x14005f7ff
jle 0x14005f7fb
mov dword [rsp + 0x40], ebp
call fcn.1400a9490
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
test esi, esi
js 0x14005f877
mov r8, qword [rsp + 0x30]
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], rbx
call fcn.14005f550
test eax, eax
jle 0x14005f732
cdqe
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x2d8]
mov r14, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401e4940
add rsp, 0x2a8
pop r15
pop r13
pop r12
pop rbx
ret
mov dword [rsp + 0x40], 2
call fcn.140019f80
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
xor eax, eax
jmp 0x14005f81e
Function at 0x14005f970
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 rdi, rax
call fcn.1400a9490
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x14005f9e4
mov rax, rdi
jmp 0x14005fa2c
cmp esi, 0x17
jne 0x14005fa0e
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], 0
lea edx, [rsi + 0x12]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 4]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
call fcn.1400a9490
mov qword [rsp + 0x38], rax
mov rax, 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 0x14005fa50
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 0x14005fbf0
cmp dword [rax + 8], 0
je 0x14005fbf0
test r8, r8
je 0x14005fa92
cmp byte [r8], 0
jne 0x14005fa94
xor edi, edi
test rbx, rbx
je 0x14005fa9f
cmp byte [r9], 0
jne 0x14005faa1
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 0x14005fb63
je 0x14005fb4a
test eax, eax
je 0x14005fb31
sub edx, 8
je 0x14005fb18
sub edx, 0x271e
je 0x14005faff
cmp edx, 0x16
jne 0x14005fb7d
mov dword [rbp - 0x10], 0x273c
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], 0x2726
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], reloc.WS2_32.dll_ntohl
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], 0
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], 0x273f
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
sub edx, 0x277d
je 0x14005fbda
sub edx, 0x37c
je 0x14005fbc4
sub edx, 1
je 0x14005fbae
cmp edx, 1
je 0x14005fb98
call fcn.1400a9490
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x10], eax
mov qword [rbp - 8], rbx
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], 0x2afb
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], 0x2afa
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], 0x2af9
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], 0x277d
call fcn.1400a9490
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x14005fc04
mov dword [rbp - 0x10], 0x3e3
call fcn.1400a9490
mov qword [rbp - 8], rax
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 0x1400607c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get local ipv4 addresses
Get socket information
Set socket configuration
Start tcp server

Disassembly:
sub rsp, 0x28
cmp edx, 2
jne 0x1400607ff
mov qword [rsp + 0x20], rbx
lea rbx, [rcx + 0x58]
mov rcx, rbx
call fcn.1400603f0
mov rcx, rbx
mov qword [rbx + 8], 0xffffffffffffffff
mov qword [rbx], 0xffffffffffffffff
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.14005fc80
add rsp, 0x28
ret
Function at 0x140061310
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 0x14006134a
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rdi
jmp fcn.14005ef60
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140061372
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rdi
jmp fcn.14005ef60
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 0x1400613f1
cmp eax, 0x3e5
je 0x1400613f1
mov r9d, dword [rsp + 0x50]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14005ef60
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14005eec0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140061410
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 0x14006144d
mov rdx, qword [rsp + 0x90]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x50
pop rbx
jmp fcn.14005ef60
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140061475
mov rdx, qword [rsp + 0x90]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
add rsp, 0x50
pop rbx
jmp fcn.14005ef60
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 0x1400614d1
mov eax, 0x2746
jmp 0x1400614de
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x68]
je 0x14006150d
cmp eax, 0x3e5
je 0x14006150d
mov r9d, dword [rsp + 0x60]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14005ef60
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14005eec0
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
Function at 0x14006f600
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
cmp qword [rcx + 0x78], 0
je 0x14006f677
test edx, edx
jne 0x14006f642
mov rcx, qword [rcx + 0x58]
mov rcx, qword [rcx + 0x10]
call fcn.14001acd0
mov rcx, qword [rbx + 0x78]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14001a550
mov rax, qword [rcx + 0x58]
mov rcx, qword [rax + 0x10]
xor eax, eax
xchg dword [rcx + 0x34], eax
mov ecx, 0x18
call fcn.1401e4cb4
mov qword [rsp + 0x40], rax
mov rdx, qword [rbx + 0x58]
mov rcx, rax
call fcn.1400708b0
nop
mov rdx, rax
lea rcx, [rbx + 0x78]
call fcn.140028070
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140070cc0
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 [0x1402d3934]
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140070cfe
nop word [rax + rax]
cmp qword [rax], rbx
je 0x140070cfe
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140070cf0
lea rdx, [rdi + 0x10]
mov ecx, 0x58
call fcn.14001a0a0
xor edx, edx
lea rcx, [0x14004e320]
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.14001ad40
Function at 0x140070d60
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r15, r8
mov r12, rdx
mov rbp, rcx
lea r14, [rcx + 8]
xor r13d, r13d
cmp qword [r14], 0xffffffffffffffff
jne 0x140070eae
mov dword [rsp + 0x40], r13d
call fcn.1400a9490
mov qword [rsp + 0x48], rax
mov eax, 0x17
mov ecx, 2
cmp word [r12], cx
cmove eax, ecx
mov dword [rsp + 0x100], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
mov r8, r14
lea rdx, [rsp + 0x80]
mov rcx, qword [rbp]
call fcn.140072230
lea rax, [fcn.140010b90]
cmp dword [rsp + 0x40], r13d
cmove rax, r13
test rax, rax
je 0x140070eae
mov rax, qword [rbp]
mov rbx, qword [rax + 0x18]
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmm0, xmmword [r15 + 0x10]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
mov ecx, dword [0x1402d3924]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140070e4b
mov rcx, qword [rax + 8]
jmp 0x140070e4e
mov rcx, r13
mov edx, 0x78
call fcn.14001a020
mov qword [rax + 0x20], r13
lea rcx, [0x140076100]
mov qword [rax + 0x28], rcx
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov dword [rax + 0x30], r13d
mov byte [rax + 0x39], 1
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x60], xmm0
mov rcx, qword [rbx + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.14001ad40
jmp 0x140070f65
mov rbp, qword [rbp]
mov qword [rsp + 0x50], r15
lea rdx, [r15 + 0x10]
mov ecx, 0x88
call fcn.14001a0a0
mov rsi, rax
mov qword [rsp + 0x58], rax
mov rbx, qword [r14]
mov qword [rax + 0x20], r13
lea rax, [0x140073560]
mov qword [rsi + 0x28], rax
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
mov dword [rsi + 0x30], r13d
mov dword [rsi + 0x38], r13d
call fcn.1400a9490
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x48], r13
lea rax, [0x140061040]
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x58], rbx
mov byte [rsi + 0x60], 0
movups xmm0, xmmword [r15]
movups xmmword [rsi + 0x68], xmm0
movups xmm0, xmmword [r15 + 0x10]
movups xmmword [rsi + 0x78], xmm0
mov qword [rsp + 0x60], rsi
mov eax, reloc.WS2_32.dll_recv
mov ecx, 0x1c
cmp word [r12], 2
cmovne eax, ecx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 1
mov r8d, dword [r14 + 0x38]
mov rdx, r14
call fcn.140061530
nop
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret