joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140062540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x68
mov rax, qword [0x14061da68]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x98], 0
mov r14, rcx
mov ebp, edx
jne 0x14006256c
xor al, al
jmp 0x14006274e
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], r15
call fcn.140063440
test al, al
je 0x140062732
mov rax, qword [r14 + 0x50]
mov r8, rbp
mov rdi, qword [rax - 0x70]
lea rbx, [rax - 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.140064480
test al, al
je 0x140062732
mov rdx, rbx
mov rcx, rdi
call fcn.140064900
test al, al
je 0x140062732
mov rbx, qword [r14 + 0x48]
cmp rbx, qword [r14 + 0x50]
je 0x14006271c
mov qword [rsp + 0x60], rsi
movabs rcx, 0x789e9b398d409406
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov qword [rsp + 0x48], r13
movabs r13, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x14006268f
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbp
cvtsi2sd xmm0, rbp
mov rdi, rcx
mov rcx, r12
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r13
add rcx, 4
xor rdi, rax
imul rdi, r13
cmp rcx, 0x10
jb 0x140062630
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rsi + 0x20]
jbe 0x140062684
mov rcx, rsi
call fcn.14006df70
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
mov qword [rsi + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r12
je 0x1400626c3
mov edi, r12d
cmp dword [rbx + 0x38], r12d
jbe 0x1400626c3
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.140062540
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x1400626a0
cmp qword [rbx + 0x40], r12
je 0x1400626f5
mov edi, r12d
cmp dword [rbx + 0x48], r12d
jbe 0x1400626f5
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.140062540
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x1400626d2
add rbx, 0x78
movabs rcx, 0x789e9b398d409406
cmp rbx, qword [r14 + 0x50]
jne 0x140062600
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rcx, r14
call fcn.140062ff0
test al, al
setne al
mov byte [r14 + 0x98], al
jmp 0x14006273c
mov byte [r14 + 0x98], 0
xor al, al
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402bf7f0
add rsp, 0x68
pop r14
pop rbp
ret
Function at 0x140062770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x68
mov rax, qword [0x14061da68]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x98], 0
mov r14, rcx
movsxd rbp, edx
jne 0x14006279d
xor al, al
jmp 0x14006297e
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], r15
call fcn.140063440
test al, al
je 0x140062962
mov rax, qword [r14 + 0x50]
mov r8, rbp
mov rdi, qword [rax - 0x70]
lea rbx, [rax - 0x78]
mov rdx, rbx
mov rcx, rdi
call fcn.140064680
test al, al
je 0x140062962
mov rdx, rbx
mov rcx, rdi
call fcn.140064900
test al, al
je 0x140062962
mov rbx, qword [r14 + 0x48]
cmp rbx, qword [r14 + 0x50]
je 0x14006294c
mov qword [rsp + 0x60], rsi
movabs rax, 0x789e9b398d409406
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov qword [rsp + 0x48], r13
movabs r13, 0x100000001b3
nop word [rax + rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x1400628bf
movd xmm0, ebp
mov rdi, rax
cvtdq2pd xmm0, xmm0
mov qword [rsp + 0x20], rbp
mov rcx, r12
movsd qword [rsp + 0x28], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x21]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x22]
imul rdi, r13
xor rdi, rax
movzx eax, byte [rsp + rcx + 0x23]
imul rdi, r13
add rcx, 4
xor rdi, rax
imul rdi, r13
cmp rcx, 0x10
jb 0x140062860
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
cmp rax, qword [rsi + 0x20]
jbe 0x1400628b4
mov rcx, rsi
call fcn.14006df70
mov rcx, qword [rsi + 0x18]
lea rax, [rcx + 8]
mov qword [rsi + 0x18], rax
mov qword [rcx], rdi
cmp qword [rbx + 0x30], r12
je 0x1400628f3
mov edi, r12d
cmp dword [rbx + 0x38], r12d
jbe 0x1400628f3
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.140062770
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x1400628d0
cmp qword [rbx + 0x40], r12
je 0x140062925
mov edi, r12d
cmp dword [rbx + 0x48], r12d
jbe 0x140062925
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
mov edx, ebp
cmove rcx, r12
call fcn.140062770
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140062902
add rbx, 0x78
movabs rax, 0x789e9b398d409406
cmp rbx, qword [r14 + 0x50]
jne 0x140062830
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rcx, r14
call fcn.140062ff0
test al, al
setne al
mov byte [r14 + 0x98], al
jmp 0x14006296c
mov byte [r14 + 0x98], 0
xor al, al
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402bf7f0
add rsp, 0x68
pop r14
pop rbp
ret
Function at 0x1400629a0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push r14
sub rsp, 0x38
cmp byte [rcx + 0x98], 0
mov r14, rcx
movzx esi, dl
jne 0x1400629c1
xor al, al
add rsp, 0x38
pop r14
pop rsi
ret
mov qword [rsp + 0x50], rbx
call fcn.140063440
test al, al
je 0x140062a06
mov rax, qword [r14 + 0x50]
mov rcx, qword [rax - 0x70]
lea rbx, [rax - 0x78]
test byte [rcx + 0x50], 2
jne 0x140062a1d
call fcn.140065410
mov ecx, 0x1000
test word [rax + 0xe], cx
jne 0x140062a02
mov rax, qword [rax + 8]
movabs rcx, 0xffffffffffff
and rax, rcx
mov qword [rbx + 0x18], rax
mov rbx, qword [rsp + 0x50]
xor al, al
mov byte [r14 + 0x98], 0
add rsp, 0x38
pop r14
pop rsi
ret
mov rdx, rbx
call fcn.140064900
test al, al
je 0x140062a06
mov rbx, qword [r14 + 0x48]
cmp rbx, qword [r14 + 0x50]
je 0x140062b3c
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x30], r12
movabs r12, 0x84222325cbf29ce4
mov qword [rsp + 0x28], r13
movabs r13, 0x100000001b3
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov qword [rsp + 0x58], rbp
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140062aa0
mov rcx, qword [rdi + 0x18]
lea rbp, [rsi + 1]
xor rbp, r12
imul rbp, r13
lea rax, [rcx + 8]
cmp rax, qword [rdi + 0x20]
jbe 0x140062a95
mov rcx, rdi
call fcn.14006df70
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 8]
mov qword [rdi + 0x18], rax
mov qword [rcx], rbp
cmp qword [rbx + 0x30], r15
je 0x140062ad5
mov edi, r15d
cmp dword [rbx + 0x38], r15d
jbe 0x140062ad5
nop
mov rax, qword [rbx + 0x30]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
movzx edx, sil
cmove rcx, r15
call fcn.1400629a0
inc edi
cmp edi, dword [rbx + 0x38]
jb 0x140062ab0
cmp qword [rbx + 0x40], r15
je 0x140062b15
mov edi, r15d
cmp dword [rbx + 0x48], r15d
jbe 0x140062b15
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x40]
mov ecx, edi
mov rdx, qword [rax + rcx*8]
test rdx, rdx
lea rcx, [rdx - 8]
movzx edx, sil
cmove rcx, r15
call fcn.1400629a0
inc edi
cmp edi, dword [rbx + 0x48]
jb 0x140062af0
add rbx, 0x78
cmp rbx, qword [r14 + 0x50]
jne 0x140062a67
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rcx, r14
call fcn.140062ff0
mov rbx, qword [rsp + 0x50]
test al, al
setne al
mov byte [r14 + 0x98], al
add rsp, 0x38
pop r14
pop rsi
ret
Function at 0x14006ba50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, rdx
mov qword [rsp + 0x20], rdx
mov rsi, rcx
lea rdx, [rsp + 0x28]
xor ebx, ebx
mov rcx, rax
movzx r15d, r9b
mov dword [rsp + 0x28], ebx
movzx r12d, r8b
call fcn.140068d80
mov r13d, dword [rsp + 0x28]
lea r14, [rsi + 0x18]
test al, al
lea rbp, [rsi + 0x48]
mov rax, qword [rsi + 0x28]
cmove r13d, ebx
mov qword [rsi + 0x30], rax
mov rax, qword [rsi]
xor edx, edx
mov dword [rsp + 0x28], r13d
mov ecx, dword [rax + 0x64]
add ecx, 0x1f
shr ecx, 5
shl ecx, 2
mov edi, ecx
mov r8d, ecx
mov rcx, qword [rsi + 0x78]
mov qword [rsp + 0x60], rdi
call fcn.1402c2620
mov rax, qword [rsi]
mov rdx, r14
mov rcx, rsi
mov r8d, dword [rax + 0x60]
call fcn.14006d380
mov rcx, qword [rsi + 0x28]
movzx r11d, al
cmp qword [rsi + 0x30], rcx
je 0x14006bc36
nop word [rax + rax]
mov ebx, r13d
test r13d, r13d
je 0x14006bc36
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.140068d80
mov r13d, dword [rsp + 0x28]
test al, al
mov rcx, qword [rsi + 0x78]
mov eax, 0
cmove r13d, eax
mov r8, rdi
xor edx, edx
mov dword [rsp + 0x28], r13d
call fcn.1402c2620
mov rax, qword [rbp + 0x10]
xor r11b, r11b
mov qword [rbp + 0x18], rax
mov rdi, qword [r14 + 0x10]
cmp rdi, qword [r14 + 0x18]
je 0x14006bc15
nop word [rax + rax]
mov r10, qword [rsi]
mov r9d, dword [rdi]
shl r9, 4
add r9, qword [r10 + 0x10]
mov eax, dword [r9 + 0xc]
cmp eax, ebx
je 0x14006bbcc
cmp eax, 0xffffffff
je 0x14006bbcc
cmp eax, 0xfffffffe
jne 0x14006bbf0
mov edx, dword [r9 + 8]
mov r10, qword [r10 + 0x40]
lea rcx, [rdx + rdx*2]
mov r8d, dword [r10 + rcx*4]
shr r8d, 0x1f
not r8b
and r8b, 1
cmp edx, 0xffffffff
je 0x14006bbc3
mov eax, edx
lea rcx, [rax + rax*2]
mov eax, dword [r10 + rcx*4]
btr eax, 0x1f
cmp ebx, eax
jb 0x14006bbb9
cmp ebx, dword [r10 + rcx*4 + 4]
jbe 0x14006bbc7
mov edx, dword [r10 + rcx*4 + 8]
cmp edx, 0xffffffff
jne 0x14006bba0
xor r8b, 1
test r8b, r8b
je 0x14006bbf0
mov r8d, dword [r9]
mov rdx, rbp
mov rcx, rsi
call fcn.14006d380
test al, al
jne 0x14006bbe3
test r11b, r11b
je 0x14006bbe6
mov r11b, 1
test r15b, r15b
jne 0x14006bbf0
test r11b, r11b
jne 0x14006bc32
test r12b, r12b
jne 0x14006bc07
mov rax, qword [rsi]
mov rdx, rbp
mov rcx, rsi
mov r8d, dword [rax + 0x60]
call fcn.14006d380
add rdi, 4
cmp rdi, qword [r14 + 0x18]
jne 0x14006bb60
mov rax, r14
mov r14, rbp
mov rbp, rax
mov rax, qword [r14 + 0x10]
cmp qword [r14 + 0x18], rax
je 0x14006bc36
mov rdi, qword [rsp + 0x60]
jmp 0x14006bb00
mov al, 1
jmp 0x14006bc3a
movzx eax, r11b
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140070410
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14061da68]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x24], esi
mov rbx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x10]
call qword [rax + 0x18]
mov rdx, rax
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x28]
call qword [rbx + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14002f100
mov dword [rsp + 0x24], 4
lea rcx, [rbp - 0x28]
mov rax, qword [rbp - 0x18]
call qword [rax]
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 8]
call fcn.14002f100
mov rbx, rax
mov dword [rsp + 0x24], 3
lea rcx, [rbp - 0x58]
mov rdx, qword [rbp - 0x48]
call qword [rdx]
nop
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400704c1
lea rcx, [0x140070d50]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rdi
lea rdx, [rbp - 0x80]
mov rcx, rbx
call rax
jmp 0x1400705f1
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x40], rax
mov rdx, qword [rdi + 0x20]
mov qword [rdi + 0x20], rsi
mov rcx, qword [rdi + 0x18]
mov qword [rdi + 0x18], rsi
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x10], rsi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x60], eax
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdi + 0x38]
movups xmmword [rsp + 0x70], xmm0
lea rax, [rsp + 0x38]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x70], rax
mov ecx, dword [0x1406782b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007053b
mov rdx, qword [rax + 8]
jmp 0x14007053e
mov rdx, rsi
mov r8d, 0x58
call fcn.140030d80
mov r9, rax
mov qword [rbp - 0x60], rsi
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x58], rsi
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rsi
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], r8
mov eax, dword [rsp + 0x60]
mov dword [r9 + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [r9 + 0x38], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r9 + 0x40], xmm0
lea rax, [0x140070db0]
mov qword [r9], rax
mov qword [rsp + 0x30], r9
mov qword [rbp - 0x68], rsi
lea rcx, [rbp - 0x70]
call fcn.140070cc0
nop
lea rcx, [rsp + 0x48]
call fcn.14005c4c0
nop
mov rax, qword [rbx + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400705f1
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rbp + 8]
mov rax, qword [rbp + 0x18]
call qword [rax]
nop
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1402bf7f0
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x140070cc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140070ce7
add rcx, 0x18
call fcn.14005c4c0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140070d3e
mov ecx, dword [0x1406782b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140070d2e
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140070d2e
cmp qword [rcx + 0x10], 0
jne 0x140070d2e
movzx eax, byte [rbx + 0x58]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1402bfe3c
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140080b20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14061da68]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rdi, rdx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
mov rbx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x10]
call qword [rax + 0x18]
mov rdx, rax
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x48]
call qword [rbx + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14002f100
mov dword [rsp + 0x24], 4
lea rcx, [rbp - 0x48]
mov rax, qword [rbp - 0x38]
call qword [rax]
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x18]
call fcn.14002f100
mov rsi, rax
mov dword [rsp + 0x24], 3
lea rcx, [rbp - 0x78]
mov rdx, qword [rbp - 0x68]
call qword [rdx]
nop
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140080bdc
lea rcx, [0x1400815d0]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdi
lea rdx, [rsp + 0x60]
mov rcx, rsi
call rax
jmp 0x140080cf3
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x40], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x48], xmm0
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov ecx, dword [0x1406782b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140080c31
mov rdx, qword [rax + 8]
jmp 0x140080c34
mov rdx, r14
mov r8d, 0x38
call fcn.140030d80
mov rdx, rax
mov qword [rbp - 0x80], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 0x18], xmm0
mov rax, qword [rsp + 0x58]
mov qword [rdx + 0x28], rax
lea rax, [0x1400815e0]
mov qword [rdx], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x78], r14
lea rcx, [rsp + 0x70]
call fcn.140081510
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140080cd1
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140080cd1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140080cd1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rax, qword [rsi + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140080cf3
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rbp - 0x18]
mov rax, qword [rbp - 8]
call qword [rax]
nop
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1402bf7f0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140081510
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x14008156d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x140081565
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140081560
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140081560
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400815c4
mov ecx, dword [0x1406782b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400815b4
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400815b4
cmp qword [rcx + 0x10], 0
jne 0x1400815b4
movzx eax, byte [rbx + 0x38]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1402bfe3c
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400816a0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov r8, rdx
mov rbx, rcx
mov rax, qword [rcx + 0x20]
mov r9, qword [rax + 0x18]
test r9, r9
je 0x1400816e4
lea rax, [0x140081950]
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rdx
lea rdx, [rbp + 0x27]
call r9
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
mov rax, qword [rdx]
mov qword [rbp - 0x49], rax
mov rdx, qword [rdx + 0x18]
xor edi, edi
mov qword [r8 + 0x18], rdi
mov rcx, qword [r8 + 0x10]
mov qword [r8 + 0x10], rdi
mov rax, qword [r8 + 8]
mov qword [r8 + 8], rdi
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rdx
mov rax, qword [r8 + 0x20]
mov qword [rbp - 0x29], rax
mov rax, qword [r8 + 0x28]
mov qword [rbp - 0x21], rax
mov rax, qword [r8 + 0x30]
mov qword [rbp - 0x19], rax
mov rax, qword [r8 + 0x38]
mov qword [rbp - 0x11], rax
mov eax, dword [r8 + 0x40]
mov dword [rbp - 9], eax
mov rax, qword [r8 + 0x48]
mov qword [rbp - 1], rax
mov rax, qword [r8 + 0x50]
mov qword [rbp + 7], rax
mov qword [r8 + 0x48], rdi
mov qword [r8 + 0x50], rdi
movups xmm0, xmmword [r8 + 0x58]
movups xmmword [rbp + 0xf], xmm0
mov rax, qword [r8 + 0x68]
mov qword [rbp + 0x1f], rax
lea rax, [rbp - 0x49]
mov qword [rbp + 0x7f], rax
lea rax, [rbp + 0x67]
mov qword [rbp + 0x27], rax
mov ecx, dword [0x1406782b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140081788
mov rdx, qword [rax + 8]
jmp 0x14008178b
mov rdx, rdi
mov r8d, 0x80
call fcn.140030d80
mov r9, rax
mov qword [rbp + 0x37], rdi
mov rcx, qword [rbp - 0x49]
mov qword [rax + 8], rcx
mov r8, qword [rbp - 0x31]
mov qword [rbp - 0x31], rdi
mov rdx, qword [rbp - 0x39]
mov qword [rbp - 0x39], rdi
mov rcx, qword [rbp - 0x41]
mov qword [rbp - 0x41], rdi
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], r8
mov rax, qword [rbp - 0x29]
mov qword [r9 + 0x28], rax
mov rax, qword [rbp - 0x21]
mov qword [r9 + 0x30], rax
mov rax, qword [rbp - 0x19]
mov qword [r9 + 0x38], rax
mov rax, qword [rbp - 0x11]
mov qword [r9 + 0x40], rax
mov eax, dword [rbp - 9]
mov dword [r9 + 0x48], eax
mov qword [r9 + 0x50], rdi
mov qword [r9 + 0x58], rdi
mov rax, qword [rbp - 1]
mov qword [r9 + 0x50], rax
mov rax, qword [rbp + 7]
mov qword [r9 + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [r9 + 0x60], xmm0
mov rax, qword [rbp + 0x1f]
mov qword [r9 + 0x70], rax
lea rax, [0x140081960]
mov qword [r9], rax
mov qword [rbp + 0x77], r9
mov qword [rbp + 0x2f], rdi
lea rcx, [rbp + 0x27]
call fcn.1400818c0
nop
lea rcx, [rbp - 0x49]
call fcn.140080580
nop
mov rax, qword [rbx + 0x20]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbp + 0x77]
test rax, rax
je 0x140081867
xor edx, edx
mov rcx, rax
call qword [rax]
nop
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
Function at 0x1400818c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400818e7
add rcx, 8
call fcn.140080580
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140081941
mov ecx, dword [0x1406782b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140081931
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140081931
cmp qword [rcx + 0x10], 0
jne 0x140081931
movzx eax, byte [rbx + 0x80]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1402bfe3c
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret