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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400220c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rax
mov qword [rsp + 0x30], rax
or rbx, 0xffffffffffffffff
call fcn.140003b50
cmp word [rax], 0
je 0x14000376c
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x38], 0x38
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call fcn.140003b50
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000376c
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x1400241bc]
test al, 1
jne 0x14000378d
or eax, 1
mov dword [0x1400241bc], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400241b8], eax
jmp 0x140003793
mov eax, dword [0x1400241b8]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400037b9
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x1400241b8]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
xor edx, edx
lea r9, str.c_a2A
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400037f6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x140003805
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400075d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140003830
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400220c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rax
mov qword [rsp + 0x30], rax
or rbx, 0xffffffffffffffff
call fcn.140003b50
cmp word [rax], 0
je 0x1400038cc
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x38], 0x38
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call fcn.140003b50
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400038cc
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x1400241c4]
test al, 1
jne 0x1400038ed
or eax, 1
mov dword [0x1400241c4], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400241c0], eax
jmp 0x1400038f3
mov eax, dword [0x1400241c0]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140003919
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [0x1400241c0]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CLSIDFromProgID]
xor edx, edx
lea r9, [0x140017188]
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x15]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140003956
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp rbx, 0xffffffffffffffff
je 0x140003965
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400075d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140004820
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov rdi, r9
mov rsi, r8
mov r15, rdx
mov r14d, ebx
test r9, r9
je 0x140004849
mov r14d, dword [r9]
test rdx, rdx
je 0x140004913
test r8, r8
je 0x140004913
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140004904
mov qword [rsp + 0x30], rcx
cmp qword [rsp + 0x80], rbx
je 0x1400048a1
mov rdx, qword [rsp + 0x80]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004904
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
cmp qword [rsp + 0x80], rbx
je 0x1400048e1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15d, r15d
jne 0x140004904
mov eax, dword [rsp + 0x78]
cmp eax, 4
je 0x1400048fb
cmp eax, 3
jne 0x140004900
cmp dword [rsp + 0x68], 4
jne 0x140004900
mov ebx, 1
mov eax, ebx
jmp 0x140004915
test rdi, rdi
je 0x140004913
mov dword [rsi], r14d
mov eax, 1
jmp 0x140004915
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140004930
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor esi, esi
mov r14, r9
mov rdi, r8
mov r15, rdx
mov r12d, esi
test rdx, rdx
je 0x140004adf
test r8, r8
je 0x140004adf
test r9, r9
je 0x140004adf
mov rcx, qword [rcx + 0x10]
mov qword [r11 + 8], rbx
or rbx, 0xffffffffffffffff
mov qword [r11 + 0x18], rbp
test rcx, rcx
je 0x140004a8f
mov rbp, qword [rsp + 0x98]
mov r12d, dword [r9]
mov qword [r11 - 0x38], rcx
test rbp, rbp
je 0x1400049bc
lea rax, [r11 - 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov qword [r11 - 0x48], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004a8f
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test rbp, rbp
je 0x1400049ea
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x78]
cmp ecx, 2
jne 0x140004a5c
mov eax, 2
mul r12
cmovo rax, rbx
mov rcx, rax
call fcn.140005eb8
mov rbp, rax
test rax, rax
je 0x140004a58
mov r8d, r12d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rdx, rdi
mov rcx, rbp
sub rdx, rbp
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140004a30
mov rax, rbx
inc rax
cmp word [rdi + rax*2], si
jne 0x140004a44
mov rcx, rbp
mov dword [r14], eax
call fcn.140006184
mov ecx, dword [rsp + 0x78]
test r15d, r15d
jne 0x140004a8f
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140004a6e
cmp ecx, 7
jne 0x140004a73
mov esi, 1
mov eax, esi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140004adb
nop dword [rax]
cmp word [rcx + rbx*2 + 2], si
lea rbx, [rbx + 1]
jne 0x140004aa0
lea edx, [rbx*2 + 2]
cmp edx, r12d
ja 0x140004adb
sub rdi, rcx
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdi + rcx - 2], ax
test ax, ax
jne 0x140004ac0
mov dword [r14], edx
mov eax, 1
jmp 0x140004a75
xor eax, eax
jmp 0x140004a75
xor eax, eax
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140024110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140024190
cmp r10, r11
jb 0x140024207
cmp r10, rdx
ja 0x140024219
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140024192
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140024170
jmp 0x1400241f4
ja 0x14002419a
mov r11, r10
cmp rax, r8
jne 0x14002413e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x1400241d0
mov rdi, r8
sub ecx, edx
jns 0x1400241eb
jmp 0x1400241f6
cmp r8, rsi
je 0x140024228
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400241f6
xor al, 1
cmp rdi, rsi
jne 0x1400241b0
jmp 0x1400241f6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1401be3e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1401be000
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1401be450
int3
Function at 0x14002783f
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x1401cb4f8]
mov ebx, 0xff
lea rsi, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.2_src_baseline.rs
cmp r9, 0x40
jb 0x14002796f
mov r14d, 4
sub r14, 1
jb 0x140027864
cmp r9, 0xf
jbe 0x14002799c
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.140027e82
mov r9, rdx
mov ecx, ebp
jmp 0x140027874
xor edx, edx
cmp r9, rdx
je 0x14002798d
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x140027971
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.1401bdf90
int3

