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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1b0
mov rdi, rdx
mov rbx, rcx
add rdx, 0x58
lea rcx, [rsp + 0x40]
call fcn.140154170
mov rdx, rbx
lea rcx, [rsp + 0xb8]
call fcn.140156c70
movups xmm0, xmmword [rbx + 0xd0]
movups xmmword [rsp + 0x188], xmm0
movsd xmm1, qword [rbx + 0xe0]
movsd qword [rsp + 0x198], xmm1
mov rsi, qword [rdi + 0x48]
mov rbx, qword [rdi + 0x50]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014e192
nop dword [rax]
cmp qword [rax], rbx
je 0x14014e25f
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14014e180
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x110]
mov ecx, 0x1a0
call fcn.14016eda0
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [0x1401776e0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.140157290
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
lea rdx, [rdi + 0x50]
mov rcx, rsi
call fcn.14017e120
nop
lea rcx, [rsp + 0xb8]
call fcn.14015d0b0
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14014e242
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14014e242
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14014e242
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x48]
call fcn.14015da70
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14014e192
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013eb10
nop
nop
jmp 0x14014e1fc
Function at 0x14014e290
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x40], rax
add rdx, 0x18
lea rcx, [rsp + 0x48]
call fcn.140157610
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
mov rax, qword [rbx + 0x78]
test rax, rax
je 0x14014e2d5
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0xa0], rax
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0xa8], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xc0], rax
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0xc8]
call fcn.1401576a0
movups xmm0, xmmword [rsi + 0x80]
movaps xmmword [rsp + 0x130], xmm0
movsd xmm1, qword [rsi + 0x90]
movsd qword [rsp + 0x140], xmm1
mov rsi, qword [rbx]
lea rdi, [rbx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014e362
cmp qword [rax], rbx
je 0x14014e3e8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14014e350
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xc0]
mov ecx, 0x148
call fcn.14016eda0
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [0x140177f60]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.1401573a0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14017e120
nop
lea rcx, [rsp + 0x40]
call fcn.14015d5e0
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14014e362
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013eca0
nop
nop
jmp 0x14014e3cb
Function at 0x14014e410
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x1d0
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x88]
mov qword [rsp + 0x40], rax
add rdx, 0x90
lea rcx, [rsp + 0x48]
call fcn.1401540d0
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.1401568b0
movups xmm0, xmmword [rbx + 0xf0]
movups xmmword [rsp + 0x198], xmm0
movsd xmm1, qword [rbx + 0x100]
movsd qword [rsp + 0x1a8], xmm1
mov rax, qword [rbx + 0x108]
mov qword [rsp + 0x1b0], rax
mov rbp, qword [rdi + 0x78]
lea rsi, [rdi + 0x80]
mov rbx, qword [rsi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014e4b4
cmp qword [rax], rbx
je 0x14014e4d8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14014e4a6
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x130]
cmp byte [rdi + 0x400], 0
jne 0x14014e4f6
mov byte [rdi + 0x400], 1
jmp 0x14014e503
cmp qword [rax + 8], 0
je 0x14014e4b4
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013ecd0
nop
nop
jmp 0x14014e592
mov ecx, 0x1b8
call fcn.140382738
mov rdi, rax
xor r14d, r14d
mov qword [rdi + 0x20], r14
lea rax, [0x1401780c0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.140155ec0
lea rdx, [rsp + 0xa8]
lea rcx, [rdi + 0xa0]
call fcn.1401568b0
movups xmm0, xmmword [rsp + 0x198]
movups xmmword [rdi + 0x190], xmm0
movsd xmm1, qword [rsp + 0x1a8]
movsd qword [rdi + 0x1a0], xmm1
mov rax, qword [rsp + 0x1b0]
mov qword [rdi + 0x1a8], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14017e120
nop
lea rcx, [rsp + 0x140]
call fcn.14015da70
lea rcx, [rsp + 0x50]
call fcn.14015da70
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14014e5d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rdi, rdx
mov rbx, rcx
add rdx, 0x50
lea rcx, [rsp + 0x40]
call fcn.140154340
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.140156af0
movups xmm0, xmmword [rbx + 0xb0]
movaps xmmword [rsp + 0x150], xmm0
movsd xmm1, qword [rbx + 0xc0]
movsd qword [rsp + 0x160], xmm1
mov rax, qword [rbx + 0xc8]
mov qword [rsp + 0x168], rax
mov rsi, qword [rdi + 0x40]
mov rbx, qword [rdi + 0x48]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014e662
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x14014e6f6
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14014e650
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xf0]
mov ecx, 0x170
call fcn.14016eda0
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [0x1401783c0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.140157420
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
lea rdx, [rdi + 0x48]
mov rcx, rsi
call fcn.14017e120
nop
lea rcx, [rsp + 0xf8]
call fcn.14015da70
lea rcx, [rsp + 0x48]
call fcn.14015da70
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14014e662
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013ed70
nop
nop
jmp 0x14014e6cc
Function at 0x14014e720
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x190
mov rdi, rdx
mov rbx, rcx
add rdx, 0x50
lea rcx, [rsp + 0x50]
call fcn.1401540d0
nop
mov rdx, rbx
lea rcx, [rsp + 0xb0]
call fcn.140157220
movups xmm0, xmmword [rbx + 0xb0]
movaps xmmword [rsp + 0x160], xmm0
movsd xmm1, qword [rbx + 0xc0]
movsd qword [rsp + 0x170], xmm1
mov rax, qword [rbx + 0xc8]
mov qword [rsp + 0x178], rax
mov rsi, qword [rdi + 0x40]
mov rbx, qword [rdi + 0x48]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014e7b2
nop dword [rax]
cmp qword [rax], rbx
je 0x14014e85a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14014e7a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x100]
mov ecx, 0x170
call fcn.14016eda0
mov rbx, rax
mov qword [rsp + 0x28], rax
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x40], rcx
mov qword [rax + 0x20], rbp
lea rax, [0x1401787d0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x50]
call fcn.1401574c0
nop
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
lea rdx, [rdi + 0x48]
mov rcx, rsi
call fcn.14017e120
nop
lea rcx, [rsp + 0xb0]
call fcn.14015d3e0
lea rcx, [rsp + 0x58]
call fcn.14015da70
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14014e7b2
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14013ee10
nop
nop
jmp 0x14014e830
Function at 0x14014e880
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rdi, rdx
mov rbx, rcx
add rdx, 0x10
lea rcx, [rsp + 0x40]
call fcn.140154270
mov rdx, rbx
lea rcx, [rsp + 0xb8]
call fcn.140155330
nop
mov rbp, qword [rdi]
lea rsi, [rdi + 8]
mov rbx, qword [rsi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014e8e7
cmp qword [rax], rbx
je 0x14014e9ce
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14014e8d5
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xc8]
mov ecx, 0x170
call fcn.14016eda0
mov rdi, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [0x140178910]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.1401541e0
lea rcx, [rdi + 0xb0]
lea rdx, [rsp + 0xb8]
call fcn.140155330
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14017e120
nop
lea rcx, [rsp + 0xb8]
call fcn.14015bee0
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14014e9ac
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14014e9ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14014e9ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x48]
call fcn.14015da70
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], 0
je 0x14014e8e7
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013ee60
nop
nop
jmp 0x14014e966
Function at 0x14014ea00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x190
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x60]
mov qword [rsp + 0x40], rax
add rdx, 0x68
lea rcx, [rsp + 0x48]
call fcn.140157610
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.140158720
movups xmm0, xmmword [rbx + 0xc0]
movaps xmmword [rsp + 0x160], xmm0
movsd xmm1, qword [rbx + 0xd0]
movsd qword [rsp + 0x170], xmm1
mov rax, qword [rbx + 0xd8]
mov qword [rsp + 0x178], rax
mov rsi, qword [rdi + 0x50]
mov rbx, qword [rdi + 0x58]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014ea96
cmp qword [rax], rbx
je 0x14014eb2a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14014ea84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x100]
mov ecx, 0x180
call fcn.14016eda0
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [0x140178a80]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.140157570
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
lea rdx, [rdi + 0x58]
mov rcx, rsi
call fcn.14017e120
nop
lea rcx, [rsp + 0xa0]
call fcn.14015dea0
lea rcx, [rsp + 0x48]
call fcn.14015da70
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14014ea96
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013ee90
nop
nop
jmp 0x14014eb00
Function at 0x14014eb50
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1b0
mov rdi, rdx
mov rbx, rcx
sub rdx, 0xffffffffffffff80
lea rcx, [rsp + 0x40]
call fcn.140154340
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.140155550
nop
mov rsi, qword [rdi + 0x70]
mov rbx, qword [rdi + 0x78]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14014ebb2
nop dword [rax]
cmp qword [rax], rbx
je 0x14014eca3
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14014eba0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x120]
mov ecx, 0x1a0
call fcn.14016eda0
mov rbx, rax
xor ebp, ebp
mov qword [rax + 0x20], rbp
lea rax, [0x140178f60]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x38], rax
movzx eax, byte [rsp + 0x48]
mov byte [rbx + 0x40], al
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x50]
call fcn.1401543d0
mov qword [rbx + 0x88], rbp
mov qword [rbx + 0x90], rbp
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x88], rax
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x90], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
lea rcx, [rbx + 0x98]
lea rdx, [rsp + 0xa0]
call fcn.140155550
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov r8, rbx
lea rdx, [rdi + 0x78]
mov rcx, rsi
call fcn.14017e120
nop
lea rcx, [rsp + 0x128]
call fcn.14015da70
lea rcx, [rsp + 0x48]
call fcn.14015da70
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14014ebb2
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013ef80
nop
nop
jmp 0x14014ec79
Function at 0x140157800
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x200
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x1404dc780], eax
inc eax
cmp eax, 1
jne 0x14015784d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1404dc784], eax
test bl, bl
je 0x1401578f1
xor ebx, ebx
lock xadd dword [0x1404dc784], ebx
test ebx, ebx
je 0x1401578f1
movabs rcx, 0x4d54ee85da812030
mov qword [rsp + 0x210], rsi
add rcx, qword [0x1404bb158]
lea rsi, [0x1404bb150]
mov dword [rsp + 0x3c], 0
cmp rcx, 1
jbe 0x1401578a6
mov rax, qword [0x1404bb150]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1401578a8
mov al, 1
lea rcx, str.C:_vcpkg_masterinstalledx64_windows_staticinclude_boost_asiodetailimplwinsock_init.ipp
movzx eax, al
add rax, 2
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], rsi
lea rcx, str.throw_on_error
mov rsi, qword [rsp + 0x210]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 0x48
mov dword [rsp + 0x34], 0x1a
test al, 1
jne 0x140157915
mov rax, rdi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140382da0
mov rbx, qword [rsp + 0x218]
add rsp, 0x200
pop rdi
ret
lea r8, [rsp + 0x20]
lea rdx, str.winsock
lea rcx, [rsp + 0x38]
call fcn.1401800f0
int3

