joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b437
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rdi, rdx
mov r15, rcx
mov r9, qword [rdx]
mov rsi, qword [rdx + 8]
mov rbx, qword [rdx + 0x10]
cmp r9, rsi
je 0x14004b4c1
lea r14, [r9 + 0x10]
mov qword [rdi], r14
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov r8, qword [r9]
mov r9, qword [r9 + 8]
call fcn.140041602
mov r9, r14
test rax, rax
je 0x14004b45b
cmp qword [rax + 0x228], 0
jne 0x14004b4e2
cmp dword [rax + 0x248], 0x110000
jne 0x14004b4e2
mov rdi, qword [rax + 0x168]
cmp rdi, 1
je 0x14004b500
test rdi, rdi
jne 0x14004b529
mov rdx, qword [rax + 0x218]
mov r8, qword [rax + 0x220]
jmp 0x14004b50e
movabs rax, 0x8000000000000000
mov qword [r15], rax
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
mov rdx, rax
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140041663
mov rax, qword [rax + 0x160]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rcx, r15
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14001b2c2
mov qword [rsp + 0x38], r15
mov r12, qword [rax + 0x160]
mov edx, 8
mov r8d, 0x18
mov rcx, rdi
call fcn.14008b679
lea r14, [rsp + 0xa0]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
mov rcx, r14
mov rdx, rdi
call fcn.14004b63e
mov rax, qword [r14 + 0x10]
imul r13, rax, 0x18
add r13, qword [r14 + 8]
add rax, rdi
mov qword [rsp + 0x30], rax
lea rbx, [0x14004254f]
lea rsi, [0x1401afeb8]
lea rbp, [rsp + 0x48]
lea r14, [rsp + 0x58]
lea r15, [rsp + 0x70]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 2
and qword [rsp + 0x90], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], 1
mov rcx, r14
mov rdx, r15
call fcn.140041506
mov rax, qword [rsp + 0x68]
mov qword [r13 + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r13], xmm0
add r13, 0x18
add r12, 0x10
dec rdi
jne 0x14004b598
lea rdi, [rsp + 0xa0]
mov r8, qword [rsp + 0x30]
mov qword [rdi + 0x10], r8
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x20], 1
lea r9, [0x14027887c]
mov rcx, qword [rsp + 0x38]
call fcn.14004b26c
mov rcx, rdi
call fcn.140044273
jmp 0x14004b4ce

Function at 0x140079998
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
Function at 0x14007b100
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, dword [0x1401a2020]
test esi, esi
je 0x14007b16d
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
cmp rax, 1
ja 0x14007b162
je 0x14007b160
mov ecx, 0x20
call fcn.14019dc84
mov rdi, rax
and qword [rax], 0
mov byte [rax + 0x10], 3
mov dword [rax + 0x18], esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
mov ecx, esi
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rbx, rbx
je 0x14007b162
mov rcx, rbx
call fcn.1400776fd
jmp 0x14007b162
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401a2008]
call fcn.140153820
mov esi, eax
jmp 0x14007b113

Function at 0x14007e0a4
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.14007e0ef
test rbx, rbx
je 0x14007e0dd
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14007e11a
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14007e112