Function at 0x1400279b1
Capabilities:
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm10
movaps xmmword [rsp + 0x230], xmm9
movdqa xmmword [rsp + 0x220], xmm8
movaps xmmword [rsp + 0x210], xmm7
movaps xmmword [rsp + 0x200], xmm6
mov edi, ecx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r8
cmp r8, 0x80
jae 0x140027a0c
mov ecx, edi
jmp 0x140027d13
lea rbx, [rsp + 0xe0]
lea rsi, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140027d97
lea r14, [rsp + 0xf0]
mov rcx, r14
mov rdx, rsi
call fcn.140027d97
lea r15, [rsp + 0x100]
mov rcx, r15
mov rdx, rsi
call fcn.140027d97
lea r12, [rsp + 0x110]
mov rcx, r12
mov rdx, rsi
call fcn.140027d97
not edi
movd xmm8, edi
pxor xmm8, xmmword [rbx]
movaps xmm10, xmmword [r14]
movaps xmm7, xmmword [r15]
movaps xmm6, xmmword [r12]
lea rbx, [rsp + 0x1c0]
movaps xmm9, xmmword [0x1401c5bd0]
lea r14, [rsp + 0x20]
lea r13, [rsp + 0x1d0]
lea r12, [rsp + 0x1e0]
lea rbp, [rsp + 0x1f0]
lea r15, [rsp + 0xd0]
Function at 0x14002f4e1
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.140043721
test rbx, rbx
je 0x14002f51a
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14002f534
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14002f52c

