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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rsp + 0x78]
lea ebp, [rdx - 0xc]
mov rsi, r8
mov r14, rcx
cmp edx, ebp
jbe case.0x180083b44.10
mov r15, qword [rsp + 0x78]
lea edi, [rdx - 0x5f]
lea r12, [0x180000000]
xor r13d, r13d
nop dword [rax]
cmp edi, 0x1b
ja case.0x180083b44.4
mov ecx, dword [r12 + rdi*4 + 0x83c4c]
add rcx, r12
jmp rcx
mov dword [rsi + 0x90], 1
jmp case.0x180083b44.4
mov r8, rsi
mov dword [rsp + 0x78], r13d
mov edx, 0x103
lea rcx, [rsp + 0x78]
call fcn.180021630
jmp case.0x180083b44.4
lea rbx, [r15*4]
jmp case.0x180083b44.4
lea r8, [rsi + 0x30]
mov dword [rsp + 0x78], r13d
mov edx, 0x103
lea rcx, [rsp + 0x78]
call fcn.180021630
jmp case.0x180083b44.4
mov eax, dword [r14 + 8]
xor dword [rsi + 8], eax
mov eax, dword [r14 + 0xc]
xor dword [rsi + 0xc], eax
jmp case.0x180083b44.4
mov dword [rsp + 0x68], r13d
jmp case.0x180083b44.4
mov dword [rsi], r13d
jmp case.0x180083b44.4
lea r8, [rsi + 0x60]
mov dword [rsp + 0x78], r13d
mov edx, 0x103
lea rcx, [rsp + 0x78]
call fcn.180021630
jmp case.0x180083b44.4
mov r15, r13
jmp case.0x180083b44.4
mov r9, qword [0x1800a21d0]
lea rcx, [rsp + 0x68]
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx ecx, byte [rsp + 0x68]
mov r15, rax
movzx eax, byte [rsp + 0x69]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x6a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x6b]
shl ecx, 8
or ecx, eax
mov dword [rsi], ecx
jmp case.0x180083b44.4
mov eax, dword [r14]
xor dword [rsi], eax
mov eax, dword [r14 + 4]
xor dword [rsi + 4], eax
dec edi
lea eax, [rdi + 0x5f]
cmp eax, ebp
ja 0x180083b30
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x4a333e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xbea9bea8
stosb byte [rdi], al
adc ebp, ebp
test eax, 0xed13aabe
xor dword [rcx], edi
push rbx
jp 0x4a3341
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x4a33ba
mov esp, 0xd7d832c4
cmp dword [rdx], edi
add edi, dword [rdx + 0x15d22562]
pop rdx
xchg esp, eax
sub edx, dword [rbx]
sbb byte [rdx - 2], 0x1f
lahf
adc dword [rax - 0x8ac05af], esp
test byte [rdi - 0x3bef3adf], cl
invalid
invalid
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400d1490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400d14a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400b2d70
jmp 0x14000123c
mov rax, qword [0x1400d14a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400d14a0]
mov dword [rax], 1
mov rax, qword [str._p_r_]
mov rdx, rax
mov rax, qword [0x1400d14d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400d5024], 1
mov rax, qword [0x1400d14a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400d14c0]
mov rdx, rax
mov rax, qword [0x1400d14b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400d14a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400d1490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400d13e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400d13e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400b1ff8
mov rax, qword [str.___v_]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [str._Q_r_]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400b17f0
mov eax, dword [0x1400d5004]
lea rdx, [0x1400d5008]
mov ecx, eax
call fcn.14000147c
call fcn.1400b1587
mov rax, qword [0x1400d1410]
mov rax, qword [rax]
mov rdx, qword [0x1400d5010]
mov qword [rax], rdx
mov rcx, qword [0x1400d5010]
mov rdx, qword [0x1400d5008]
mov eax, dword [0x1400d5004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400d501c], eax
mov eax, dword [0x1400d5020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400d501c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400d5024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400d501c]
add rsp, 0x70
pop rbp
ret
Function at 0x1400b1800
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400b2b60
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400b24d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400d5168]
test eax, eax
je 0x1400b256a
lea rax, [0x1400d5140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400d5170]
mov qword [rbp - 8], rax
jmp 0x1400b254e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400b2542
cmp qword [rbp - 0x10], 0
je 0x1400b2542
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400b2508
lea rax, [0x1400d5140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400b256b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400b2670
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400b2698
mov eax, 0
jmp 0x1400b26e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400b26c1
mov eax, 0
jmp 0x1400b26e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400b26e1
mov eax, 0
jmp 0x1400b26e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400b26ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400b276a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400b2761
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400b2761
mov rax, qword [rbp - 8]
jmp 0x1400b277f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400b2734
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140012240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
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 0x1400122d0
cmp r11, r10
ja 0x140012346
cmp r10, rdx
ja 0x140012358
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400122d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400122b0
jmp 0x140012334
ja 0x1400122da
mov r11, r10
cmp rax, r8
jne 0x140012274
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 0x140012310
mov rdi, r8
sub ecx, edx
jns 0x14001232b
jmp 0x140012336
cmp r8, rsi
je 0x140012367
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140012336
xor al, 1
cmp rdi, rsi
jne 0x1400122f0
jmp 0x140012336
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400b17d0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400b1540
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400b15c0
int3

Function at 0x14001b377
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.14001b3c2
test rbx, rbx
je 0x14001b3b0
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14001b3ed
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14001b3e5

Function at 0x14001b3ed
Capabilities:
Hash data using fnv

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x1401431a0]
test r14, r14
jne 0x14003b676
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14003b5a9
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003b5a9
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003b5a9
mov r15, rax
xor ebx, ebx
jmp 0x14003b62e
lea rcx, [0x1401023a0]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14003b68a
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003b68a
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003b68a
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003b68a
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x14003b68a
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.1400384c5
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x1401431a0], r14
je 0x14003b676
mov rdi, rax
cmp qword [r14], 0
je 0x14003b666
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 8
mov rcx, r14
call fcn.140009f00
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x1401024b0]
mov edx, 0x5b
call fcn.1400b2928
int3
Function at 0x14003cae7
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.14003ec92
test rax, rax
je 0x14003cb1f
mov edx, 4
mov rcx, rax
call fcn.140009f00
jmp 0x14003cb58
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.14003bf64
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.14003bfb9
Function at 0x14003ec92
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 rbp
push rbx
sub rsp, 0x28
mov rdi, rcx
mov r12d, 0x20
mov r13d, 0xffffffff
mov rbp, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.advapi32.dll_SystemFunction036]
test r12, r12
je 0x14003ed25
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 rbp
cmp eax, 0xc0000000
jb 0x14003ecbf
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x14003ecbf
xor ebx, 0x80000000
je 0x14003ed25
mov al, byte [0x140143320]
mov ecx, 4
mov edx, 4
call fcn.140009e70
test rax, rax
je 0x14003ed38
mov dword [rax], ebx
jmp 0x14003ed27
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.1400b1180
int3
Function at 0x14005a024
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, 0x6b8
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x80], rcx
mov rdx, qword [rdx + 0x400]
add rdx, 0x10
lea rsi, [rsp + 0x1c0]
mov rcx, rsi
call fcn.14001a891
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srcproto_streams_streams.rs
mov rcx, rsi
call fcn.14004fc0a
mov rcx, qword [rax + 0x28]
or rcx, qword [rax + 0x38]
je 0x14005a083
mov rcx, rax
call fcn.14003911d
jmp 0x14005a0af
mov rsi, qword [rax + 0x230]
mov rcx, rax
call fcn.14003911d
cmp rsi, 1
ja 0x14005a0af
mov rdx, qword [rdi + 0x400]
add rdx, 0x10
lea rcx, [rdi + 0x3a0]
call fcn.140062e75
mov rax, qword [rdi + 0x378]
cmp rax, 2
jne 0x14005a0ca
mov qword [rsp + 0x1c0], 2
jmp 0x14005a12a
lea rsi, [rdi + 0x378]
lea rdx, [rdi + 0x390]
test rax, rax
je 0x14005a0ff
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x14005a10d
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x1c0]
mov rcx, r15
mov rdx, rsi
call fcn.1400a8a83
mov qword [r15 + 0x18], r14
mov rax, qword [rdi + 0x398]
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
movups xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x450], xmm0
mov qword [rsp + 0x440], rcx
mov qword [rsp + 0x448], rdx
mov qword [rsp + 0x460], rax
test byte [rax + riz*2], ah
add al, 0
add byte [rbx + 0x44024bc], al
add byte [rax], al
invalid
je 0x14005a188
lea rdx, [rsp + 0x458]
lea rcx, [rsp + 0x440]
call fcn.1400a8ade
mov qword [rsp + 0x5c8], 2
and qword [rsp + 0x5e8], 0
lea r15, [rdi + 0x48]
lea rax, [rdi + 0x3a0]
mov qword [rsp + 0x1a8], rax
lea rax, [rdi + 0x410]
mov qword [rsp + 0x1a0], rax
lea r13, [rsp + 0xd8]
lea r14, [rsp + 0x1c0]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x88], r15
Function at 0x14006a2fd
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.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.14006a0a0
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 0x14006a3d5
test eax, eax
je 0x14006a3f1
cmp eax, 0x90317
je 0x14006a45d
cmp eax, 0x90321
jne 0x14006a465
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.14006a2a7
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x14006a473
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14006a461
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.14006a487
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14000adee
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.14006a2a7
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14006a473
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14006a473
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 0x14006a732
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.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.14006a0a0
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 0x14006a816
test eax, eax
je 0x14006a835
cmp eax, 0x90317
je 0x14006a8b6
cmp eax, 0x90321
jne 0x14006a8be
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.14006a6d3
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x14006a8cc
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x14006a8ba
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.14006a487
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14000adee
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.14006a6d3
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x14006a8cc
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14006a8cc
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 0x14006a8d6
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x14006a8e8
add rcx, 8
jmp fcn.1400a2e25
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.14006aa79
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.14006ab4d
test rdx, rdx
jne 0x14006a98b
mov rcx, r15
mov rdx, rsi
call fcn.1400693e0
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x14006aa1a
test eax, eax
je 0x14006a98b
cmp qword [rsi + 0x110], 0
je 0x14006a96e
mov rcx, r15
mov rdx, rsi
call fcn.14006a0fa
cmp qword [rsp + 0x28], 0
jne 0x14006aa1a
cmp qword [rsp + 0x30], 0
je 0x14006a98b
and qword [rsi + 0x110], 0
mov rcx, r15
mov rdx, rsi
call fcn.14006a2fd
cmp byte [rsp + 0x28], 0
jne 0x14006aa1a
cmp byte [rsp + 0x29], 0
je 0x14006a914
mov rcx, rsi
call fcn.14006ab4d
mov r15, rdx
test rax, rax
je 0x14006aa1f
mov r13, rax
cmp r14, r15
mov r12, r15
mov esp, edi
cmovb r12, r14
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, r12
mov rdx, rbx
fimul dword [rbp - 0x77]
invalid
call fcn.14006a0b1
mov rbx, rax
mov r14, rdx
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.140052517
mov r9, rdx
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov ecx, ebx
mov rdx, r14
mov r8, rax
call fcn.14000adc2
mov rax, qword [rsi + 0x58]
add rax, r12
cmp rax, qword [rsi + 0x50]
ja 0x14006aa60
mov qword [rsi + 0x58], rax
mov rcx, rdi
mov rdx, r12
call fcn.14006aae6
xor r15d, r15d
jmp 0x14006aa46
invalid
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.14001d8aa
cmp al, 0xd
jne 0x14006aa46
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.14002cc0e
mov eax, 1
jmp 0x14006aa4d
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140107a66]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3b
call fcn.1400b15c0
int3