Function at 0x14007e11a
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14007e140
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14007e12a
mov qword [rcx], rax
ret

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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rcx
mov esi, dword [0x1401a2198]
test esi, esi
je 0x14008bad2
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
cmp rax, 1
ja 0x14008bac5
je 0x14008bac3
test rdi, rdi
je 0x14008ba74
mov al, byte [rdi]
and qword [rdi], 0
test al, 1
je 0x14008ba74
mov r14, qword [rdi + 8]
mov rdi, qword [rdi + 0x10]
jmp 0x14008ba7f
call fcn.1401890c0
mov r14, rax
mov rdi, rdx
mov ecx, 0x18
mov edx, 8
call fcn.14018cb34
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov dword [rax + 0x10], esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14008bac5
mov edx, 8
mov rcx, rdi
call fcn.14003fe40
jmp 0x14008bac5
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401a2180]
call fcn.140153820
mov esi, eax
jmp 0x14008ba49
Function at 0x1400a6fdb
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.1400a900a
test rax, rax
je 0x1400a7013
mov edx, 4
mov rcx, rax
call fcn.14003fe40
jmp 0x1400a704c
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400a6568
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.1400a65aa
Function at 0x1400a7075
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xf8
mov rbx, rcx
mov esi, dword [0x1401a2070]
test esi, esi
je 0x1400a7207
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
cmp rax, 1
ja 0x1400a71f7
je 0x1400a71f4
test rbx, rbx
je 0x1400a70c3
mov rdi, qword [rbx]
and qword [rbx], 0
test rdi, rdi
jne 0x1400a71b9
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400a900a
test rax, rax
jne 0x1400a721a
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdi, [rsp + 0x80]
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, rdi
call fcn.1400a6568
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm2
mov ecx, 0x170
mov edx, 0x10
call fcn.1400a6539
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x10]
mov r8d, 0x100
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rdi + 0x110], 0x40
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmm2, xmmword [rsp + 0x68]
movups xmmword [rdi + 0x118], xmm0
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x138], xmm2
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x148], rax
mov eax, 0x10000
mov qword [rdi + 0x150], rax
mov qword [rdi + 0x158], rax
and qword [rdi + 0x160], 0
mov ecx, 0x10
mov edx, 8
call fcn.1400a6539
mov r14, rax
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, r14
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x1400a71f7
mov rcx, rdi
call fcn.1400a6501
jmp 0x1400a71f7
xor r14d, r14d
mov rax, r14
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401a2058]
call fcn.140153820
mov esi, eax
jmp 0x1400a7094
mov qword [rsp + 0x20], rax
lea rax, [0x14020ed60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rax], rdi
lea rdx, [0x14020eca8]
lea rcx, [rsp + 0xb0]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [0x1400a8f8f]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.8.5_src_rngs_thread.rscould_not_initialize_thread_rng:
call fcn.140068590
int3
Function at 0x1400a900a
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov r12d, 0x20
xor esi, esi
mov r13d, 0xffffffff
test r12, r12
je 0x1400a9092
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x1400a902a
mov ebx, eax
mov rcx, r14
mov edx, r15d
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x1400a902a
mov al, byte [0x1402a6198]
mov edx, 4
xor ecx, ecx
call fcn.140188040
test rax, rax
je 0x1400a90a5
mov rsi, rax
and ebx, 0x7fffffff
mov dword [rax], ebx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.14003a45d
int3
Function at 0x1400b869f
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14, r9
mov rsi, r8
mov r11, rdx
movabs rdi, 0x100000001b3
mov r15, qword [r9 + 8]
mov r8, qword [r9 + 0x10]
lea rdx, [r8*8]
movabs rax, 0xcbf29ce484222325
mov r9, r15
test rdx, rdx
je 0x1400b8713
movzx r10d, byte [r9 + 4]
xor rax, r10
imul rax, rdi
movzx r10d, byte [r9 + 5]
xor r10, rax
mov eax, dword [r9]
add r9, 8
imul r10, rdi
xor rax, r10
imul rax, rdi
add rdx, 0xfffffffffffffff8
jmp 0x1400b86e2
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400b8871
xor edx, edx
div r9
mov rax, qword [rsi + 8]
mov r12, rdx
shl r12, 5
movzx r9d, word [rax + r12 + 0x1c]
cmp r9w, word [rsi + 0x20]
jne 0x1400b877e
add rax, r12
cmp qword [rax + 0x10], r8
jne 0x1400b877e
mov rbx, qword [rax + 8]
xor edi, edi
cmp r8, rdi
je 0x1400b885c
mov r9b, byte [rbx + rdi*8 + 4]
cmp r9b, byte [r15 + rdi*8 + 4]
jne 0x1400b877e
mov r9b, byte [rbx + rdi*8 + 5]
cmp r9b, byte [r15 + rdi*8 + 5]
jne 0x1400b877e
mov r9d, dword [rbx + rdi*8]
lea r10, [rdi + 1]
cmp r9d, dword [r15 + rdi*8]
mov rdi, r10
je 0x1400b874c
mov rdi, rdx
mov qword [rsp + 0x28], r14
mov rbx, rcx
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, r15
mov r14, r11
call fcn.1400b888d
lea rbp, [rsp + 0x48]
mov rcx, rbp
mov rdx, r14
movabs r14, 0x8000000000000008
mov r8, r13
call fcn.1400b781f
mov rax, qword [rbp]
mov ebp, dword [rbp + 8]
cmp rax, r14
jne 0x1400b8823
mov rdx, qword [rsi + 0x10]
cmp rdx, rdi
jbe 0x1400b887d
movzx edi, word [rsi + 0x20]
mov rsi, qword [rsi + 8]
mov rcx, qword [rsi + r12]
mov rdx, qword [rsi + r12 + 8]
call fcn.1400b833d
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + 0x10]
mov qword [rsi + r12 + 0x10], rax
movups xmm0, xmmword [rcx]
movups xmmword [rsi + r12], xmm0
mov dword [rsi + r12 + 0x18], ebp
mov word [rsi + r12 + 0x1c], di
mov dword [rbx + 8], ebp
mov qword [rbx], r14
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x54]
lea rdi, [rbx + 0xc]
mov ecx, 0x1d
rep movsd dword [rdi], dword [rsi]
mov qword [rbx], rax
mov dword [rbx + 8], ebp
mov r14, qword [rsp + 0x28]
mov rcx, qword [r14]
mov rdx, r15
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400b833d
mov eax, dword [rax + 0x18]
mov dword [rcx + 8], eax
movabs rax, 0x8000000000000008
mov qword [rcx], rax
jmp 0x1400b883e
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_automata_0.4.9_src_nfa_thompson_map.rs
call fcn.14006ff00
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_regex_automata_0.4.9_src_nfa_thompson_map.rs
mov rcx, rdi
call fcn.1400683ff
int3
Function at 0x1400bc849
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rcx
mov esi, dword [0x1401a2198]
test esi, esi
je 0x1400bc8ee
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
cmp rax, 1
ja 0x1400bc8e1
je 0x1400bc8df
test rdi, rdi
je 0x1400bc890
mov al, byte [rdi]
and qword [rdi], 0
test al, 1
je 0x1400bc890
mov r14, qword [rdi + 8]
mov rdi, qword [rdi + 0x10]
jmp 0x1400bc89b
call fcn.1401890c0
mov r14, rax
mov rdi, rdx
mov ecx, 0x18
mov edx, 8
call fcn.1400ad4a4
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov dword [rax + 0x10], esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x1400bc8e1
mov edx, 8
mov rcx, rdi
call fcn.14003fe40
jmp 0x1400bc8e1
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401a2180]
call fcn.140153820
mov esi, eax
jmp 0x1400bc865
Function at 0x14012fc48
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne fcn.14012fc5a
add rcx, 8
jmp fcn.14019291c