Function at 0x14002f534
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14002f55a
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14002f544
mov qword [rcx], rax
ret
Function at 0x140067bc8
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov r14, qword [0x140265b90]
test r14, r14
jne 0x140067cff
lea rcx, [0x1402023ab]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140067c32
mov rbx, rax
lea rdx, [0x1402023cc]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140067c32
mov rdi, rax
lea rdx, [0x1402023da]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
add byte [rax - 0x7b], cl
invalid
je 0x140067c32
invalid
mov r15, rax
xor ebx, ebx
jmp 0x140067cb7
lea rcx, [0x14023ca68]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140067d13
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140067d13
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
lea edx, str.NtReleaseKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140067d13
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140067d13
mov rdi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x140067d13
mov r15, qword [rsp + 0x20]
mov ecx, 0x18
call fcn.14006540c
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x140265b90], r14
je 0x140067cff
mov rdi, rax
cmp qword [r14], 0
je 0x140067cef
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 8
mov rcx, r14
call fcn.140017ad0
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
call fcn.1401bdee0
int3
Function at 0x14007483c
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.26_src_tls_stream.rs
call fcn.140074552
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xf0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400749b3
test eax, eax
je 0x140074921
cmp eax, 0x90317
je 0x1400749ad
cmp eax, 0x90321
jne 0x1400749d1
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400747e6
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x1400749df
mov rbx, qword [rsp + 0x38]
sub rbx, qword [rdi + 0x68]
mov r14d, dword [rsp + 0x30]
add r14, rbx
lea r15, [rdi + 0x40]
mov r8, qword [rdi + 0x58]
lea r12, [rsp + 0x70]
mov rcx, r12
mov rdx, r15
call fcn.1400749fc
mov rcx, r12
call fcn.14006862d
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
mov r8, rbx
mov r9, r14
call fcn.140074a47
lea r8, [rdx + rax]
mov rcx, r15
mov rdx, rax
call case.0x1400a4093.215
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400747e6
xor eax, eax
cmp qword [rdi + 0x78], 0
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x1400749df
mov byte [rsi + 1], 1
jmp 0x1400749cd
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400749df
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140074ace
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, 0xc8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x50], r8
mov rcx, r8
call fcn.140074d7f
mov r15, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea r12, [rsp + 0x32]
lea r13, [rsp + 0x4a]
mov rbp, qword [r14 + 0x10]
mov esi, 0x7fffffff
cmp rdx, rsi
cmovb rsi, rdx
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x28]
mov qword [rsp + 0x38], rsi
mov rcx, rdi
mov rdx, rbp
mov r8, rbx
xor r9d, r9d
call fcn.1400d7ded
mov al, byte [rsp + 0x31]
cmp al, 3
je 0x140074c6d
mov rdi, qword [rsp + 0x28]
cmp al, 2
je 0x140074c8e
mov cl, byte [rsp + 0x30]
movzx edx, word [r12 + 4]
mov word [r13 + 4], dx
mov edx, dword [r12]
mov dword [r13], edx
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], cl
mov byte [rsp + 0x49], al
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x140074ced
mov rdx, r15
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x140074c74
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x140074c85
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
call fcn.140031886
cmp al, 0xd
jne 0x140074c3d
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140074c3d
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140074cf9
mov rsi, rbp
mov rbp, r14
mov r14, r15
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140066596
mov r15, rax
xor ecx, ecx
call fcn.1400b725d
test r15, r15
je 0x140074c2f
mov ecx, 1
mov rdx, rdi
call fcn.140066758
mov rdi, r15
mov r15, r14
mov r14, rbp
mov rbp, rsi
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.1400d2950
cmp al, 0xd
jne 0x140074c8e
mov qword [rsp + 0x28], rdi
mov rcx, r14
lea rdx, [rsp + 0x40]
call fcn.1400d7d8a
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.14004bf54
jmp 0x140074b3f
mov ebx, 1
jmp 0x140074c90
cdqe
test rax, rax
je 0x140074c87
mov qword [rsp + 0x80], rax
jmp 0x140074c87
xor eax, eax
mov qword [rsp + 0x78], rax
xor edi, edi
xor ebx, ebx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rdi
test rbx, rbx
jne 0x140074cd3
test rdi, rdi
jne 0x140074cd3
lea rcx, [rsp + 0x68]
call fcn.140074a8b
mov rsi, rdx
lea rcx, [rsp + 0x88]
call fcn.140074d22
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.140074d96
xor edi, edi
mov rax, rbx
mov rdx, rdi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.40.0_srciopoll_evented.rs
call fcn.1401be450
ud2
Function at 0x14007507c
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.26_src_tls_stream.rs
call fcn.140074552
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140075217
test eax, eax
je 0x14007516d
cmp eax, 0x90317
je 0x140075211
cmp eax, 0x90321
jne 0x140075235
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14007501d
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140075243
mov rbx, qword [rsp + 0x38]
sub rbx, qword [rdi + 0x168]
mov r14d, dword [rsp + 0x30]
add r14, rbx
lea r15, [rdi + 0x140]
mov r8, qword [rdi + 0x158]
lea r12, [rsp + 0x70]
mov rcx, r12
mov rdx, r15
call fcn.1400749fc
mov rcx, r12
call fcn.14006862d
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
mov r8, rbx
mov r9, r14
call fcn.140074a47
lea r8, [rdx + rax]
mov rcx, r15
mov rdx, rax
call case.0x1400a4093.215
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14007501d
xor eax, eax
cmp qword [rdi + 0x178], 0
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140075243
mov byte [rsi + 1], 1
jmp 0x140075231
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140075243
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret