joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e9e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1e8], rbx
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, qword [rcx]
test rsi, rsi
je 0x14001ebf4
movups xmm0, xmmword [rdx]
mov rax, qword [rdx + 0x10]
add rdx, 0x18
cmp byte [rsi + 8], 0
je 0x14001eaab
movaps xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x28]
call fcn.1400252c0
movups xmm0, xmmword [rbx + 0x80]
movaps xmmword [rbp + 0x90], xmm0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.14001d0f0
nop
mov rdi, qword [rbp + 0x88]
test rdi, rdi
je 0x14001ea9d
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001ea9d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14001ea9d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x28]
call fcn.140029e10
jmp 0x14001ebd2
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x78]
call fcn.1400252c0
movups xmm0, xmmword [rbx + 0x80]
movups xmmword [rbp - 0x20], xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], rdi
mov ecx, dword [0x1403d4cf4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001eaf0
mov rdx, qword [rax + 8]
jmp 0x14001eaf2
xor edx, edx
mov r8d, SHCreateDirectory
movzx ecx, byte [rsp + 0x28]
call fcn.14001cd90
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
lea rax, [0x14003e650]
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x30], rbx
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
add rcx, 8
lea rdx, [rsp + 0x78]
call fcn.1400252c0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x80], xmm0
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x38]
call fcn.14005d920
nop
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x14001eba6
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001eba6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14001eba6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x78]
call fcn.140029e10
nop
mov rax, qword [rsi]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + 0x28]
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14001ebd2
xor edx, edx
mov rcx, rax
call qword [rax]
nop
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x10]
call fcn.140025f70
nop
lea rcx, [rbp - 0x10]
call fcn.1400226a0
int3
Function at 0x14001ec10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001ec5e
cmp qword [rax], rbx
je 0x14001ec78
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001ec50
mov qword [rsp + 0x60], rsi
mov rdi, qword [rsi]
cmp byte [rdi + 0x400], 0
jne 0x14001ec90
mov byte [rdi + 0x400], 1
jmp 0x14001ec9d
cmp qword [rax + 8], 0
je 0x14001ec5e
mov rdx, rsi
mov rcx, rsi
call fcn.14001d3f0
nop
jmp 0x14001edb1
mov ecx, reloc.OLEAUT32.dll_VariantTimeToSystemTime
call fcn.140171ab4
mov rdi, rax
mov qword [rsp + 0x68], rdi
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rdi + 0x20], r15
lea rax, [fcn.14003d210]
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
lea rbx, [rdi + 0x38]
mov qword [rsp + 0xa8], rbx
mov rax, qword [rsi]
mov qword [rbx], rax
lea rdx, [rsi + 8]
lea rcx, [rbx + 8]
call fcn.1400230c0
movups xmm0, xmmword [rsi + 0x68]
movups xmmword [rbx + 0x68], xmm0
mov rax, qword [rsi + 0x78]
mov qword [rbx + 0x78], rax
mov r8, rdi
mov rdx, r14
mov rcx, rbp
call fcn.1400411c0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x14001edb1
mov rax, qword [r14]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea r8, [0x1403d4c88]
lea rdx, [0x14001aea0]
lea rcx, [0x1403d4c80]
call fcn.1400ddbc4
test eax, eax
je 0x14001edce
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, qword [rbp + 0x28]
call fcn.14003d210
nop
lea rcx, [rsp + 0x28]
call fcn.14002a7c0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14028ff34
nop
int3
Function at 0x14001ede0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r14, r8
mov rbx, rdx
mov rdi, qword [rcx]
test rdi, rdi
je 0x14001efec
cmp byte [rdi + 8], 0
je 0x14001ef38
mov rax, qword [rdx]
mov qword [rsp + 0x60], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rdx + 0x20]
movsd qword [rbp - 0x80], xmm1
mov eax, dword [rdx + 0x28]
mov dword [rbp - 0x78], eax
movups xmm0, xmmword [rdx + 0x30]
movaps xmmword [rbp - 0x70], xmm0
add rdx, 0x40
lea rcx, [rbp - 0x60]
call fcn.1400242c0
movups xmm0, xmmword [rbx + 0xa8]
movups xmmword [rbp + 8], xmm0
mov rax, qword [rbx + 0xb8]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x28]
call fcn.140023140
nop
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x88], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x90], rax
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x98], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [rbp + 0xa8], xmm1
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0xb0], eax
movaps xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp + 0xb8], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xc8]
call fcn.1400242c0
movups xmm0, xmmword [rbp + 8]
movaps xmmword [rbp + 0x130], xmm0
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x140], rax
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
call fcn.14001f1f0
nop
lea rcx, [rbp + 0xd8]
call fcn.140029e10
lea rcx, [rbp + 0x30]
call fcn.140029e10
nop
lea rcx, [rbp - 0x50]
call fcn.140029e10
jmp 0x14001efcf
lea rcx, [rsp + 0x60]
call fcn.140023ba0
mov rsi, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r14
mov ecx, dword [0x1403d4cf4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001ef66
mov rdx, qword [rax + 8]
jmp 0x14001ef68
xor edx, edx
mov r8d, 0xd0
movzx ecx, byte [rsp + 0x28]
call fcn.14001cd90
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
lea rax, [0x14003e750]
mov qword [rbx], rax
lea rcx, [rbx + 8]
mov rdx, rsi
call fcn.140023ba0
mov qword [rsp + 0x20], rbx
lea rcx, [rsi + 0x50]
call fcn.140029e10
nop
mov rax, qword [rdi]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [rax + 0x28]
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14001efcf
xor edx, edx
mov rcx, rax
call qword [rax]
nop
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140172190
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x30]
call fcn.140025f70
nop
lea rcx, [rsp + 0x30]
call fcn.1400226a0
int3
Function at 0x14001f1f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001f23e
cmp qword [rax], rbx
je 0x14001f258
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001f230
mov qword [rsp + 0x60], rsi
mov rdi, qword [rsi]
cmp byte [rdi + 0x400], 0
jne 0x14001f270
mov byte [rdi + 0x400], 1
jmp 0x14001f27d
cmp qword [rax + 8], 0
je 0x14001f23e
mov rdx, rsi
mov rcx, rsi
call fcn.14001db50
nop
jmp 0x14001f388
mov ecx, 0x160
call fcn.140171ab4
mov rdi, rax
mov qword [rsp + 0x68], rdi
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rdi + 0x20], r15
lea rax, [fcn.14003d8f0]
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
lea rbx, [rdi + 0x38]
mov qword [rsp + 0xa8], rbx
mov rdx, rsi
mov rcx, rbx
call fcn.1400242c0
nop
lea rdx, [rsi + 0x68]
lea rcx, [rbx + 0x68]
call fcn.140023ba0
nop
mov r8, rdi
mov rdx, r14
mov rcx, rbp
call fcn.1400411c0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x14001f388
mov rax, qword [r14]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea r8, [0x1403d4c88]
lea rdx, [0x14001aea0]
lea rcx, [0x1403d4c80]
call fcn.1400ddbc4
test eax, eax
je 0x14001f3a5
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, qword [rbp + 0x28]
call fcn.14003d8f0
nop
lea rcx, [rsp + 0x28]
call fcn.14002a7c0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14028ff34
nop
int3
Function at 0x14001f3b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001f402
nop dword [rax]
cmp qword [rax], rbx
je 0x14001f54c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001f3f0
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xc8
call fcn.140035ee0
mov rsi, rax
mov qword [rsp + 0x68], rax
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.14003dff0]
mov qword [rsi + 0x28], rax
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov dword [rsi + 0x30], r15d
lea rbx, [rsi + 0x38]
mov qword [rsp + 0xb8], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.140024980
nop
lea rcx, [rbx + 0x40]
mov qword [rsp + 0xc8], rcx
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rcx], xmm0
lea rdx, [rdi + 0x50]
add rcx, 0x10
call fcn.140024980
nop
mov r8, rsi
mov rdx, r14
mov rcx, rbp
call fcn.1400411c0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x14001f535
mov rax, qword [r14]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea r8, [0x1403d4c88]
lea rdx, [0x14001aea0]
lea rcx, [0x1403d4c80]
call fcn.1400ddbc4
test eax, eax
je 0x14001f565
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.14003dff0
nop
lea rcx, [rsp + 0x28]
call fcn.14002a7c0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14001f402
mov rdx, rdi
mov rcx, rdi
call fcn.14001dc80
nop
jmp 0x14001f535
call fcn.14028ff34
int3
Function at 0x1400210e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rdi, rdx
mov rax, qword [r8]
lea r14, [rax + 8]
mov rbp, qword [rax]
mov rbx, qword [r14]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140021136
cmp qword [rax], rbx
je 0x140021274
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140021124
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, reloc.OLEAUT32.dll_VariantTimeToSystemTime
call fcn.140035ee0
mov rsi, rax
mov qword [rsp + 0x68], rax
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.14003cac0]
mov qword [rsi + 0x28], rax
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov dword [rsi + 0x30], r15d
lea rbx, [rsi + 0x38]
mov qword [rsp + 0xa8], rbx
mov rax, qword [rdi]
mov qword [rbx], rax
lea rdx, [rdi + 8]
lea rcx, [rbx + 8]
call fcn.1400252c0
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rbx + 0x70], xmm0
mov r8, rsi
mov rdx, r14
mov rcx, rbp
call fcn.1400411c0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x140021257
mov rax, qword [r14]
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea r8, [0x1403d4c88]
lea rdx, [0x14001aea0]
lea rcx, [0x1403d4c80]
call fcn.1400ddbc4
test eax, eax
je 0x14002128d
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.14003cac0
nop
lea rcx, [rsp + 0x28]
call fcn.14002a7c0
nop
mov rdx, qword [rsp + 0x58]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140021136
mov rdx, rdi
mov rcx, rdi
call fcn.14001ce70
nop
jmp 0x140021257
call fcn.14028ff34
int3
Function at 0x1400222e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, rdx
mov rcx, qword [rcx]
test rcx, rcx
je 0x14002232a
mov rax, qword [rcx]
call qword [rax]
mov rsi, rax
jmp 0x14002232c
xor esi, esi
mov qword [rsp + 0x58], rsi
mov byte [rbp + 0x51], 1
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.140024ba0
movups xmm0, xmmword [rbx + 0xc8]
movaps xmmword [rbp + 0x120], xmm0
test rsi, rsi
je 0x140022472
movzx eax, byte [rbp + 0x51]
mov byte [rsp + 0x69], al
mov byte [rbp + 0x51], 0
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140024ba0
movaps xmm0, xmmword [rbp + 0x120]
movups xmmword [rbp + 0x38], xmm0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov ecx, dword [0x1403d4cf4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400223a8
mov rdx, qword [rax + 8]
jmp 0x1400223aa
xor edx, edx
mov r8d, 0xf0
movzx ecx, byte [rsp + 0x20]
call fcn.14001cd90
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
lea rax, [0x14003ef90]
mov qword [rdi], rax
lea rdx, [rdi + 8]
mov qword [rsp + 0x30], rdx
movzx ecx, byte [rsp + 0x69]
mov byte [rdx + 1], cl
mov byte [rsp + 0x69], 0
lea rbx, [rdx + 8]
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140024ba0
movups xmm0, xmmword [rbp + 0x38]
movups xmmword [rbx + 0xc8], xmm0
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x70]
call fcn.1400295a0
nop
mov rax, qword [rsi]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [rax + 0x30]
nop
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14002243d
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rbp + 0x58]
call fcn.1400295a0
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x38]
call fcn.140025f70
nop
lea rcx, [rsp + 0x38]
call fcn.1400226a0
int3