Function at 0x140130fd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne fcn.140130fe2
add rcx, 8
jmp fcn.1401926cd
Function at 0x1401320bb
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rdi, rcx
mov esi, dword [0x1401a20e0]
test esi, esi
je 0x140132238
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
cmp rax, 1
ja 0x140132219
je 0x140132217
mov dword [rsp + 0x24], esi
test rdi, rdi
je 0x140132160
mov al, byte [rdi]
and qword [rdi], 0
test al, 1
je 0x140132160
mov r12, qword [rdi + 8]
mov ecx, 0x10
mov edx, 8
call fcn.140101491
mov rbx, rax
mov qword [rax], r12
mov esi, dword [rsp + 0x24]
mov dword [rax + 8], esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x140132219
mov rcx, rdi
call fcn.14007bc57
jmp 0x140132219
lea rcx, [0x14013224b]
call fcn.14018dc7f
movabs rcx, 0x736f6d6570736575
xor rcx, rax
mov qword [rsp + 0x28], rcx
movabs rbp, 0x646f72616e646f6d
xor rbp, rdx
movabs rsi, 0x6c7967656e657261
mov qword [rsp + 0x30], rax
xor rsi, rax
movabs rdi, 0x7465646279746573
mov r13, rdx
xor rdi, rdx
mov r14d, 1
lea rbx, [rsp + 0x68]
xor r12d, r12d
xorps xmm6, xmm6
lea r15, [rsp + 0x38]
test r12, r12
jne 0x14013211a
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r13
movups xmmword [rbx], xmm6
and qword [rbx + 0x10], 0
mov rcx, r15
mov rdx, r14
call fcn.140106b4f
mov rcx, r15
call fcn.14007dfc9
mov r12, rax
inc r14
jmp 0x1401321c3
xor ebx, ebx
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1401a20c8]
call fcn.140153820
mov esi, eax
jmp 0x1401320e9
Function at 0x140132dee
Capabilities:
Encrypt data via sspi
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx], 2
jne 0x140132f95
lea r12, [rbx + 8]
lea rbp, [rsp + 0x52]
lea r13, [rsp + 0x62]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x78], rax
mov r14, qword [rbx + 0x20]
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
mov qword [rsp + 0x70], rax
xorps xmm6, xmm6
mov qword [rsp + 0x68], r14
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x78]
mov r8, rdi
mov r9b, 1
call fcn.1401924b3
mov al, byte [rsp + 0x51]
cmp al, 3
je 0x140132fbe
mov r15, qword [rsp + 0x48]
cmp al, 2
je 0x140132fc6
mov cl, byte [rsp + 0x50]
movzx edx, word [rbp + 4]
mov word [r13 + 4], dx
mov edx, dword [rbp]
mov dword [r13], edx
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], al
cmp r14, 0xffffffffffffffff
je 0x140132ff8
and dword [rsp + 0x44], 0
movups xmmword [rsp + 0x28], xmm6
and dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rsi
mov r8, qword [rsp + 0x70]
lea r9, [rsp + 0x44]
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
jne 0x140132fce
mov r15d, eax
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
xor r14d, r14d
cmp r15d, 0xffffffff
sete r14b
mov r15d, dword [rsp + 0x44]
cmove r15, rax
mov rcx, r15
call fcn.140080631
cmp al, 0xd
jne 0x140132f5e
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x140132f5e
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140133004
mov r13, rbx
mov rbx, rdi
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.1400a4932
mov rdi, rax
xor ecx, ecx
call fcn.140153099
test rdi, rdi
je 0x140132f53
mov rcx, r14
mov rdx, r15
call fcn.1400a4af2
mov r15, rdi
mov rdi, rbx
mov rbx, r13
lea r13, [rsp + 0x62]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov rcx, r15
call fcn.140080631
cmp al, 0xd
jne 0x140132fd6
mov rcx, r12
lea rdx, [rsp + 0x58]
call fcn.140192450
lea rcx, [rsp + 0x50]
call fcn.14018cc40
mov r14, qword [rsp + 0x68]
jmp 0x140132e4f
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140132884
mov r14d, 2
jmp 0x140132fd6
mov r14d, 1
jmp 0x140132fd6
mov r15d, dword [rsp + 0x44]
xor r14d, r14d
mov rax, r14
mov rdx, r15
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.41.1_src_io_poll_evented.rs
call fcn.14006c350
ud2
Function at 0x140142cd3
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.140142dfc
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea r15, [rsp + 0x3c]
and dword [r15], 0
lea r12, [rsp + 0x40]
mov edx, 0x800
mov rcx, r12
call fcn.14012b088
mov rdi, qword [rdi + 8]
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140142d62
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.14019ef9f
jmp 0x140142d2d
test eax, eax
jne 0x140142d84
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x140142dac
movabs rax, 0xde00000002
jmp 0x140142d8c
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call fcn.14019f2fd
jmp 0x140142dc0
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call fcn.14019ef5b
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14014d0ae
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call sub.Secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x14014d0d7
mov rdx, qword [rsp + 0x20]
jmp 0x14014d0df
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140152555
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
mov r10d, r8d
rol r10d, 0x19
mov eax, dword [rdx]
mov esi, eax
rol esi, 0x19
mov r11d, dword [rdx + 4]
mov ebp, r11d
rol ebp, 0x19
mov edi, dword [rdx + 8]
mov r14d, edi
rol r14d, 0x19
mov ebx, r8d
rol ebx, 0xe
xor ebx, r10d
mov r15d, eax
rol r15d, 0xe
xor r15d, esi
mov r12d, r11d
rol r12d, 0xe
xor r12d, ebp
mov ebp, edi
rol ebp, 0xe
mov r10, qword [rsp + 0x60]
xor ebp, r14d
shr r8d, 3
mov esi, eax
shr esi, 3
xor esi, r15d
add esi, r11d
shr r11d, 3
xor r11d, r12d
add r11d, edi
shr edi, 3
xor edi, ebp
add edi, dword [rdx + 0xc]
add esi, dword [r9]
add r11d, dword [r9 + 4]
add edi, dword [r9 + 8]
mov edx, dword [r10 + 4]
mov ebp, edx
rol ebp, 0xf
xor r8d, ebx
mov ebx, edx
rol ebx, 0xd
mov r9d, dword [r10]
xor ebx, ebp
shr edx, 0xa
xor edx, ebx
add edx, edi
mov edi, r9d
rol edi, 0xf
mov ebx, r9d
rol ebx, 0xd
xor ebx, edi
shr r9d, 0xa
mov edi, edx
rol edi, 0xf
xor r9d, ebx
mov ebx, edx
rol ebx, 0xd
add r9d, r11d
xor ebx, edi
mov r11d, edx
shr r11d, 0xa
xor r11d, ebx
mov edi, r9d
rol edi, 0xf
add r11d, esi
mov esi, r9d
rol esi, 0xd
xor esi, edi
mov edi, r9d
shr edi, 0xa
xor edi, esi
add eax, dword [r10 + 0xc]
add eax, r8d
add eax, edi
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140152e96
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x140152eb2
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret
Function at 0x140153544
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140153570
xor eax, eax
jmp 0x140153575
call fcn.140130dd2
nop
add rsp, 0x38
ret

Function at 0x140153820
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x1401538b5
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rbp - 4], eax
cmp eax, 1
jne 0x1401538f4
cmp dword [rbp], 0
je 0x1401538d8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140153917
mov edi, eax
mov rax, qword [0x1402a9038]
mov rax, qword [0x1402a6118]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1402a6118], rsi
jne 0x140153890
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x1401538e9
call sub.KERNEL32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x140153959
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1401538dd
mov edi, dword [rbp + 4]
jmp 0x1401538e9
mov edi, dword [rsi + 0x18]
jmp 0x1401538e7
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rdx, [0x14027f920]
lea r9, str.std_src_sys_thread_localkeywindows.rs
lea rcx, [rbp - 4]
lea r8, [rbp - 0x38]
call fcn.1401547c3
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.std_src_sys_thread_localkeywindows.rs
lea rcx, [rbp - 0x38]
call fcn.140068590
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call fcn.1401547ff
int3