joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400012dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x140001328
cmp rax, rbx
jne 0x14000131b
mov ebx, 1
mov esi, ebx
jmp 0x14000132d
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001300
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001343
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013a8
mov eax, dword [0x140003640]
test eax, eax
jne 0x1400013a2
mov dword [0x140003640], ebx
lea r15, [0x1400022c0]
lea rdi, [0x1400022a8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001394
test eax, eax
jne 0x140001398
cmp qword [rdi], 0
je 0x140001389
mov rax, qword [rdi]
mov rcx, qword [0x140002288]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000136a
test eax, eax
je 0x1400013a8
mov eax, 0xff
jmp 0x140001484
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400013cf
lea rdx, [0x1400022a0]
lea rcx, [0x140002290]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x1400013dc
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001410
lea rcx, [0x140003648]
call fcn.140001650
test eax, eax
je 0x140001410
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x140002288]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.14000119c
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x140001440
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x140001455
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x140001484
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140188000
add rsp, 0x28
jmp 0x1400012dc

Function at 0x140001550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000159c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001594
cmp dword [rcx + 0x3c], edx
jl 0x140001594
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001594
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000159c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000a110
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x14000fc41
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 rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, r8
mov r8, r9
call fcn.14000fba0
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.14008e81d
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 0x14000fcca
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.1400e8864
jmp 0x14000fc95
test eax, eax
jne 0x14000fcec
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x14000fd14
movabs rax, 0xde00000002
jmp 0x14000fcf4
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.14004f086
jmp 0x14000fd28
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.1400605df
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140010831
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rdi, rcx
mov rsi, qword [rdx]
mov r14, qword [rdx + 8]
mov r15, qword [rdx + 0x10]
lea rcx, [rsp + 0x38]
mov rdx, r14
call fcn.1400aa88f
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.1400aa88f
movdqa xmm0, xmmword [rdi + 0x1d0]
pxor xmm0, xmmword [rbx]
aesdec xmm0, xmmword [rdi + 0x1c0]
aesdec xmm0, xmmword [rdi + 0x1b0]
aesdec xmm0, xmmword [rdi + 0x1a0]
aesdec xmm0, xmmword [rdi + 0x190]
aesdec xmm0, xmmword [rdi + 0x180]
aesdec xmm0, xmmword [rdi + 0x170]
aesdec xmm0, xmmword [rdi + 0x160]
aesdec xmm0, xmmword [rdi + 0x150]
aesdec xmm0, xmmword [rdi + 0x140]
aesdec xmm0, xmmword [rdi + 0x130]
aesdec xmm0, xmmword [rdi + 0x120]
aesdec xmm0, xmmword [rdi + 0x110]
aesdec xmm0, xmmword [rdi + 0x100]
aesdeclast xmm0, xmmword [rdi + 0xf0]
movdqa xmmword [rbx], xmm0
lea r8, [rsp + 0x30]
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
mov r9, rsi
call fcn.14000e1ee
mov rax, qword [rdi]
mov rcx, qword [rdi + 0x10]
mov r8, qword [rdi + 0x20]
mov rdx, qword [rdi + 0x28]
cmp r8, rdx
jae 0x140010931
mov r9b, byte [rcx + r8]
xor byte [rax + r8], r9b
inc r8
jmp 0x14001091f
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140022865
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x14002ab40
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 0x14002abc0
cmp r11, r10
ja 0x14002ac37
cmp r10, rdx
ja 0x14002ac49
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14002abc2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14002aba0
jmp 0x14002ac24
ja 0x14002abca
mov r11, r10
cmp rax, r8
jne 0x14002ab6e
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 0x14002ac00
mov rdi, r8
sub ecx, edx
jns 0x14002ac1b
jmp 0x14002ac26
cmp r8, rsi
je 0x14002ac58
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14002ac26
xor al, 1
cmp rdi, rsi
jne 0x14002abe0
jmp 0x14002ac26
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.140026a60
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140025f10
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140028f40
int3
Function at 0x14002c294
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, [0x1401fe7a8]
mov ebx, 0xff
lea rsi, str.src_vendor_crc32fast_src_baseline.rs
cmp r9, 0x40
jb 0x14002c3c4
mov r14d, 4
sub r14, 1
jb 0x14002c2b9
cmp r9, 0xf
jbe 0x14002c3f1
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.14002c8d7
mov r9, rdx
mov ecx, ebp
jmp 0x14002c2c9
xor edx, edx
cmp r9, rdx
je 0x14002c3e2
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x14002c3c6
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.src_vendor_crc32fast_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.1400255d0
int3
Function at 0x1400351c3
Capabilities:
Hash data using fnv

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

Function at 0x14003537c
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.140049301
test rbx, rbx
je 0x1400353b5
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400351c3
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400351bb
Function at 0x140055487
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsi + 0x28]
add rsp, 0x50
pop rsi
ret

Function at 0x140058ec4
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400eb018]
test ecx, ecx
je 0x140058edd
dec ecx
add rsp, 0x28
jmp fcn.1400e8d54
lea rcx, section..data
call fcn.1400b0080
mov ecx, eax
jmp 0x140058ed4

Function at 0x140058eed
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140058f0e
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.1400e8d5c
mov rcx, rax
call fcn.1400b0080
mov ecx, eax
jmp 0x140058f01
Function at 0x14005997b
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.14005b9b4
test rax, rax
je 0x1400599b3
mov edx, 4
mov rcx, rax
call fcn.140020350
jmp 0x1400599ec
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.140058e82
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.140058f59
Function at 0x14005b9b4
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 0x14005ba42
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 0x14005b9d4
mov ebx, eax
mov rcx, r14
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
test al, al
jne 0x14005b9d4
and ebx, 0x7fffffff
je 0x14005ba40
mov al, byte [0x140291108]
mov edx, 4
xor ecx, ecx
call fcn.1400d2fa0
test rax, rax
je 0x14005ba55
mov rsi, rax
mov dword [rax], ebx
jmp 0x14005ba42
xor esi, esi
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.140022910
int3
Function at 0x1400621a7
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x1400621b9
add rcx, 8
jmp fcn.1400dec23
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r14, r9
mov r15, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140062422
mov eax, dword [rdi]
cmp eax, 2
jne 0x1400621f7
mov rdi, qword [rsp + 0x30]
jmp 0x1400623c8
test eax, eax
je 0x140062381
mov rdx, qword [rsi + 0x98]
cmp rdx, qword [rsi + 0x90]
jne 0x1400623b8
mov rbx, qword [rsp + 0x30]
mov eax, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
mov r12d, dword [rsp + 0x2c]
lea r14, [rbx + r12]
add rax, r14
cmp rdx, rax
jae 0x14006224c
lea rcx, [rsi + 0x80]
mov rdx, rax
call fcn.140024941
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
lea rax, str.src_vendor_schannel_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400630af
lea rcx, str.src_vendor_schannel_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rbx
call fcn.14005b988
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, str.src_vendor_schannel_src_tls_stream.rs
mov r8, r12
call fcn.1400630c6
mov r15, rax
mov r13, rdx
xor eax, eax
test r15, r15
cmove r13d, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea rax, str.src_vendor_schannel_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400630af
mov r12, rax
mov rbp, rdx
test rax, rax
mov eax, 0
cmove ebp, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, str.src_vendor_schannel_src_tls_stream.rs
mov r8, r14
call fcn.1400630d7
test rax, rax
mov ecx, 0
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rdi
lea rcx, [rsi + 0xf0]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x14006238d
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x1400623c8
movabs rdi, 0x8009031700000002
jmp 0x1400623c8
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x90], rax
jb 0x1400623a9
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
mov qword [rsi + 0x118], rbx
mov rcx, rsi
call fcn.140062ff1
test rax, rax
je 0x140062412
mov rdi, rdx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.1400d8e08
and qword [rsi + 0x38], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x1400623fe
lea rcx, [rsp + 0x30]
call fcn.14005ba93
mov eax, 2
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x118]
and qword [rsi + 0x38], 0
xor eax, eax
jmp 0x1400623fe
Function at 0x1400632f5
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, str.src_vendor_schannel_src_tls_stream.rs
call fcn.1400630c6
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 sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140063442
test eax, eax
je 0x1400633d0
cmp eax, 0x90317
je 0x14006343c
cmp eax, 0x90321
jne 0x140063460
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.14006329f
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x14006346e
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.140063482
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400236e9
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.14006329f
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14006346e
mov byte [rsi + 1], 1
jmp 0x14006345c
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 0x14006346e
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006376f
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, str.src_vendor_schannel_src_tls_stream.rs
call fcn.1400630c6
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 sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400638dd
test eax, eax
je 0x140063856
cmp eax, 0x90317
je 0x1400638d7
cmp eax, 0x90321
jne 0x1400638fb
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.140063710
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140063909
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.140063482
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400236e9
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.140063710
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140063909
mov byte [rsi + 1], 1
jmp 0x1400638f7
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 0x140063909
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140063913
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140063925
add rcx, 8
jmp fcn.1400de9be
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.140063a90
mov r14, rax
mov r15, rdx
lea r12, [rsp + 0x30]
mov rcx, rsi
call fcn.140063b61
test rdx, rdx
jne 0x1400639bc
mov rcx, r12
mov rdx, rsi
call fcn.140062422
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x140063a23
test eax, eax
je 0x1400639bc
cmp qword [rsi + 0x110], 0
je 0x1400639a3
mov rcx, rsi
call fcn.14006310f
mov rbx, rdx
test rax, rax
jne 0x140063a2f
test rbx, rbx
je 0x1400639bc
and qword [rsi + 0x110], 0
mov rcx, r12
mov rdx, rsi
call fcn.1400632f5
cmp byte [rsp + 0x30], 0
jne 0x140063a23
cmp byte [rsp + 0x31], 0
je 0x14006394f
mov rcx, rsi
call fcn.140063b61
mov rbx, rdx
test rax, rax
je 0x140063a2f
mov r12, rax
cmp r15, rbx
cmovb rbx, r15
lea r9, str.src_vendor_schannel_src_tls_stream.rs
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.14000171e
lea rcx, str.src_vendor_schannel_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, rbx
call fcn.14005b988
mov rax, qword [rsi + 0x58]
add rax, rbx
cmp rax, qword [rsi + 0x50]
ja 0x140063a77
mov qword [rsi + 0x58], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140063afd
jmp 0x140063a5d
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
jmp 0x140063a39
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140063a5d
mov rcx, rbx
call fcn.1400d8e08
and qword [rsi + 0x38], 0
cmp al, 0xd
jne 0x140063a64
lea rcx, [rsp + 0x30]
call fcn.14005ba93
mov eax, 1
xor ebx, ebx
jmp 0x140063a66
and qword [rsi + 0x38], 0
xor ebx, ebx
xor eax, eax
mov rdx, rbx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x14024f91e]
lea r8, str.src_vendor_schannel_src_tls_stream.rs
mov edx, 0x3b
call fcn.140026280
int3