joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008ca80
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
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0x60], xmm0
mov rax, qword [rcx]
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x80], xmm0
mov eax, dword [rcx + 0x20]
mov dword [rbp - 0x70], eax
mov eax, dword [rcx + 0x24]
mov dword [rbp - 0x6c], eax
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rbp - 0x68], xmm0
mov rax, qword [rcx + 0x38]
mov qword [rbp - 0x58], rax
mov rax, qword [rcx + 0x40]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rcx + 0x48]
movups xmmword [rbp - 0x48], xmm0
movsd xmm1, qword [rcx + 0x58]
movsd qword [rbp - 0x38], xmm1
mov eax, dword [rcx + 0x60]
mov dword [rbp - 0x30], eax
mov rax, qword [rcx + 0x68]
mov qword [rbp - 0x28], rax
mov rax, qword [rcx + 0x70]
mov qword [rbp - 0x20], rax
movups xmm0, xmmword [rcx + 0x80]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rcx + 0x90]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [rcx + 0xa0]
movups xmmword [rbp + 0x10], xmm0
mov rax, qword [rcx + 0xb0]
mov qword [rbp + 0x20], rax
mov rsi, qword [rdx]
lea rdi, [rdx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008cb68
cmp qword [rax], rbx
je 0x14008cc63
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14008cb56
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x60]
mov ecx, 0x100
call fcn.1400227f0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14008d1b0]
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 + 0x60]
call fcn.14008d580
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140025350
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x14008cc46
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x140312360]
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 [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x38], rcx
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea r8, [rbp + 0x28]
mov rdx, rbx
call fcn.14008d1b0
nop
lea rcx, [rsp + 0x38]
call fcn.140025130
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14008cb68
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14008d6b0
nop
nop
jmp 0x14008cc46
Function at 0x14008cd80
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 - 0x70]
sub rsp, 0x170
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008cdd2
nop dword [rax]
cmp qword [rax], rbx
je 0x14008cf36
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14008cdc0
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0x110
call fcn.1400227f0
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x14008d4d0]
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
lea rcx, [rbx + 0x48]
lea rdx, [rdi + 0x10]
call fcn.140089ef0
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140025350
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x14008cf19
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x140312360]
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 [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rdi, qword [r14 + 0x28]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsi]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rbx + 0x38]
movaps xmmword [rbp - 0x80], xmm0
lea rdx, [rbx + 0x48]
lea rcx, [rbp - 0x70]
call fcn.140089ef0
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rcx
test rbx, rbx
je 0x14008ced1
mov qword [rsp + 0x48], r15
lea r8, [rbp - 0x80]
mov edx, 0x110
mov rcx, rbx
call fcn.140022880
mov ebx, r15d
mov qword [rsp + 0x40], rbx
test rdi, rdi
je 0x14008cee5
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.14008d630
nop
nop
test rbx, rbx
je 0x14008cefc
lea r8, [rbp - 0x80]
mov edx, 0x110
mov rcx, rbx
call fcn.140022880
nop
lea rcx, [rsp + 0x50]
call fcn.140025130
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x170]
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 0x14008cdd2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.14008d630
nop
nop
jmp 0x14008cf19
Function at 0x14008cf60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008cfb2
nop word [rax + rax]
cmp qword [rax], rbx
je 0x14008d147
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14008cfa0
mov qword [rsp + 0x58], rdi
mov rdx, rdi
mov ecx, 0xf8
call fcn.1400227f0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14008d340]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x68], eax
mov eax, dword [rdi + 0x34]
mov dword [rbx + 0x6c], eax
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rbx + 0x70], xmm0
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x80], rax
mov rax, qword [rdi + 0x50]
mov qword [rbx + 0x88], rax
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
movsd xmm1, qword [rdi + 0x68]
movsd qword [rbx + 0xa0], xmm1
mov eax, dword [rdi + 0x70]
mov dword [rbx + 0xa8], eax
mov rax, qword [rdi + 0x78]
mov qword [rbx + 0xb0], rax
mov rax, qword [rdi + 0x80]
mov qword [rbx + 0xb8], rax
movups xmm0, xmmword [rdi + 0x90]
movups xmmword [rbx + 0xc8], xmm0
movups xmm0, xmmword [rdi + 0xa0]
movups xmmword [rbx + 0xd8], xmm0
movups xmm0, xmmword [rdi + 0xb0]
movups xmmword [rbx + 0xe8], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140025350
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
test al, al
je 0x14008d129
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140312360]
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 [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rbx
call fcn.14008d340
nop
lea rcx, [rsp + 0x20]
call fcn.140025130
nop
mov rdx, qword [rsp + 0x50]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], 0
je 0x14008cfb2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.14008d670
nop
nop
jmp 0x14008d129
Function at 0x14008d6f0
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 - 0x80]
sub rsp, 0x180
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008d742
nop dword [rax]
cmp qword [rax], rbx
je 0x14008d8d8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14008d730
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0x128
call fcn.1400227f0
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x14008d940]
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
lea rcx, [rbx + 0x48]
lea rdx, [rdi + 0x10]
call fcn.14008b330
movups xmm2, xmmword [rdx + 0xc8]
movups xmmword [rcx + 0xc8], xmm2
mov rax, qword [rdx + 0xd8]
mov qword [rcx + 0xd8], rax
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140025350
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x14008d8bb
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x140312360]
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 [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rdi, qword [r14 + 0x28]
mov qword [rsp + 0x50], rdi
mov rax, qword [rsi]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rbx + 0x38]
movaps xmmword [rbp - 0x80], xmm0
lea rdx, [rbx + 0x48]
lea rcx, [rbp - 0x70]
call fcn.14008b330
movups xmm2, xmmword [rdx + 0xc8]
movups xmmword [rbp + 0x58], xmm2
mov rax, qword [rdx + 0xd8]
mov qword [rbp + 0x68], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x14008d873
mov qword [rsp + 0x48], r15
lea r8, [rbp - 0x80]
mov edx, 0x128
mov rcx, rbx
call fcn.140022880
mov ebx, r15d
mov qword [rsp + 0x40], rbx
test rdi, rdi
je 0x14008d887
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.14008da10
nop
nop
test rbx, rbx
je 0x14008d89e
lea r8, [rbp - 0x80]
mov edx, 0x128
mov rcx, rbx
call fcn.140022880
nop
lea rcx, [rsp + 0x50]
call fcn.140025130
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x180]
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 0x14008d742
nop
mov rdx, rdi
mov rcx, rdi
call fcn.14008da10
nop
nop
jmp 0x14008d8bb
Function at 0x140093020
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], r8
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov rbx, qword [rcx]
test rbx, rbx
je 0x1400931a4
movups xmm0, xmmword [rdx + 0x20]
cmp byte [rbx + 8], 0
je 0x1400930a5
mov rax, qword [rdx]
mov qword [rsp + 0x60], rax
mov rax, qword [rdx + 8]
mov qword [r11 - 0x80], rax
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x70], eax
mov rax, qword [rdx + 0x18]
mov qword [r11 - 0x70], rax
movaps xmmword [r11 - 0x68], xmm0
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [r11 - 0x58], xmm1
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [r11 - 0x48], xmm0
mov rax, qword [rdx + 0x50]
mov qword [r11 - 0x38], rax
lea rdx, [r11 - 0x68]
lea rcx, [rsp + 0x60]
call fcn.140093380
jmp 0x140093188
mov rax, qword [rbx]
mov rdi, qword [rax + 0x28]
mov rsi, qword [rdx]
mov rbp, qword [rdx + 8]
mov r14d, dword [rdx + 0x10]
mov r15, qword [rdx + 0x18]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rsp + 0x20], xmm0
mov r12, qword [rdx + 0x50]
mov ecx, dword [0x140312328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140093116
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140093116
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140093116
mov qword [rcx + 0x10], 0
movzx ecx, byte [rax]
cmp cl, 0x1a
jb 0x14009310e
mov byte [rax + 0x68], cl
jmp 0x140093124
mov rcx, rax
call fcn.140219624
mov ecx, 0x69
call fcn.1402192c8
mov byte [rax + 0x68], 0x1a
lea rcx, [0x140093250]
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rbp
mov dword [rax + 0x18], r14d
mov qword [rax + 0x20], r15
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x28], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 0x38], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x48], xmm0
mov qword [rax + 0x58], r12
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x100]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x140093188
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x20]
call fcn.140023da0
nop
lea rcx, [rsp + 0x20]
call fcn.140038d10
int3
Function at 0x140093380
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
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rbp - 0x51], xmm0
mov rax, qword [rcx]
mov qword [rbp - 0x41], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x39], rax
mov eax, dword [rcx + 0x10]
mov dword [rbp - 0x31], eax
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x29], rax
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rbp - 0x11], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rbp - 1], xmm0
mov rax, qword [rcx + 0x50]
mov qword [rbp + 0xf], rax
mov rsi, qword [rdx]
lea rdi, [rdx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140093413
cmp qword [rax], rbx
je 0x14009353e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140093401
lea rax, [rbp - 0x51]
mov qword [rbp + 0x27], rax
lea rdx, [rbp - 0x51]
mov ecx, 0xa0
call fcn.1400227f0
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.1400935a0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
movups xmm0, xmmword [rbp - 0x51]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rbp - 0x41]
mov qword [rbx + 0x48], rax
mov rax, qword [rbp - 0x39]
mov qword [rbx + 0x50], rax
mov eax, dword [rbp - 0x31]
mov dword [rbx + 0x58], eax
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x60], rax
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbx + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbx + 0x78], xmm1
movups xmm0, xmmword [rbp - 1]
movups xmmword [rbx + 0x88], xmm0
mov rax, qword [rbp + 0xf]
mov qword [rbx + 0x98], rax
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140025350
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x2f], r14
test al, al
je 0x140093521
mov rax, qword [rdi]
mov qword [rbp - 0x69], rax
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x69]
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x69]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rbp + 0x17], rcx
mov rax, qword [rdi]
mov qword [rbp + 0x1f], rax
xor r9d, r9d
lea r8, [rbp + 0x3f]
mov rdx, rbx
call fcn.1400935a0
nop
lea rcx, [rbp + 0x17]
call fcn.140025130
nop
mov rdx, qword [rbp - 0x59]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140093413
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x51]
call fcn.140093680
nop
nop
jmp 0x140093521
Function at 0x14009e7a0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, rcx
add rcx, 0x28
mov qword [rsp + 0x68], rcx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14009e7ca
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
xor edi, edi
cmp qword [rbx + 0x78], rdi
je 0x14009e7e1
mov eax, 3
lock cmpxchg dword [rbx + 0x80], edi
jmp 0x14009e85e
mov eax, edi
xchg dword [rbx + 0x80], eax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1402192c8
mov rsi, rax
mov qword [rsp + 0x60], rax
mov ecx, 8
call fcn.1402192c8
mov qword [rax], rbx
mov qword [rsp + 0x70], rax
lea r14, [rsi + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14009ecc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x14009e8fc
mov rcx, qword [rbx + 0x78]
mov qword [rbx + 0x78], rsi
test rcx, rcx
je 0x14009e85e
cmp dword [rcx + 8], 0
je 0x14009e854
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.14021962c
mov eax, dword [rbx + 0x80]
nop
test eax, eax
jne 0x14009e8e6
movabs rbp, 0x7fffffffffffb1df
movabs rsi, 0x7fffffffffffffff
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14009e89f
imul rax, rax, 0x64
jmp 0x14009e8ba
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbp
jge 0x14009e8cc
add rax, 0x4e20
mov qword [rsp + 0x60], rax
jmp 0x14009e8d1
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x60]
call fcn.140062020
mov eax, dword [rbx + 0x80]
nop
test eax, eax
je 0x14009e881
mov rcx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
jmp qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov dword [r14], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14009eda0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
mov rsi, rcx
cmp rdi, 0xffffffffffffffff
je 0x14009ee24
xor ecx, ecx
mov qword [rsp + 0x38], rbx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
mov rbx, qword [rsp + 0x38]
je 0x14009ee1d
cmp eax, 0x2733
je 0x14009edeb
cmp eax, 0x4d5
jne 0x14009ee1d
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsi], 0xffffffffffffffff
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a28a0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rdi
sub rsp, 0x48
mov rdi, rcx
lea r8, [rcx + 0x50]
mov rcx, qword [rcx + 0x48]
lea rax, [0x1402b2d00]
xor ebp, ebp
mov qword [rsp + 0x28], rax
add rcx, 0x28
mov dword [rsp + 0x20], ebp
lea r9, [rsp + 0x20]
mov byte [rsp + 0x24], bpl
lea rdx, [rsp + 0x30]
call fcn.14006b830
cmp dword [rsp + 0x20], ebp
jne 0x1400a2a13
mov qword [rsp + 0x70], rbx
mov rbx, qword [rdi + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x1400a29ec
xor ecx, ecx
mov qword [rsp + 0x40], rsi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea edx, [rbp + 2]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_shutdown]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp qword [rdi + 0x50], 0xffffffffffffffff
mov rcx, qword [rdi + 0x48]
je 0x1400a29a0
xor eax, eax
lock cmpxchg qword [rcx + 0x38], rbp
je 0x1400a2939
mov rdx, qword [rdi + 0x50]
mov rcx, rax
call fcn.140024410
mov rsi, qword [rdi + 0x50]
cmp rsi, 0xffffffffffffffff
je 0x1400a29a0
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
je 0x1400a29a0
cmp eax, 0x2733
je 0x1400a296e
cmp eax, 0x4d5
jne 0x1400a29a0
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rdi + 0x58], 0xfc
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov byte [rdi + 0x58], bpl
mov rsi, 0xffffffffffffffff
mov qword [rdi + 0x50], rsi
mov rbx, qword [rdi + 0x68]
mov qword [rdi + 0x60], rbp
mov qword [rdi + 0x68], rbp
test rbx, rbx
je 0x1400a29e7
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a29e7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400a29e7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x38]
mov rbx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400a2a0c
mov eax, dword [rdi + 0x40]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], eax
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
add rsp, 0x48
pop rdi
pop rbp
ret
lea rdx, str.cancel
lea rcx, [rsp + 0x20]
call fcn.1400226b0
int3
Function at 0x1400ab6b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, qword [rcx + 8]
xor ebp, ebp
mov dword [rsp + 0x50], ebp
xorps xmm0, xmm0
mov qword [rsp + 0x38], 2
mov rdi, rdx
movdqu xmmword [rsp + 0x40], xmm0
cmp rbx, 0xffffffffffffffff
jne 0x1400ab75b
mov dword [rsp + 0x20], 0x2719
lea rax, [0x1402b2d00]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x24], 1
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov dword [rdi + 0x18], ebp
mov qword [rdi], 2
cmp dword [rsp + 0x20], ebp
jne 0x1400ab81e
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140219010
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
movsxd rsi, dword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
test eax, eax
lea rax, [0x1402b2d00]
setne byte [rsp + 0x24]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
test ebx, ebx
jne 0x1400ab71a
mov dword [rsp + 0x20], ebp
mov byte [rsp + 0x24], bpl
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
cmp rsi, 0x80
ja 0x1400ab7f6
movups xmm0, xmmword [rsp + 0x38]
mov eax, dword [rsp + 0x50]
movsd xmm1, qword [rsp + 0x48]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
mov dword [rdi + 0x18], eax
jmp 0x1400ab72c
mov dword [rsp + 0x20], 0x2726
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x24], 1
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.140022670
int3
lea rdx, str.local_endpoint
lea rcx, [rsp + 0x20]
call fcn.1400226b0
int3