joyce8/EMBER2024-capa huggingface dataset:
Function at 0x142911058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1429111df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142911089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14291106f
add dl, dl
jne 0x142911096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1429110f6
xor eax, eax
add dl, dl
jne 0x1429110a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1429111ad
add dl, dl
jne 0x1429110b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1429110c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1429110d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1429110dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1429110ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14291107e
mov eax, 1
add dl, dl
jne 0x142911106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142911113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1429110fb
sub eax, ebx
mov ebx, 1
jne 0x14291114c
mov ecx, 1
add dl, dl
jne 0x14291112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14291113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142911123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14291107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142911168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142911175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14291115d
cmp eax, 0x7d00
jae 0x14291119b
cmp eax, 0x500
jb 0x142911196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14291107e
cmp eax, 0x7f
ja 0x14291119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14291107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1429111d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14291107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14043b150
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14043b15d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14043b16d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14043b155
lea eax, [rcx + 1]
jmp 0x14043b17b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14043b18e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14043b174
sub eax, 3
jb 0x14043b1ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14043b1fd
sar eax, 1
movsxd rbp, eax
jb 0x14043b1e4
jmp 0x14043b1bc
add ebx, ebx
jne 0x14043b1ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14043b1e4
inc ecx
add ebx, ebx
jne 0x14043b1ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14043b1e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14043b1dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14043b1cc
add ecx, 2
jmp 0x14043b1e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14043b112
jmp 0x14043b15d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x434000]
mov eax, dword [rdi]
or eax, eax
je 0x14043b265
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x43b1dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14043b209
jns 0x14043b23e
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14043b248
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14043b25f
mov qword [rbx], rax
add rbx, 8
jmp 0x14043b229
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14043b2a9
cmp al, 0xef
ja 0x14043b291
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14043b271
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14043b280
mov eax, dword [rdi]
add rdi, 4
jmp 0x14043b280
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14043b2fd
sub rsp, 0xffffffffffffff80
jmp 0x1402b40a0
Function at 0x140001871
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]
mov rax, rcx
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 0x14000254d
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x90
mov r14, rdx
mov rsi, rcx
movabs r12, 0x8000000000000000
lea r15, [rsp + 0x78]
mov rcx, r15
mov rdx, r8
mov r8, r9
call fcn.14000269c
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea rdi, [rsp + 0x3c]
and dword [rdi], 0
lea rbx, [rsp + 0x60]
mov edx, 0x800
mov rcx, rbx
call fcn.140002376
mov r14, qword [r14]
mov r15, qword [r15 + 8]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, r15
xor r8d, r8d
mov r9, rdi
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400025e5
mov edx, dword [rsp + 0x38]
mov rcx, rbx
call fcn.14009d8d8
jmp 0x1400025b0
test eax, eax
jne 0x140002607
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x14000264f
movabs rax, 0xde00000002
jmp 0x14000260f
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x60]
call fcn.140001dfb
lea rcx, [rsp + 0x78]
call fcn.140001e15
mov rax, qword [rsp + 0x48]
mov qword [rsi + 8], rax
mov qword [rsi], r12
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x40], xmm0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x58], al
mov rdi, qword [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140001e15
cmp rdi, r12
je 0x14000262d
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.14000808e
cmp qword [rdi], r12
je 0x140002639
lea rcx, [rsp + 0x40]
call fcn.140001dfb
jmp 0x140002639
Function at 0x140006583
Capabilities:
Delete file

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, rax
jmp 0x1400c7620
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1400cfa80
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x1400c7680
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call fcn.1400d15e0
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x1400c768c
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1400c76b6
test rdi, rdi
je 0x1400c76e2
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.1400064d0
xor eax, eax
jmp 0x1400c7683
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x1400c7683
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.1400064d0
jmp 0x1400c7680
xor eax, eax
jmp 0x1400c7683

Function at 0x14003d3b6
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 r14, rdx
mov esi, edx
Function at 0x1400434bd
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x158]
mov rdx, qword [rdx + 0x170]
lea r8, [0x140152d80]
mov rcx, rbx
call fcn.140040d67
mov r9, rdx
lea r14, [rsp + 0x78]
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005b52c
lea r15, [rsp + 0x88]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14005b52c
lea r12, [rsp + 0x68]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005b52c
lea r13, [rsp + 0x50]
mov rcx, r13
xor edx, edx
xor r8d, r8d
call fcn.14005b52c
movups xmm0, xmmword [r14]
movaps xmmword [r13 - 0x30], xmm0
movups xmm0, xmmword [r15]
movaps xmmword [r13 - 0x20], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [r13 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.14005b543
lea rcx, [rdi + 0x1e8]
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14004367b
test eax, eax
je 0x1400435fb
cmp eax, 0x90317
je 0x140043675
cmp eax, 0x90321
jne 0x140043694
mov dword [rdi + 0x1c8], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1cc], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140042995
and qword [rdi + 0x208], 0
mov byte [rsi + 1], bl
jmp 0x1400436a2
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi + 0x160]
mov r8d, dword [rsp + 0x30]
add r8, rdx
lea r14, [rdi + 0x138]
and qword [rdi + 0x148], 0
mov rcx, rbx
call fcn.140040411
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.14009d8d0
and qword [rdi + 0x150], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140042995
xor eax, eax
cmp qword [rdi + 0x170], rbx
sete al
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x1400436a2
mov byte [rsi + 1], 1
jmp 0x140043690
cmp dword [rsp + 0x34], 4
cmove ebp, dword [rsp + 0x30]
mov qword [rdi + 0x208], rbp
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400436a2
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400436bb
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x30]
mov rdx, qword [rdx + 0x48]
lea r8, [0x140152d80]
mov rcx, rbx
call fcn.140040d67
mov r9, rdx
lea r14, [rsp + 0x78]
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005b52c
lea r15, [rsp + 0x88]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14005b52c
lea r12, [rsp + 0x68]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005b52c
lea r13, [rsp + 0x50]
mov rcx, r13
xor edx, edx
xor r8d, r8d
call fcn.14005b52c
movups xmm0, xmmword [r14]
movaps xmmword [r13 - 0x30], xmm0
movups xmm0, xmmword [r15]
movaps xmmword [r13 - 0x20], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [r13 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.14005b543
lea rcx, [rdi + 0xe8]
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14004385e
test eax, eax
je 0x1400437f0
cmp eax, 0x90317
je 0x140043858
cmp eax, 0x90321
jne 0x140043877
mov dword [rdi + 0xa0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xa4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400429f4
and qword [rdi + 0x108], 0
mov byte [rsi + 1], bl
jmp 0x140043885
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi + 0x38]
mov r8d, dword [rsp + 0x30]
add r8, rdx
lea r14, [rdi + 0x10]
and qword [rdi + 0x20], 0
mov rcx, rbx
call fcn.140040411
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.14009d8d0
and qword [rdi + 0x28], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400429f4
xor eax, eax
cmp qword [rdi + 0x48], rbx
sete al
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x140043885
mov byte [rsi + 1], 1
jmp 0x140043873
cmp dword [rsp + 0x34], 4
cmove ebp, dword [rsp + 0x30]
mov qword [rdi + 0x108], rbp
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140043885
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004389e
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x140043a3f
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rbx, [r14 + r8]
add rdx, rbx
lea rdi, [rcx + 0x178]
cmp qword [rcx + 0x188], rdx
jae 0x1400438ed
mov rcx, rdi
xor r8d, r8d
call fcn.14002596a
lea r9, [0x140152e08]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140040d7d
lea rcx, [0x140152e20]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.14005a1b8
lea r8, [0x140152e38]
mov rcx, rdi
mov rdx, r14
call fcn.140040d67
mov r9, rdx
lea r15, [rsp + 0x78]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.14005b52c
lea r9, [0x140152e50]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140040d7d
mov r9, rdx
lea r14, [rsp + 0x88]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005b52c
lea r8, [0x140152e68]
mov rcx, rdi
mov rdx, rbx
call fcn.1400403d5
mov r9, rdx
lea rbx, [rsp + 0x98]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.14005b52c
lea r12, [rsp + 0x60]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005b52c
movups xmm0, xmmword [r15]
movaps xmmword [r12 - 0x30], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [r12 - 0x20], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [r12 - 0x10], xmm0
lea rbx, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov rcx, rbx
call fcn.14005b543
lea rcx, [rsi + 0x1e8]
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140043a10
shl rax, 0x20
or rax, 2
jmp 0x140043a2e
mov edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x50]
mov rcx, rdi
call fcn.140090e0f
and qword [rsi + 0x190], 0
xor eax, eax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, [0x140152df0]
mov edx, 0x3e
call fcn.1400ee610
int3
Function at 0x140043a58
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x140043bf0
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rbx, [r14 + r8]
add rdx, rbx
lea rdi, [rcx + 0x50]
cmp qword [rcx + 0x60], rdx
jae 0x140043aa1
mov rcx, rdi
xor r8d, r8d
call fcn.14002596a
lea r9, [0x140152e08]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140040d7d
lea rcx, [0x140152e20]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.14005a1b8
lea r8, [0x140152e38]
mov rcx, rdi
mov rdx, r14
call fcn.140040d67
mov r9, rdx
lea r15, [rsp + 0x78]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.14005b52c
lea r9, [0x140152e50]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140040d7d
mov r9, rdx
lea r14, [rsp + 0x88]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005b52c
lea r8, [0x140152e68]
mov rcx, rdi
mov rdx, rbx
call fcn.1400403d5
mov r9, rdx
lea rbx, [rsp + 0x98]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.14005b52c
lea r12, [rsp + 0x60]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005b52c
movups xmm0, xmmword [r15]
movaps xmmword [r12 - 0x30], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [r12 - 0x20], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [r12 - 0x10], xmm0
lea rbx, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov rcx, rbx
call fcn.14005b543
lea rcx, [rsi + 0xe8]
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140043bc4
shl rax, 0x20
or rax, 2
jmp 0x140043bdf
mov edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x50]
mov rcx, rdi
call fcn.140090e0f
and qword [rsi + 0x68], 0
xor eax, eax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, [0x140152df0]
mov edx, 0x3e
call fcn.1400ee610
int3
Function at 0x14005aea7
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
mov byte [rsp + 0x4f], dl
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x14005af1d
mov ecx, dword [rsi + 0x28]
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x98], rcx
cmp qword [rsi + 0x30], rax
je 0x14005af54
mov rax, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x40]
add rdx, rax
lea rcx, [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
lea rax, [rsp + 0x4f]
mov qword [rcx + 0x10], rax
xor edx, edx
call fcn.140059d80
mov dword [rsp + 0xa0], eax
mov rdx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
lea r8, [rdx + rax*8]
lea rsi, [rsp + 0xb8]
mov rcx, rsi
call fcn.14005a05a
mov eax, dword [rsi + 0x10]
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov rax, qword [rsi + 8]
cmp byte [rsp + 0x4f], 1
mov qword [rcx + 8], rax
mov r8d, 2
sbb r8d, 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x14015b383]
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x14005afd6
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
jmp 0x14005affa
movaps xmm6, xmmword [rsp + 0x50]
mov ecx, 0x20
call fcn.14005a3a6
mov rsi, rax
mov eax, 1
mov qword [rsi], rax
mov qword [rsi + 8], rax
movups xmmword [rsi + 0x10], xmm6
xor edi, edi
lea rcx, [rsp + 0xb8]
call fcn.14003f61a
mov rax, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret

Function at 0x1400609e8
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140060a0e
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x1400609f8
mov qword [rcx], rax
ret
Function at 0x1400707ad
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor eax, eax
test rbx, rbx
setne al
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
call fcn.14005d55c
test rbx, rbx
je 0x1400707ee
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1400609e8
add rdi, 8
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1400709e3

Function at 0x140092c12
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140092b04
mov rcx, rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp 0x14009c5f7
jmp 0x1400bf3b0
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400bf3ed
xor eax, eax
add rsp, 0x30
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x140092f8e
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400994ef
mov rcx, qword [rcx]
movzx r9d, dl
mov edx, 0xffff
mov r8d, 4
jmp 0x14009962a
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r9d
mov dword [rsp + 0x20], 4
mov r9, rax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140099650
xor eax, eax
jmp 0x140099655
call fcn.14001c9ec
nop
add rsp, 0x38
ret

Function at 0x140092f93
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140099506
mov r9, rdx
mov rcx, qword [rcx]
mov edx, 0xffff
mov r8d, 0x1001
jmp 0x14009962a

Function at 0x140092f9a
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1400994d9
mov r9, rdx
mov rcx, qword [rcx]
mov edx, 0xffff
mov r8d, 0x1002
jmp 0x14009962a

Function at 0x1400963f2
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400963f9
test al, 1
je 0x140096418
test al, 2
jne 0x140096430
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140194fb0]
mov edx, 0x23
call fcn.1400ee610
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140194ff0]
mov edx, 0x25
call fcn.1400ee610
int3
Function at 0x140099469
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x14009948a
add rsp, 0x28
jmp fcn.14001c9ec
xor eax, eax
add rsp, 0x28
ret

Function at 0x140099491
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
lea r8, [rsp + 0x24]
mov dword [r8], eax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400994b7
xor eax, eax
jmp 0x1400994bc
call fcn.14001c9ec
nop
add rsp, 0x28
ret

Function at 0x1400994c2
Capabilities:
Set socket configuration

Disassembly:
mov rcx, qword [rcx]
movzx r9d, dl
mov edx, 0xffff
mov r8d, 8
jmp 0x14009962a

Function at 0x14009962a
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400994ef
mov rcx, qword [rcx]
movzx r9d, dl
mov edx, 0xffff
mov r8d, 4
jmp 0x14009962a
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r9d
mov dword [rsp + 0x20], 4
mov r9, rax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140099650
xor eax, eax
jmp 0x140099655
call fcn.14001c9ec
nop
add rsp, 0x38
ret