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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x141f715c0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0x20]

Function at 0x1400e67e8
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x141f715c0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [rax + 0xc8]

Function at 0x1400e6810
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r15d, ecx
mov ecx, dword [0x141f715c0]
mov ebx, r9d
mov edi, r8d
mov ebp, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add r15d, dword [rax + 0x100]
add ebp, dword [rax + 0x104]
mov rsi, rax
test edi, edi
jns 0x1400e685d
add r15d, edi
neg edi
test ebx, ebx
jns 0x1400e6865
add ebp, ebx
neg ebx
mov r14d, dword [rsp + 0x80]
lea eax, [r14 + r14]
cmp eax, edi
jle 0x1400e687f
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
mov r12d, dword [rsp + 0x88]
lea ecx, [r12 + r12]
cmp ecx, ebx
jle 0x1400e6899
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov edx, dword [rsp + 0x90]
cmp edx, dword [rsi + 0x120]
je 0x1400e68b7
mov rcx, rsi
mov dword [rsi + 0x120], edx
call qword [rsi + pe_nt_image_headers64]
mov dword [rsp + 0x90], r12d
mov r9d, edi
mov r8d, ebp
mov edx, r15d
mov rcx, rsi
mov dword [rsp + 0x88], r14d
mov dword [rsp + 0x80], ebx
mov rax, qword [rsi + 0x10]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
jmp rax

Function at 0x1400e6900
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov r15d, ecx
mov ecx, dword [0x141f715c0]
mov edi, r9d
mov rsi, r8
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
cmp edi, dword [rax + 0x120]
je 0x1400e694d
mov edx, edi
mov rcx, rax
mov dword [rax + 0x120], edi
call qword [rax + pe_nt_image_headers64]
mov edx, dword [rsp + 0x50]
cmp edx, dword [rbx + 0x124]
je 0x1400e6964
mov rcx, rbx
mov dword [rbx + 0x124], edx
call qword [rbx]
mov r8d, dword [rbx + 0x104]
mov edx, dword [rbx + 0x100]
mov r9, rsi
add r8d, r14d
add edx, r15d
mov rcx, rbx
mov rax, qword [rbx + 0x60]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
jmp rax
Function at 0x1400e80f4
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x141ef53a0]
mov edx, 8
mov r8d, 0x1c0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x141f715c0]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [0x141f715e0], rbx
and dword [rbx + 0x11c], 0
or eax, 0xffffffff
mov dword [rbx + 0x118], 0xffffff
mov dword [rbx + 0xe8], 1
mov dword [rbx + 0x120], eax
mov dword [rbx + 0x124], eax
lea rax, [0x1400e6d04]
mov qword [rbx], rax
lea rax, [0x1400e6d34]
mov dword [rbx + 0xec], 7
mov qword [rbx + 8], rax
lea rax, [0x1400e7e3c]
mov qword [rbx + 0x10], rax
lea rax, [0x1400e6ddc]
mov qword [rbx + 0x18], rax
lea rax, [0x1400e74a8]
mov qword [rbx + 0x20], rax
lea rax, [0x1400e7438]
mov qword [rbx + 0x28], rax
lea rax, [0x1400e7480]
mov qword [rbx + 0x30], rax
lea rax, [0x1400e7494]
mov qword [rbx + 0x38], rax
lea rax, [fcn.1400e751c]
mov qword [rbx + 0x40], rax
lea rax, [0x1400e7038]
mov qword [rbx + 0x48], rax
lea rax, [fcn.1400e7050]
mov qword [rbx + 0x50], rax
lea rax, [0x1400e6ed4]
mov qword [rbx + 0x58], rax
lea rax, [0x1400e73a0]
mov qword [rbx + 0x60], rax
lea rax, [0x1400e72b4]
mov qword [rbx + 0x68], rax
lea rax, [0x1400e75b8]
mov qword [rbx + 0x70], rax
lea rax, [0x1400e76f0]
mov qword [rbx + 0x78], rax
lea rax, [0x1400e77dc]
mov qword [rbx + 0x80], rax
lea rax, [0x1400e7894]
mov qword [rbx + 0x88], rax
lea rax, [0x1400e79ec]
mov qword [rbx + 0x90], rax
lea rax, [0x1400e7a6c]
mov qword [rbx + 0x98], rax
lea rax, [0x1400e7b60]
mov qword [rbx + 0xa0], rax
lea rax, [0x1400e7d4c]
mov qword [rbx + 0xa8], rax
lea rax, [0x1400e7ec4]
mov qword [rbx + 0xb0], rax
lea rax, [0x1400e7fac]
mov qword [rbx + 0xb8], rax
lea rax, [0x1400e8048]
mov qword [rbx + 0xc0], rax
lea rax, [0x1400e809c]
mov qword [rbx + 0xc8], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1400efa70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov esi, IsNetDrive
mov ecx, esi
call fcn.1400f3560
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.140165f40
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x1400efaa0
sub esi, edx
mov ecx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400f36a0

Function at 0x1400efe50
Capabilities:
Get thread local storage value

Disassembly:
mov r10, rcx
test rcx, rcx
je 0x1400efe81
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400efe60
mov ecx, 1
mov r9d, r8d
sub ecx, edx
add eax, ecx
mov rcx, r10
mov r8d, eax
jmp fcn.1400efe90
mov ecx, r8d
jmp fcn.1400f39c0

Function at 0x1400f06f0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
xor r15d, r15d
mov r13d, r9d
mov r12d, edx
mov ebp, r15d
cmp edx, 1
jl 0x1400f0854
mov qword [rsp + 0x50], rbx
test rcx, rcx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r14
lea r14, [0x140186f30]
mov rbx, r14
mov edi, r15d
cmovne rbx, rcx
test r8, r8
cmovne r14, r8
mov rsi, rbx
movzx ecx, word [r14]
test cx, cx
je 0x1400f0820
cmp word [r14 + 2], di
je 0x1400f0820
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], di
jne 0x1400f0760
movsxd r15, eax
nop dword [rax]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x1400f078d
cmp word [rbx], bp
je 0x1400f078d
add rbx, 2
jmp 0x1400f0770
inc edi
cmp edi, r12d
je 0x1400f07a2
cmp word [rbx], bp
je 0x1400f07ab
lea rbx, [rbx + r15*2]
mov rsi, rbx
jmp 0x1400f0770
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
xor r15d, r15d
mov rcx, rbx
call fcn.1400f3c10
mov r14, qword [rsp + 0x20]
mov edi, eax
test eax, eax
je 0x1400f07da
mov ecx, r13d
call fcn.1400f3d30
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
add r8, r8
call sub.msvcrt.dll_memmove
mov edx, r13d
mov ecx, ebp
call fcn.1400f3560
test edi, edi
mov rdi, qword [rsp + 0x60]
mov rbx, rax
jne 0x1400f07fe
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_wcsncpy
mov rsi, qword [rsp + 0x58]
movsxd rcx, ebp
mov word [rbx + rcx*2], r15w
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
movzx eax, word [rbx]
cmp ax, cx
je 0x1400f082d
test ax, ax
jne 0x1400f0840
inc edi
cmp edi, edx
je 0x1400f0846
test ax, ax
je 0x1400f07ae
lea rsi, [rbx + 2]
add rbx, 2
jmp 0x1400f0820
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
jmp 0x1400f07ae
mov ecx, r9d
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
jmp fcn.1400f39c0
Function at 0x1400f0e40
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r15
sub rsp, 0x28
mov ebp, r9d
mov edi, edx
mov rsi, rcx
test r8, r8
je 0x1400f0f2a
movzx r15d, word [r8]
test r15w, r15w
je 0x1400f0f2a
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
xor r13d, r13d
test edx, edx
mov qword [rsp + 0x20], r14
cmovs edi, r13d
test rcx, rcx
je 0x1400f0ead
cmp word [rcx], r13w
je 0x1400f0ead
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rcx + rbx*2], r13w
jne 0x1400f0e95
cmp ebx, edi
cmovg ebx, edi
sub edi, ebx
jns 0x1400f0eb0
mov edi, r13d
jmp 0x1400f0eb0
mov ebx, r13d
call fcn.1400f3c10
lea ecx, [rbx + rdi]
mov edx, ebp
mov r12d, eax
call fcn.1400f3560
mov r14, rax
test r12d, r12d
je 0x1400f0ed5
mov ecx, r12d
call fcn.1400f3c80
mov rsi, rax
mov r12, qword [rsp + 0x58]
test ebx, ebx
je 0x1400f0ef3
movsxd rcx, edi
movsxd r8, ebx
mov rdx, rsi
lea rcx, [r14 + rcx*2]
add r8, r8
call sub.msvcrt.dll_memmove
test edi, edi
je 0x1400f0f09
mov edx, edi
mov rdi, r14
movzx eax, r15w
mov ecx, edx
lea r14, [r14 + rdx*2]
rep stosw word [rdi], ax
movsxd rax, ebx
mov rbx, qword [rsp + 0x50]
mov word [r14 + rax*2], r13w
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x60]
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbp
ret
mov ecx, r9d
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbp
jmp fcn.1400f39c0

Function at 0x1400f0f90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
cmp edx, 0xd
jne 0x1400f0fdd
mov ebx, IsNetDrive
mov edx, r8d
mov ecx, ebx
call fcn.1400f3560
mov rdx, rdi
mov rcx, rax
call fcn.140165f70
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400f0fc0
sub ebx, edx
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400f36a0
cmp edx, 1
je 0x1400f0ffb
cmp edx, 0x18
je 0x1400f0ffb
cmp edx, 3
je 0x1400f0ff6
cmp edx, 0x19
je 0x1400f0ff6
cmp edx, 0xb
jne 0x1400f0ffe
movzx edi, cx
jmp 0x1400f0ffe
movzx edi, cl
mov ebx, 0x20
mov edx, r8d
mov ecx, ebx
call fcn.1400f3560
lea rdx, [0x1401a193c]
mov r8d, edi
mov rcx, rax
call fcn.140166960
sub ebx, eax
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400f36a0

Function at 0x1400f1f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x141f708a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x1400f2001
mov r8, qword [0x141f70898]
mov rcx, qword [0x141ef53a0]
lea edx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x141f708a0]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [0x141f70890]
jmp 0x1400f1fed
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400f1fea
mov rcx, qword [rbx + 0x10]
add rcx, rdi
call rdx
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400f1fd8
lea rcx, [0x1400f1ee4]
mov rdx, rdi
call fcn.14016611c
mov rbx, qword [rsp + 0x30]
lea rax, [rdi + rsi]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f2018
Capabilities:
Allocate thread local storage
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
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rbp, r8
mov rdi, rdx
and ecx, 7
je 0x1400f2042
mov eax, 8
sub eax, ecx
add ebx, eax
mov rcx, qword [0x141f70898]
test rcx, rcx
jne 0x1400f2085
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, qword [0x141ef53a0]
movsxd r8, ebx
mov edx, 8
mov dword [0x141f708a0], eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x141f708a0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x141f70898]
mov rsi, rcx
movsxd rax, ebx
add rcx, rax
mov qword [0x141f70898], rcx
mov ecx, dword [0x141f708a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9, qword [0x141f70898]
mov rcx, qword [0x141ef53a0]
mov r8, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [0x141f708a0]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test rdi, rdi
jne 0x1400f20d9
test rbp, rbp
je 0x1400f2100
lea rcx, [0x141f70890]
mov edx, 0x28
call fcn.1400f2ce4
mov qword [rax], rsi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rbp
test rdi, rdi
je 0x1400f2100
lea rcx, [rbx + rsi]
call rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f2d90
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r8d, r8d
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x141f718e0], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x141eef3f0], eax
call fcn.1400f4070
add rsp, 0x28
ret

Function at 0x1400f2f60
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1400f2fb0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x1400f3016
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r8, rax
xor edx, edx
mov rcx, qword [0x141f718e0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
jmp 0x1400f3041
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x141f718e0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 2
div rcx
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
add rcx, qword [rdx]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1400f3cb0
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400f3160
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rsp, 0x38
ret

Function at 0x1400f3190
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rsp, 0x38
ret

Function at 0x1400f31c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
add rax, 2
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400f31f0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x1400f3290
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x141eef3f0], 0xffffffff
jne 0x1400f32bf
call fcn.1400f2d90
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
lea rcx, [0x1400f3240]
call fcn.14016611c
jmp 0x1400f32f0
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400f32f0
call fcn.1400f4070
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
lea rcx, [0x1400f3240]
call fcn.14016611c
add rsp, 0x28
ret

Function at 0x1400f3300
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
add rsp, 0x38
ret

Function at 0x1400f3560
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x58], 0xffffffff
jne 0x1400f3590
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, 4
cmp rax, rcx
jl 0x1400f3602
mov eax, dword [rsp + 0x20]
add eax, 0x4000
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x141f718e0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
jmp 0x1400f3660
mov rax, qword [rsp + 0x28]
cmp qword [rax + 8], 0x100000
jle 0x1400f3660
cmp dword [rsp + 0x20], 0x100000
jge 0x1400f3623
mov dword [rsp + 0x20], 0x100000
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x141f718e0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x50]
lea rax, [rax + rcx*2]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400f36a0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x40]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret
Function at 0x1400f39c0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
xor edx, edx
mov word [rcx + rax], dx
add rsp, 0x38
ret

Function at 0x1400f3c10
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
cmp qword [rsp + 0x40], rax
jb 0x1400f3c6b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
cmp qword [rsp + 0x40], rax
ja 0x1400f3c6b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
inc rax
jmp 0x1400f3c6d
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400f3c80
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
lea rax, [rcx + rax - 1]
add rsp, 0x38
ret

Function at 0x1400f3d30
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx]
add rsp, 0x38
ret