Function at 0x140025c30
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x1403d4d00], eax
inc eax
cmp eax, 1
jne 0x140025c7d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1403d4d04], eax
test dil, dil
je 0x140025c90
xor eax, eax
lock xadd dword [0x1403d4d04], eax
test eax, eax
jne 0x140025cb4
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov dword [rsp + 0x20], eax
call fcn.140046d00
lea rdx, str.winsock
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
call fcn.140043bf0
int3
Function at 0x140035ee0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x30
mov rbx, rcx
mov ecx, dword [0x1403d4cf4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140035f1e
mov rdx, qword [rax + 8]
mov r8, rbx
movzx ecx, byte [rsp + 0x20]
add rsp, 0x30
pop rbx
jmp fcn.14001cd10
movzx ecx, byte [rsp + 0x20]
xor edx, edx
mov r8, rbx
add rsp, 0x30
pop rbx
jmp fcn.14001cd10

Function at 0x140035f40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x1403d4cf4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140035f6d
mov r8, qword [rax + 8]
jmp 0x140035f70
xor r8d, r8d
cmp rdi, 0x3fc
ja 0x140035f94
test r8, r8
je 0x140035f94
cmp qword [r8], 0
jne 0x140035f94
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
mov qword [r8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.14016a3b0
Function at 0x140039920
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
lea r15, [0x1403d4c88]
mov rdi, r9
mov rbp, rdx
mov r14, rcx
mov esi, r12d
cmp rcx, 0xffffffffffffffff
je 0x140039aa5
test r8b, r8b
je 0x1400399e3
test byte [rdx], 8
je 0x1400399e3
mov r8, r15
mov dword [rsp + 0x70], r12d
lea rdx, [0x14001aea0]
lea rcx, [0x1403d4c80]
call fcn.1400ddbc4
test eax, eax
je 0x140039af3
or byte [rbp], 8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x80
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.140046d00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x1400399e3
mov r8, r15
lea rdx, [0x14001aea0]
lea rcx, [0x1403d4c80]
call fcn.1400ddbc4
test eax, eax
je 0x140039af3
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
call fcn.140046d00
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 [rdi], xmm0
test esi, esi
je 0x140039aa5
call fcn.140046d00
mov rcx, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x140039a38
cmp dword [rdi], 0x2733
je 0x140039a53
call fcn.140046d00
mov rcx, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x140039aa1
cmp dword [rdi], 0x4d5
jne 0x140039aa1
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], r12d
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rbp], 0xfc
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
call fcn.140046d00
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x140039ad1
mov r8, r15
mov dword [rsp + 0x30], r12d
lea rdx, [0x14001aea0]
lea rcx, [0x1403d4c80]
call fcn.1400ddbc4
test eax, eax
je 0x140039aed
mov qword [rsp + 0x38], r15
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rbx, qword [rsp + 0x78]
mov eax, esi
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14028ff34
int3
call fcn.14028ff34
int3