joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dda80
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1400ddbc9
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x1400ddab7
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1400ddbb3
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x1400ddb96
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x1400ddb18
mov ecx, dword [rsp + 0x2c]
mov eax, 2
test rcx, rcx
je 0x1400ddb49
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov byte [rsi + 1], 1
jmp 0x1400ddb4d
call sub.kernel32.dll_GetLastError
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x40], rcx
cmp eax, 0x3e5
je 0x1400ddb51
cmp eax, 0x6d
jne 0x1400ddb7c
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
jmp 0x1400ddb56
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x1400ddb82
lea rax, [rsp + 0x30]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.1400af350
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x1400ddb8c
cmp rax, 1
je 0x1400ddb01
mov qword [rsi + 8], rcx
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov eax, 1
jmp 0x1400ddb0b
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1400b5470
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400ddac4
mov r8d, 0x10
mov rcx, rbx
call fcn.1400b5470
mov rax, qword [rbx]
jmp 0x1400ddab7
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400ddbe0
int3

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140101338]
test ecx, ecx
je 0x1400dde5c
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400ddde9
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1400dde4b
mov ecx, dword [0x140101338]
test ecx, ecx
je 0x1400dde6f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400dde51
mov rsi, rax
test rax, rax
jne 0x1400dde45
movzx eax, byte [0x14019e160]
mov edx, 0x10
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400dde92
mov rsi, rax
lea rax, [0x140101320]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x140101338]
test ecx, ecx
je 0x1400dde82
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x1400dde53
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140101320]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400dddd5
lea rcx, [0x140101320]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400dddf5
lea rcx, [0x140101320]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400dde3d
mov ecx, 8
mov edx, 0x10
call fcn.140011cc0
int3
Function at 0x1400e2ab0
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x140101398]
test ecx, ecx
je 0x1400e2ba6
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400e2ae0
cmp qword [rax + 8], 0
je 0x1400e2ae0
add rax, 0x10
jmp 0x1400e2ba0
mov ecx, dword [0x140101398]
test ecx, ecx
je 0x1400e2bb9
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400e2b80
mov rsi, rax
test rax, rax
jne 0x1400e2b50
movzx eax, byte [0x14019e160]
mov edx, 0x20
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400e2bdf
mov rsi, rax
lea rax, [0x140101380]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140101398]
test ecx, ecx
je 0x1400e2bcc
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400e2b84
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400e2b8c
xor eax, eax
jmp 0x1400e2ba0
call fcn.1400dbea0
mov rcx, rax
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
add rsp, 0x30
pop rsi
ret
lea rcx, [0x140101380]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e2ac5
lea rcx, [0x140101380]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e2af0
lea rcx, [0x140101380]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e2b48
mov ecx, 8
mov edx, 0x20
call fcn.140011cc0
int3
Function at 0x1400e61b2
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rsi, rcx
mov ecx, dword [0x1401013c0]
test ecx, ecx
je 0x1400e62ed
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400e61ed
mov rbx, rax
cmp qword [rax + 8], 0
je 0x1400e61ed
add rbx, 0x10
jmp 0x1400e62df
mov ecx, dword [0x1401013c0]
test ecx, ecx
je 0x1400e6300
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400e627d
mov rbx, rax
test rax, rax
jne 0x1400e6258
mov al, byte [0x14019e160]
mov edx, 0x60
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400e6326
mov rbx, rax
lea rax, [0x1401013a8]
mov qword [rbx], rax
mov qword [rbx + 8], 0
mov ecx, dword [0x1401013c0]
test ecx, ecx
je 0x1400e6313
dec ecx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
lea rax, [rbx + 8]
test rsi, rsi
je 0x1400e6281
lea rcx, [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
lea rsi, [0x140164ff8]
cmovne rsi, rcx
jmp 0x1400e6288
xor ebx, ebx
jmp 0x1400e62df
lea rsi, [0x140164ff8]
lea rdx, [rsp + 0x80]
mov ecx, 0xa
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea r8, [rsp + 0x28]
mov ecx, 0xb
mov rdi, r8
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rbx + 8], 1
add rbx, 0x10
mov ecx, 0xa
mov rdi, rbx
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
cmp qword [r8], 0
je 0x1400e62df
cmp dword [rsp + 0x38], 2
je 0x1400e62df
lea rcx, [rsp + 0x38]
call fcn.140002067
mov rax, rbx
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401013a8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e61cf
lea rcx, [0x1401013a8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e61fd
lea rcx, [0x1401013a8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e6250
mov ecx, 8
mov edx, 0x60
call fcn.140011cc0
int3
Function at 0x1400e649d
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400e64d3
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400e64db
mov esi, dword [rdx]
mov r9d, 4
jmp 0x1400e64e0
xor r10d, r10d
jmp 0x1400e658e
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400e6503
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400e651a
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400e653a
add r11, r8
jmp 0x1400e665e
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400e6602
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400e65b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400e6614
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x1400e661a
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400e6640
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400e665a
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400e67fd
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1401013e0]
test ecx, ecx
je 0x1400e68c7
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400e6831
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400e6831
add rdi, 8
jmp 0x1400e68bd
mov ecx, dword [0x1401013e0]
test ecx, ecx
je 0x1400e68da
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400e68bb
mov rsi, rax
test rax, rax
jne 0x1400e6898
mov al, byte [0x14019e160]
mov edx, 0x10
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400e68fd
mov rsi, rax
lea rax, [0x1401013c8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1401013e0]
test ecx, ecx
je 0x1400e68ed
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsi + 8]
call fcn.1400ee55d
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rax
test rcx, rcx
je 0x1400e68bd
lock dec qword [rcx]
jne 0x1400e68bd
call fcn.1400ecdf2
jmp 0x1400e68bd
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1401013c8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e6813
lea rcx, [0x1401013c8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e6841
lea rcx, [0x1401013c8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400e6890
mov ecx, 8
mov edx, 0x10
call fcn.140011cc0
int3

Function at 0x1400eb153
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400eb15a
test al, 1
je 0x1400eb179
test al, 2
jne 0x1400eb191
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140165df0]
mov edx, 0x23
call fcn.14001b470
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140165e08]
mov edx, 0x25
call fcn.14001b470
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x140101450]
test ecx, ecx
je 0x1400ec2c6
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400ec228
cmp qword [rax + 8], 0
je 0x1400ec228
add rax, 0x10
jmp 0x1400ec2bf
mov ecx, dword [0x140101450]
test ecx, ecx
je 0x1400ec2d9
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400ec2a9
mov rdi, rax
test rax, rax
jne 0x1400ec28f
mov al, byte [0x14019e160]
mov edx, 0x18
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400ec2fc
mov rdi, rax
lea rax, [0x140101438]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x140101450]
test ecx, ecx
je 0x1400ec2ec
dec ecx
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x1400ec2ad
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400ec2af
mov rcx, qword [rsi + 8]
jmp 0x1400ec2af
xor eax, eax
jmp 0x1400ec2bf
xor ecx, ecx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rcx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140101438]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ec20d
lea rcx, [0x140101438]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ec238
lea rcx, [0x140101438]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ec287
mov ecx, 8
mov edx, 0x18
call fcn.140011cc0
int3
Function at 0x1400ec30c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x140101490]
test ecx, ecx
je 0x1400ec3de
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400ec340
cmp qword [rax + 8], 0
je 0x1400ec340
add rax, 0x10
jmp 0x1400ec3d7
mov ecx, dword [0x140101490]
test ecx, ecx
je 0x1400ec3f1
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400ec3c1
mov rdi, rax
test rax, rax
jne 0x1400ec3a7
mov al, byte [0x14019e160]
mov edx, 0x18
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400ec414
mov rdi, rax
lea rax, [0x140101478]
mov qword [rdi], rax
mov qword [rdi + 8], 0
mov ecx, dword [0x140101490]
test ecx, ecx
je 0x1400ec404
dec ecx
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x1400ec3c5
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400ec3c7
mov rcx, qword [rsi + 8]
jmp 0x1400ec3c7
xor eax, eax
jmp 0x1400ec3d7
xor ecx, ecx
lea rax, [rdi + 0x10]
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rcx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140101478]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ec325
lea rcx, [0x140101478]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ec350
lea rcx, [0x140101478]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ec39f
mov ecx, 8
mov edx, 0x18
call fcn.140011cc0
int3
Function at 0x1400ee356
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rdi, rcx
mov ecx, dword [0x140101430]
test ecx, ecx
je 0x1400ee4a0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400ee388
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x1400ee48e
mov ecx, dword [0x140101430]
test ecx, ecx
je 0x1400ee4b3
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400ee494
mov rsi, rax
test rax, rax
jne 0x1400ee3f7
mov al, byte [0x14019e160]
mov edx, 0x40
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400ee4d9
mov rsi, rax
lea rax, [0x140101418]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140101430]
test ecx, ecx
je 0x1400ee4c6
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rcx, [rsi + 8]
mov eax, 3
test rdi, rdi
je 0x1400ee42e
cmp qword [rdi], 0
mov qword [rdi], 0
je 0x1400ee42e
mov rdx, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
movups xmm0, xmmword [rdi + 0x28]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rdi + 0x18]
movaps xmmword [rsp + 0x20], xmm0
jmp 0x1400ee430
xor edx, edx
mov r8, qword [rcx + 0x30]
mov qword [rsp + 0x70], r8
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], rax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmmword [rsi + 0x20], xmm0
cmp qword [rsp + 0x40], 0
je 0x1400ee48e
cmp dword [rsp + 0x50], 3
je 0x1400ee48e
lea rcx, [rsp + 0x50]
call fcn.1400ec424
add rsi, 0x10
jmp 0x1400ee496
xor esi, esi
mov rax, rsi
add rsp, 0x78
pop rdi
pop rsi
ret
lea rcx, [0x140101418]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee36f
lea rcx, [0x140101418]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee398
lea rcx, [0x140101418]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee3ef
mov ecx, 8
mov edx, 0x40
call fcn.140011cc0
int3
Function at 0x1400ee5ac
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140101410]
test ecx, ecx
je 0x1400ee676
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400ee5e0
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400ee5e0
add rdi, 8
jmp 0x1400ee66c
mov ecx, dword [0x140101410]
test ecx, ecx
je 0x1400ee689
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400ee66a
mov rsi, rax
test rax, rax
jne 0x1400ee647
mov al, byte [0x14019e160]
mov edx, 0x10
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400ee6ac
mov rsi, rax
lea rax, [0x1401013f8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140101410]
test ecx, ecx
je 0x1400ee69c
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsi + 8]
call fcn.1400ee55d
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], rax
test rcx, rcx
je 0x1400ee66c
lock dec qword [rcx]
jne 0x1400ee66c
call fcn.1400ecdf2
jmp 0x1400ee66c
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1401013f8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee5c2
lea rcx, [0x1401013f8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee5f0
lea rcx, [0x1401013f8]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee63f
mov ecx, 8
mov edx, 0x10
call fcn.140011cc0
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x140101470]
test ecx, ecx
je 0x1400ee92a
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400ee896
cmp byte [rax + 8], 0
je 0x1400ee896
add rax, 9
jmp 0x1400ee923
mov ecx, dword [0x140101470]
test ecx, ecx
je 0x1400ee93d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400ee912
mov rdi, rax
test rax, rax
jne 0x1400ee8f9
mov al, byte [0x14019e160]
mov edx, 0x10
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400ee960
mov rdi, rax
lea rax, [0x140101458]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x140101470]
test ecx, ecx
je 0x1400ee950
dec ecx
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x1400ee916
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
mov ecx, 2
cmovne ecx, eax
jmp 0x1400ee918
xor eax, eax
jmp 0x1400ee923
mov cl, 2
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140101458]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee87c
lea rcx, [0x140101458]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee8a6
lea rcx, [0x140101458]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400ee8f1
mov ecx, 8
mov edx, 0x10
call fcn.140011cc0
int3
Function at 0x1400f0751
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1401014b0]
test ecx, ecx
je 0x1400f0825
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400f0784
cmp byte [rax + 8], 0
je 0x1400f0784
add rax, 9
jmp 0x1400f081e
mov ecx, dword [0x1401014b0]
test ecx, ecx
je 0x1400f0838
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400f0804
mov rdi, rax
test rax, rax
jne 0x1400f07e7
mov al, byte [0x14019e160]
mov edx, 0x10
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x1400f085b
mov rdi, rax
lea rax, [0x140101498]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x1401014b0]
test ecx, ecx
je 0x1400f084b
dec ecx
mov rdx, rdi
call sub.kernel32.dll_TlsSetValue
test rsi, rsi
je 0x1400f0800
movzx eax, word [rsi]
movzx ecx, byte [rsi + 2]
shl ecx, 0x10
or ecx, eax
mov byte [rsi], 0
test cl, 1
jne 0x1400f0808
xor ecx, ecx
jmp 0x1400f0810
xor eax, eax
jmp 0x1400f081e
mov edx, ecx
shr edx, 0x10
shr ecx, 8
mov byte [rdi + 8], 1
lea rax, [rdi + 9]
mov byte [rdi + 9], cl
mov byte [rdi + 0xa], dl
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140101498]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400f076a
lea rcx, [0x140101498]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400f0794
lea rcx, [0x140101498]
call fcn.1400afb50
mov ecx, eax
jmp 0x1400f07df
mov ecx, 8
mov edx, 0x10
call fcn.140011cc0
int3

Function at 0x1400f1bc1
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400f1bc8
test al, 1
je 0x1400f1be7
test al, 2
jne 0x1400f1bff
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140167ce8]
mov edx, 0x23
call fcn.14001b470
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140167d28]
mov edx, 0x25
call fcn.14001b470
int3

Function at 0x1400f3205
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x1400f3250
mov rcx, qword [rdx]
movzx eax, r8b
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400f323e
xor eax, eax
jmp 0x1400f324b
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_io_poll_evented.rs
call fcn.14001e660
int3

Function at 0x1400f325d
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400f3277
mov rcx, qword [rdx]
mov edx, 0x1002
add rsp, 0x28
jmp fcn.140050a46
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_io_poll_evented.rs
call fcn.14001e660
int3
Function at 0x1400f3284
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea r14, [rsp + 0x38]
mov rcx, r14
call fcn.1400f3005
mov rax, qword [r14]
test rax, rax
je 0x1400f32c6
cmp eax, 2
jne 0x1400f3312
mov qword [rsi], 2
jmp 0x1400f343b
cmp qword [rbx], 0
je 0x1400f349e
mov r13, qword [rsp + 0xb0]
test r13, r13
je 0x1400f3327
mov rax, r13
shr rax, 0x20
jne 0x1400f34aa
mov rcx, qword [rbx + 0x28]
call fcn.14004fb1a
mov r14, rax
mov ebp, edx
and bpl, 1
mov rax, qword [rax + 0x30]
cmp rax, 2
jae 0x1400f3334
movabs r15, 0xd00000003
jmp 0x1400f338a
mov rax, qword [rsp + 0x40]
mov qword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x1400f343b
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
jmp 0x1400f3433
lea r12, [rbx + 0x28]
cmp eax, 2
jne 0x1400f336f
mov rax, qword [r12]
mov edx, r13d
mov rcx, qword [rax]
mov r8d, 0x7fffffff
cmp rdx, r8
cmovb r8, rdx
mov rdx, r15
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x1400f340d
cdqe
jmp 0x1400f341b
mov rdx, r14
add rdx, 0x10
mov r15, qword [r14 + 0x38]
mov qword [r14 + 0x30], 0
mov rcx, r12
call fcn.14004fbeb
mov rcx, r14
mov edx, ebp
call fcn.1400e8393
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 1
mov rcx, r15
call fcn.14002f673
cmp al, 0xd
jne 0x1400f3433
lea r14, [rsp + 0x28]
lock and qword [rbx + 0x48], 0xfffffffffffffffe
lea r15, [rsp + 0x38]
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.1400f3005
mov rax, qword [r15]
test rax, rax
je 0x1400f33ef
cmp eax, 1
jne 0x1400f33fc
mov rax, qword [rsp + 0x40]
mov qword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x1400f3403
mov rax, qword [rdi]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
call qword [rdx + 0x10]
mov qword [rsi], 2
mov rcx, r14
call fcn.14004f37a
jmp 0x1400f343b
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x1400f344c
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, r14
mov edx, ebp
call fcn.1400e8393
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15d, eax
shl r15, 0x20
or r15, 2
lea r13, [r14 + 0x10]
cmp dword [r14 + 0x30], 3
jne 0x1400f346e
mov rcx, r14
add rcx, 0x38
call fcn.14004f37a
mov qword [r14 + 0x30], 0
mov rcx, r12
mov rdx, r13
call fcn.14004fbeb
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 1
mov rcx, r14
mov edx, ebp
call fcn.1400e8393
jmp 0x1400f33a2
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_io_poll_evented.rs
call fcn.14001e660
lea rcx, [0x140157911]
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_iovec_0.1.4_src_sys_windows.rsassertion_failed:_src.len_____MAX_LENGTH
mov edx, 0x29
call fcn.14001b470
int3