Function at 0x1400f4070
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x38
mov r8d, SafeArrayPutElement
xor edx, edx
mov rcx, qword [0x141f718e0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
mov rcx, qword [0x141f718e0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x10], 0
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x141eef3f0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x1400f42b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rsi, rcx
xor r11d, r11d
lea rdi, [rcx + 0x33b8c]
nop dword [rax]
xor r9d, r9d
mov r10d, r11d
lea eax, [r9 + 1]
lea ebx, [rax + 3]
nop dword [rax]
mov ecx, eax
mov r8d, r10d
add eax, eax
movzx edx, word [rsi + rcx*2 + 0x34234]
and r8d, 1
shr r10d, 1
mov ecx, r8d
shr rdx, 4
or eax, r8d
neg ecx
sar rcx, 4
and ecx, 0x7f
xor rdx, rcx
add r9d, dword [rsi + rdx*4 + 0x324dc]
dec ebx
jne 0x1400f42e0
inc r11d
mov dword [rdi], r9d
add rdi, 4
cmp r11d, 0x10
jb 0x1400f42d0
mov rdi, qword [rsp + 0x18]
mov dword [rsi + 0x33bcc], ebx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
ret
Function at 0x1400f4340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov r12d, 4
mov r10, rcx
lea rbp, [rcx + 0x304e0]
mov edi, r12d
lea rsi, [rsp + 0x10]
nop word [rax + rax]
movzx edx, byte [rbp]
xor ebx, ebx
mov r11d, edi
mov r9d, edx
mov eax, edx
lea r8d, [rbx + 1]
and eax, 1
shr r9d, 1
dec r9d
or eax, 2
mov ecx, r9d
shl eax, cl
sub r11d, eax
test r9d, r9d
je 0x1400f43f1
mov r14d, edx
mov r15d, eax
mov eax, r8d
mov edx, r11d
add r8d, r8d
sub rax, r14
and edx, 1
shr r11d, 1
add rax, r15
or r8d, edx
movzx ecx, word [r10 + rax*2 + 0x3414e]
mov eax, edx
neg eax
shr rcx, 4
sar rax, 4
and eax, 0x7f
xor rcx, rax
add ebx, dword [r10 + rcx*4 + 0x324dc]
dec r9d
jne 0x1400f43b1
inc edi
mov dword [rsi], ebx
inc rbp
add rsi, r12
cmp edi, 0x80
jb 0x1400f4380
lea rsi, [rsp]
lea rbx, [r10 + 0x32f8c]
lea rdi, [r10 + 0x33f50]
sub rsi, r10
lea r14, [r10 + 0x33394]
sub rsi, 0x3338c
nop word [rax + rax]
xor r11d, r11d
cmp dword [r10 + 0x33bd0], r11d
jbe 0x1400f448e
nop dword [rax]
mov eax, r11d
xor r9d, r9d
or eax, 0x40
cmp eax, 1
je 0x1400f447e
nop
mov edx, eax
mov ecx, eax
shr eax, 1
and edx, 1
shr rcx, 1
movzx r8d, word [rdi + rcx*2]
neg edx
sar rdx, 4
shr r8, 4
and edx, 0x7f
xor r8, rdx
add r9d, dword [r10 + r8*4 + 0x324dc]
cmp eax, 1
jne 0x1400f4450
mov dword [rbx + r11*4], r9d
inc r11d
cmp r11d, dword [r10 + 0x33bd0]
jb 0x1400f4440
mov edx, recvfrom
cmp dword [r10 + 0x33bd0], edx
jbe 0x1400f44bd
nop dword [rax]
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
inc edx
shr eax, 1
sub eax, 5
shl eax, 4
add dword [rcx], eax
cmp edx, dword [r10 + 0x33bd0]
jb 0x1400f44a0
mov eax, dword [rbx]
lea r8, [r10 + 0x304e0]
lea rdx, [r14 + 8]
mov dword [r14 - 8], eax
mov eax, dword [rbx + 4]
mov r9d, 0x7c
mov dword [r14 - 4], eax
mov eax, dword [rbx + 8]
mov dword [r14], eax
mov eax, dword [rbx + 0xc]
mov dword [r14 + 4], eax
nop dword [rax + rax]
movzx eax, byte [r8]
lea rdx, [rdx + 4]
lea r8, [r8 + 1]
mov ecx, dword [rbx + rax*4]
add ecx, dword [rdx + rsi - 4]
mov dword [rdx - 4], ecx
dec r9
jne 0x1400f44f0
sub rdi, 0xffffffffffffff80
add rbx, 0x100
add r14, 0x200
sub rsi, 0x200
dec r12
jne 0x1400f4430
lea r11, [rsp + 0x200]
mov dword [r10 + 0x3d348], r12d
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret