joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053770
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x28], 0
mov rbx, rcx
mov rsi, 0xffffffffffffffff
je 0x140053861
cmp byte [rcx + 0x29], 0
jne 0x140053861
mov rax, qword [rcx + 0x18]
mov edx, dword [rax]
nop
cmp edx, 0x103
jne 0x140053861
lea rdx, [rsp + 0x20]
call fcn.1400538c0
test al, al
je 0x140053861
mov rax, qword [rbx]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14005385d
cmp byte [rbx + 0x29], 0
jne 0x14005385d
mov rax, qword [rbx + 0x18]
mov ecx, dword [rax]
nop
cmp ecx, 0x103
jne 0x14005385d
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140053803
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rsp + 0x40]
cmp edx, 0x103
jne 0x140053814
mov r8b, 1
jmp 0x140053832
xor r8b, r8b
cmp byte [rbx + 0x29], r8b
jne 0x140053832
mov rax, qword [rbx + 0x18]
mov ecx, dword [rax]
nop
cmp ecx, 0x103
jne 0x140053832
mov rax, qword [rbx + 0x18]
xchg dword [rax], edx
test r8b, r8b
je 0x14005385d
mov rcx, qword [rbx]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140053851
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14005385d
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov byte [rbx + 0x29], 1
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140053891
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140053891
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140053891
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x1400562f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x1402cf480]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov rdi, rcx
xor esi, esi
lea rcx, [rbp + 0x280]
call fcn.140056500
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.140056500
lea rax, [rbp + 0x170]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x60]
call fcn.140056500
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x390], rdi
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x398]
call fcn.140056500
nop
lea rcx, [rbp + 0x140]
call fcn.140033f30
lea rcx, [rbp + 0x90]
call fcn.140033f30
nop
lea rcx, [rbp + 0x250]
call fcn.140033f30
lea rcx, [rbp + 0x1a0]
call fcn.140033f30
nop
lea rax, [0x140056880]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x390]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x398]
lea rcx, [rsp + 0x50]
call fcn.140056500
nop
lea rcx, [rbp + 0x478]
call fcn.140033f30
lea rcx, [rbp + 0x3c8]
call fcn.140033f30
nop
lea rcx, [rbx + 0xe0]
call fcn.140033f30
lea rcx, [rbx + 0x30]
call fcn.140033f30
movups xmm0, xmmword [rdi + 0x2f8]
movaps xmmword [rbp + 0x4b0], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x4c0]
call fcn.1400566a0
lea rcx, [rbp + 0x30]
call fcn.140033f30
lea rcx, [rbp - 0x80]
call fcn.140033f30
nop
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rbp + 0x4c0]
mov ecx, 0x168
call fcn.140021fa0
mov r9, rax
mov qword [rax + 0x20], rsi
lea rax, [0x140058210]
mov qword [r9 + 0x28], rax
mov qword [r9], rsi
mov qword [r9 + 8], rsi
mov qword [r9 + 0x10], rsi
mov qword [r9 + 0x18], rsi
mov dword [r9 + 0x30], esi
movaps xmm0, xmmword [rbp + 0x4b0]
movups xmmword [r9 + 0x38], xmm0
lea rcx, [r9 + 0x48]
lea rdx, [rbp + 0x4c0]
call fcn.1400566a0
mov rcx, qword [0x1402da978]
lock inc dword [rcx + 0x30]
mov rdx, r9
call fcn.140022b10
nop
lea rcx, [rbp + 0x5b0]
call fcn.140033f30
lea rcx, [rbp + 0x500]
call fcn.140033f30
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.1401fb000
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140059200
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rbp, rdx
mov r14, rcx
mov rax, qword [rcx + 0xd8]
mov rdx, qword [rax]
cmp dword [rcx + 0x80], 0
jne 0x1400593d1
cmp byte [rdx + 0x40], 0
je 0x140059251
cmp qword [rdx + 0x30], 0
jne 0x140059251
cmp qword [rdx + 0x18], 0xf
jbe 0x140059276
mov rdx, qword [rdx]
jmp 0x140059276
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14005925e
mov rax, qword [rdx]
mov qword [rcx + 0xc8], rax
lea rax, [rdx + 0x20]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140059276
mov rdx, qword [rax]
mov eax, 0xc0
mov qword [rax + rcx], rdx
mov rax, qword [r14 + 0x78]
mov r10, qword [r14 + 0xb8]
mov r11, qword [r14 + 0xd0]
mov ebx, dword [r14]
mov edi, dword [r14 + 0xb0]
lea rsi, [r14 + 0xe0]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
mov r9, qword [r14 + 0xa8]
mov r8, qword [r14 + 0xa0]
mov rcx, qword [r14 + 0xc8]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r15d, eax
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x78], xmm0
movsd xmm0, qword [rsi + 0x10]
movsd qword [rsp + 0xd0], xmm0
movsd qword [rsp + 0x88], xmm0
mov rcx, qword [r14 + 0x98]
test rcx, rcx
je 0x14005932c
lock inc dword [rcx + 8]
movsd xmm0, qword [rsp + 0x88]
movsd qword [rsp + 0xd0], xmm0
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm0
mov rbx, qword [r14 + 0x90]
mov qword [rsp + 0x90], rbx
mov rdi, qword [r14 + 0x98]
mov qword [rsp + 0x98], rdi
mov word [rsp + 0xa0], 1
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x1400593f9
mov dword [r14 + 0x80], 0
lea rax, str.X_b__
mov qword [r14 + 0x88], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp], xmm0
movsd xmm0, qword [rsp + 0xd0]
movsd qword [rbp + 0x10], xmm0
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rdi
mov word [rbp + 0x28], 1
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400593d9
mov rcx, rbp
call fcn.1400536e0
mov rax, rbp
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [rsp + 0x68]
call fcn.140052c30
mov rdx, rax
call fcn.140059410
int3
Function at 0x140059900
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1402cf480]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x78], rax
add rdx, 0x20
lea rcx, [rbp - 0x80]
call fcn.140056500
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x90], xmm0
lea rdx, [rbx + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.1400566a0
nop
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400599a2
nop dword [rax]
cmp qword [rax], rbx
je 0x140059afc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140059990
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x70]
mov ecx, 0x288
call fcn.140021fa0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14005a6e0]
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, [rsp + 0x70]
call fcn.1400566a0
movaps xmm2, xmmword [rbp + 0x90]
movups xmmword [rcx + 0x120], xmm2
add rcx, 0x130
lea rdx, [rbp + 0xa0]
call fcn.1400566a0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140024870
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x140059aab
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1402daed4]
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 [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.1400b35b0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rdi + 0x28]
call fcn.14005a6e0
nop
lea rcx, [rsp + 0x20]
call fcn.140024650
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x190]
call fcn.140033f30
lea rcx, [rbp + 0xe0]
call fcn.140033f30
lea rcx, [rbp + 0x60]
call fcn.140033f30
lea rcx, [rbp - 0x50]
call fcn.140033f30
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.1401fb000
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400599a2
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.14005b570
nop
nop
jmp 0x140059aab
Function at 0x14005a420
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005a472
nop dword [rax]
cmp qword [rax], rbx
je 0x14005a5d3
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005a460
mov qword [rbp + 0x27], rdi
mov rdx, rdi
mov ecx, 0x68
call fcn.140021fa0
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x14005a630]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x48], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140024870
mov qword [rbp + 0x37], r15
mov qword [rbp + 0x2f], r15
test al, al
je 0x14005a5b6
mov rax, qword [rsi]
mov qword [rbp - 0x49], rax
mov ecx, dword [0x1402daed4]
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 [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rbp - 0x19], rax
mov rax, qword [rsi]
mov qword [rbp - 0x11], rax
call fcn.1400b35b0
mov rdi, qword [r14 + 0x28]
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbp - 9], xmm0
movups xmm0, xmmword [rbx + 0x48]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rbx + 0x58]
movups xmmword [rbp + 0x17], xmm1
lea rax, [rbp - 9]
mov qword [rbp - 0x31], rax
test rbx, rbx
je 0x14005a570
mov qword [rbp - 0x21], r15
lea r8, [rbp - 9]
lea edx, [r15 + 0x68]
mov rcx, rbx
call fcn.140022030
mov ebx, r15d
mov qword [rbp - 0x29], rbx
test rdi, rdi
je 0x14005a584
lea rdx, [rbp - 9]
lea rcx, [rbp - 9]
call fcn.14005b6e0
nop
nop
test rbx, rbx
je 0x14005a59b
lea r8, [rbp - 9]
mov edx, 0x68
mov rcx, rbx
call fcn.140022030
nop
lea rcx, [rbp - 0x19]
call fcn.140024650
nop
mov rdx, qword [rbp - 0x39]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14005a472
nop
mov rdx, rdi
mov rcx, rdi
call fcn.14005b6e0
nop
nop
jmp 0x14005a5b6
Function at 0x14005b570
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
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
lea rdi, [rcx + 0x130]
lea rsi, [rcx + 0x128]
mov rbp, qword [rcx + 0x120]
mov rbx, qword [rsi]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005b5c7
cmp qword [rax], rbx
je 0x14005b6b4
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005b5b5
mov qword [rsp + 0x58], rdi
mov rdx, rdi
mov ecx, 0x158
call fcn.140021fa0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14005b9a0]
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]
mov rdx, rdi
call fcn.1400566a0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140024870
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
test al, al
je 0x14005b6a6
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.1400b35b0
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.14005b9a0
nop
lea rcx, [rsp + 0x20]
call fcn.140024650
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rax + 8], 0
je 0x14005b5c7
nop
mov rdx, rdi
mov rcx, rdi
call fcn.140051ec0
nop
nop
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005b6e0
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 0x14005b700
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x90
lea rsi, [rcx + 0x10]
lea r14, [rcx + 8]
mov rbp, qword [rcx]
mov rbx, qword [r14]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005b752
nop word [rax + rax]
cmp qword [rax], rbx
je 0x14005b883
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005b740
mov qword [rsp + 0x58], rsi
mov rdx, rsi
mov ecx, 0x48
call fcn.140021fa0
mov rdi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x14005b8e0]
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.140024870
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
test al, al
je 0x14005b866
mov rax, qword [r14]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [r14]
mov qword [rsp + 0x38], rax
call fcn.1400b35b0
mov rbx, qword [rbp + 0x28]
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rsp + 0x20], xmm0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], r15
lea r8, [rsp + 0x20]
lea edx, [r15 + 0x48]
mov rcx, rdi
call fcn.140022030
mov qword [rsp + 0x78], r15
test rbx, rbx
je 0x14005b849
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14005bb60
nop
nop
lea rcx, [rsp + 0x30]
call fcn.140024650
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x90]
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 0x14005b752
nop
mov rdx, rsi
mov rcx, rsi
call fcn.14005bb60
nop
nop
jmp 0x14005b866
Function at 0x14005b700
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 0x14005b700
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x90
lea rsi, [rcx + 0x10]
lea r14, [rcx + 8]
mov rbp, qword [rcx]
mov rbx, qword [r14]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005b752
nop word [rax + rax]
cmp qword [rax], rbx
je 0x14005b883
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14005b740
mov qword [rsp + 0x58], rsi
mov rdx, rsi
mov ecx, 0x48
call fcn.140021fa0
mov rdi, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x14005b8e0]
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.140024870
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
test al, al
je 0x14005b866
mov rax, qword [r14]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [r14]
mov qword [rsp + 0x38], rax
call fcn.1400b35b0
mov rbx, qword [rbp + 0x28]
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rsp + 0x20], xmm0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], r15
lea r8, [rsp + 0x20]
lea edx, [r15 + 0x48]
mov rcx, rdi
call fcn.140022030
mov qword [rsp + 0x78], r15
test rbx, rbx
je 0x14005b849
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14005bb60
nop
nop
lea rcx, [rsp + 0x30]
call fcn.140024650
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x90]
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 0x14005b752
nop
mov rdx, rsi
mov rcx, rsi
call fcn.14005bb60
nop
nop
jmp 0x14005b866
Function at 0x140068ec0
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 0x140068f04
mov dword [rsp + 0x20], 0x2719
call fcn.1400b35b0
mov qword [rsp + 0x28], rax
mov eax, ebx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
jmp 0x140068f58
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.1400b35b0
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 0x140068f56
mov dword [rsp + 0x20], esi
call fcn.1400b35b0
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 0x140068f70
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 0x140068fb7
sub edx, 0x450
je 0x140068fad
sub edx, 6
je 0x140068fa3
cmp edx, 1
jne 0x140068fd1
mov dword [rsp + 0x30], 0x2751
jmp 0x140068fbf
mov dword [rsp + 0x30], 0x2743
jmp 0x140068fbf
mov dword [rsp + 0x30], 0x274d
jmp 0x140068fbf
mov dword [rsp + 0x30], 0x274c
call fcn.1400b35b0
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
cmp dword [rsi], 0
jne 0x14006905a
cmp rbx, 0xffffffffffffffff
jne 0x140068fea
mov dword [rsp + 0x30], 0x2719
jmp 0x140069048
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.1400b35b0
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 0x14006905a
mov dword [rsp + 0x30], 0
call fcn.1400b35b0
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 0x140069070
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.1400b35b0
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 0x14006910a
mov dword [rsp + 0x40], 0x2746
jmp 0x14006911a
cmp ecx, 0x4d2
jne 0x14006912e
mov dword [rsp + 0x40], 0x274d
call fcn.1400b35b0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
jmp 0x140069140
cmp ecx, 0x2738
je 0x14006913e
cmp ecx, 0xea
jne 0x140069140
mov dword [rbx], ebp
test edi, edi
je 0x140069156
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.1400b35b0
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