Function at 0x14015fcf0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x200
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0xb8]
mov qword [rsp + 0x40], rax
add rdx, 0xc0
lea rcx, [rsp + 0x48]
call fcn.1401540d0
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.1401553d0
nop
mov rbp, qword [rdi + 0xa8]
lea rsi, [rdi + 0xb0]
mov rbx, qword [rsi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14015fd6e
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x14015fd92
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14015fd60
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x160]
cmp byte [rdi + 0x400], 0
jne 0x14015fdad
mov byte [rdi + 0x400], 1
jmp 0x14015fdba
cmp qword [rax + 8], 0
je 0x14015fd6e
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013eee0
nop
nop
jmp 0x14015fe1a
mov ecx, 0x1e8
call fcn.140382738
mov rdi, rax
xor r14d, r14d
mov qword [rdi + 0x20], r14
lea rax, [0x140178cc0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.140155ec0
lea rcx, [rdi + 0xa0]
lea rdx, [rsp + 0xa8]
call fcn.1401553d0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14017e120
nop
lea rcx, [rsp + 0x170]
call fcn.14015da70
lea rcx, [rsp + 0x50]
call fcn.14015da70
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14015fe50
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2e0
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x1a0]
mov qword [rsp + 0x40], rax
add rdx, 0x1a8
lea rcx, [rsp + 0x48]
call fcn.1401540d0
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.140156950
movups xmm0, xmmword [rbx + 0x208]
movaps xmmword [rsp + 0x2b0], xmm0
movsd xmm1, qword [rbx + 0x218]
movsd qword [rsp + 0x2c0], xmm1
mov rbp, qword [rdi + 0x190]
lea rsi, [rdi + 0x198]
mov rbx, qword [rsi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14015feee
nop word [rax + rax]
cmp qword [rax], rbx
je 0x14015ff12
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14015fee0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x248]
cmp byte [rdi + 0x400], 0
jne 0x14015ff30
mov byte [rdi + 0x400], 1
jmp 0x14015ff3d
cmp qword [rax + 8], 0
je 0x14015feee
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013ebb0
nop
nop
jmp 0x14015ffbd
mov ecx, 0x2c8
call fcn.140382738
mov rdi, rax
xor r14d, r14d
mov qword [rdi + 0x20], r14
lea rax, [0x1401779f0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.140155e50
lea rdx, [rsp + 0xa8]
lea rcx, [rdi + 0xa0]
call fcn.140156950
movaps xmm0, xmmword [rsp + 0x2b0]
movups xmmword [rdi + 0x2a8], xmm0
movsd xmm1, qword [rsp + 0x2c0]
movsd qword [rdi + 0x2b8], xmm1
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14017e120
nop
lea rcx, [rsp + 0x1e8]
call fcn.14015df10
lea rcx, [rsp + 0x50]
call fcn.14015da70
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14015fff0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x310
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x1d0]
mov qword [rsp + 0x40], rax
add rdx, 0x1d8
lea rcx, [rsp + 0x48]
call fcn.1401540d0
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.140155450
nop
mov rbp, qword [rdi + 0x1c0]
lea rsi, [rdi + 0x1c8]
mov rbx, qword [rsi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14016006e
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x140160092
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140160060
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x278]
cmp byte [rdi + 0x400], 0
jne 0x1401600ad
mov byte [rdi + 0x400], 1
jmp 0x1401600ba
cmp qword [rax + 8], 0
je 0x14016006e
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013ef30
nop
nop
jmp 0x14016011a
mov ecx, 0x300
call fcn.140382738
mov rdi, rax
xor r14d, r14d
mov qword [rdi + 0x20], r14
lea rax, [0x140178e10]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.140155e50
lea rcx, [rdi + 0xa0]
lea rdx, [rsp + 0xa8]
call fcn.140155450
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14017e120
nop
lea rcx, [rsp + 0x218]
call fcn.14015df10
lea rcx, [rsp + 0x50]
call fcn.14015da70
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140160150
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2e0
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x1a0]
mov qword [rsp + 0x40], rax
add rdx, 0x1a8
lea rcx, [rsp + 0x48]
call fcn.1401540d0
mov rdx, rbx
lea rcx, [rsp + 0xa8]
call fcn.140156950
movups xmm0, xmmword [rbx + 0x208]
movaps xmmword [rsp + 0x2b0], xmm0
movsd xmm1, qword [rbx + 0x218]
movsd qword [rsp + 0x2c0], xmm1
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x2c8], rax
mov rbp, qword [rdi + 0x190]
lea rsi, [rdi + 0x198]
mov rbx, qword [rsi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401601fe
nop dword [rax]
cmp qword [rax], rbx
je 0x140160222
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401601f0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x248]
cmp byte [rdi + 0x400], 0
jne 0x140160240
mov byte [rdi + 0x400], 1
jmp 0x14016024d
cmp qword [rax + 8], 0
je 0x1401601fe
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013ed20
nop
nop
jmp 0x1401602dc
mov ecx, 0x2d0
call fcn.140382738
mov rdi, rax
xor r14d, r14d
mov qword [rdi + 0x20], r14
lea rax, [0x140178240]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x38]
call fcn.140155e50
lea rdx, [rsp + 0xa8]
lea rcx, [rdi + 0xa0]
call fcn.140156950
movaps xmm0, xmmword [rsp + 0x2b0]
movups xmmword [rdi + 0x2a8], xmm0
movsd xmm1, qword [rsp + 0x2c0]
movsd qword [rdi + 0x2b8], xmm1
mov rax, qword [rsp + 0x2c8]
mov qword [rdi + 0x2c0], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14017e120
nop
lea rcx, [rsp + 0x1e8]
call fcn.14015df10
lea rcx, [rsp + 0x50]
call fcn.14015da70
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140160460
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdx, rcx
mov qword [rsp + 0x28], rbx
xor r8d, r8d
cmp byte [rcx + 3], r8b
je 0x140160493
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x68]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 2
jb 0x140160480
mov byte [rdx + 3], r8b
lea rcx, [rdx + 2]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], r8
cmp rdx, rcx
jne 0x1401604bf
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
mov r8d, 2
mov rcx, rbx
call fcn.14013c200
mov rax, rbx
add rsp, 0x30
pop rbx
ret