joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065bc0
Capabilities:
Hash data using sha384

Disassembly:
test rcx, rcx
je 0x140065c5a
mov qword [rcx + 0xd8], 0
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0xc8], xmm0
xor eax, eax
ret
mov eax, 0xffffff53
ret

Function at 0x140069530
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x150
mov edi, r8d
mov rsi, rdx
mov dword [rsp + 0x2c], 0
test rcx, rcx
je 0x14006955d
mov rbx, rcx
test rsi, rsi
je 0x14006957a
cmp edi, 4
jg 0x14006957a
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov r8d, 0x120
xor edx, edx
call sub.msvcrt.dll_memset
mov ebp, 0xffffff53
xor eax, eax
jmp 0x1400695f7
xor ebp, ebp
lea r14, [rsp + 0x30]
mov r8d, 0x120
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x80], 9
lea rax, [0x140264bb5]
mov qword [rsp + 0x78], rax
mov byte [rsp + 0xc9], 1
mov byte [rsp + 0x128], 8
mov qword [rsp + 0x118], rbx
mov byte [rsp + 0x148], 8
add rbx, 0x448
mov qword [rsp + 0x138], rbx
lea rcx, [0x140264d30]
lea r9, [rsp + 0x2c]
mov rdx, r14
mov r8d, 9
call fcn.1400671a0
mov al, 1
mov ebx, dword [rsp + 0x2c]
xor ecx, ecx
cmp ebx, edi
mov edi, 0xffffff7c
cmovle edi, ecx
test al, al
cmove edi, ebp
test rsi, rsi
cmove edi, ebp
je 0x14006962e
test edi, edi
jne 0x14006962e
lea rcx, [0x140264d30]
lea rdx, [rsp + 0x30]
mov r8d, 9
mov r9, rsi
call fcn.140067500
test edi, edi
cmovne ebx, edi
mov eax, ebx
add rsp, 0x150
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14006b830
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov byte [rsp + 0x2f], 0
mov rax, qword [0x140265160]
call qword [rax]
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
je 0x14006b857
add rsp, 0x30
pop rsi
ret
movzx eax, byte [rsi]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 1]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 2]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 3]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 4]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 5]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 6]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 7]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 8]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 9]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xa]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xb]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xc]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xd]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xe]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0xf]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x10]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x11]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x12]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x13]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x14]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x15]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x16]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x17]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x18]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x19]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1a]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1b]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1c]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1d]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1e]
or byte [rsp + 0x2f], al
movzx eax, byte [rsi + 0x1f]
or byte [rsp + 0x2f], al
movzx eax, byte [rsp + 0x2f]
shl eax, 0x17
add eax, 0xff800000
sar eax, 0x1f
add rsp, 0x30
pop rsi
ret

Function at 0x14006bcd0
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
call fcn.14006bbe0
test rdi, rdi
je 0x14006bd13
mov rax, qword [0x1402d66b0]
mov rcx, rsi
mov rdx, rdi
call qword [rax + 0x20]
cmp rdi, 0x20
jne 0x14006bd13
mov r8d, 0x20
mov rcx, rsi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140192f10
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14006bd80
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
call fcn.14006bbe0
test rdi, rdi
je 0x14006bdc3
mov rax, qword [0x1402d66b0]
mov rcx, rsi
mov rdx, rdi
call qword [rax + 0x20]
cmp rdi, 0x20
jne 0x14006bdc3
mov r8d, 0x20
mov rcx, rsi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140192f10
nop
add rsp, 0x28
pop rdi
pop rsi
ret
push rsi
push rdi
sub rsp, 0x88
mov rsi, rcx
mov qword [rsp + 0x40], 0
movaps xmm0, xmmword [0x14026bda0]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x14026bdb0]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.140191da0
mov rcx, rdi
mov rdx, rsi
call fcn.140192df0
xor eax, eax
add rsp, 0x88
pop rdi
pop rsi
ret

Function at 0x14009c260
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.1400731c0
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14009c2d0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14009c2b8
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.DLL_GetLastError]

Function at 0x14009cb00
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.14009dfe0
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.14009dfe0
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3
Function at 0x1400a0830
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, 0xffffff53
test rcx, rcx
je 0x1400a08ee
mov rdi, rdx
test rdx, rdx
je 0x1400a08ee
mov rsi, rcx
call fcn.1400a0900
test sil, 3
movdqu xmm0, xmmword [rsi]
movdqu xmm1, xmmword [rsi + 0x10]
pxor xmm2, xmm2
movdqa xmm3, xmm0
punpckhbw xmm3, xmm2
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
punpcklbw xmm0, xmm2
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm3
movdqu xmmword [rsi], xmm0
movdqa xmm0, xmm1
punpckhbw xmm0, xmm2
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
punpcklbw xmm1, xmm2
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
packuswb xmm1, xmm0
movdqu xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movaps xmm0, xmmword [0x140269c40]
movaps xmmword [rsi], xmm0
movaps xmm0, xmmword [0x140269c50]
movaps xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x60], 0
mov dword [rsi + 0x68], 0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400a0900
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
lea rsi, [rcx + 0x20]
mov eax, dword [rcx + 0x60]
lea ecx, [rax + 1]
mov dword [rdi + 0x60], ecx
mov byte [rdi + rax + 0x20], 0x80
mov eax, dword [rdi + 0x60]
cmp rax, 0x38
jbe 0x1400a0a1f
mov rcx, rax
add rcx, rsi
mov r8d, 0x40
sub r8d, eax
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rdi + 0x60], 0x40
mov rbx, rsi
and rbx, 3
pxor xmm0, xmm0
movdqu xmm2, xmmword [rdi + 0x20]
movdqu xmm3, xmmword [rdi + 0x30]
movdqu xmm4, xmmword [rdi + 0x40]
movdqu xmm1, xmmword [rdi + 0x50]
movdqa xmm5, xmm2
punpckhbw xmm5, xmm0
pshuflw xmm5, xmm5, 0x1b
pshufhw xmm5, xmm5, 0x1b
punpcklbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
packuswb xmm2, xmm5
movdqu xmmword [rdi + 0x20], xmm2
movdqa xmm2, xmm3
punpckhbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
punpcklbw xmm3, xmm0
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
packuswb xmm3, xmm2
movdqu xmmword [rdi + 0x30], xmm3
movdqa xmm2, xmm4
punpckhbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
punpcklbw xmm4, xmm0
pshuflw xmm3, xmm4, 0x1b
pshufhw xmm3, xmm3, 0x1b
packuswb xmm3, xmm2
movdqu xmmword [rdi + 0x40], xmm3
movdqa xmm2, xmm1
punpckhbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
punpcklbw xmm1, xmm0
pshuflw xmm0, xmm1, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm2
movdqu xmmword [rdi + 0x50], xmm0
mov rcx, rdi
mov rdx, rsi
call fcn.1400a0c80
mov dword [rdi + 0x60], 0
xor eax, eax
jmp 0x1400a0a24
mov ebx, esi
and ebx, 3
mov ecx, eax
add rcx, rsi
mov r8d, 0x38
sub r8d, eax
xor edx, edx
call sub.msvcrt.dll_memset
mov eax, dword [rdi + 0x64]
mov ecx, dword [rdi + 0x68]
shld ecx, eax, 3
mov dword [rdi + 0x68], ecx
shl eax, 3
mov dword [rdi + 0x64], eax
test rbx, rbx
pxor xmm0, xmm0
movdqu xmm1, xmmword [rdi + 0x20]
movdqu xmm2, xmmword [rdi + 0x30]
movdqu xmm3, xmmword [rdi + 0x40]
movdqa xmm4, xmm1
punpckhbw xmm4, xmm0
pshuflw xmm4, xmm4, 0x1b
pshufhw xmm4, xmm4, 0x1b
punpcklbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
packuswb xmm1, xmm4
movdqu xmmword [rdi + 0x20], xmm1
movdqa xmm1, xmm2
punpckhbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
packuswb xmm2, xmm1
movdqu xmmword [rdi + 0x30], xmm2
movdqa xmm1, xmm3
punpckhbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
punpcklbw xmm3, xmm0
pshuflw xmm0, xmm3, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm1
movdqu xmmword [rdi + 0x40], xmm0
mov edx, dword [rdi + 0x50]
bswap edx
mov dword [rdi + 0x50], edx
mov edx, dword [rdi + 0x54]
bswap edx
mov dword [rdi + 0x54], edx
mov dword [rdi + 0x58], ecx
mov dword [rdi + 0x5c], eax
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400a0c80
Function at 0x140192f10
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
call fcn.14006bbe0
test rdi, rdi
je 0x14006bdc3
mov rax, qword [0x1402d66b0]
mov rcx, rsi
mov rdx, rdi
call qword [rax + 0x20]
cmp rdi, 0x20
jne 0x14006bdc3
mov r8d, 0x20
mov rcx, rsi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140192f10
nop
add rsp, 0x28
pop rdi
pop rsi
ret
push rsi
push rdi
sub rsp, 0x88
mov rsi, rcx
mov qword [rsp + 0x40], 0
movaps xmm0, xmmword [0x14026bda0]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x14026bdb0]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.140191da0
mov rcx, rdi
mov rdx, rsi
call fcn.140192df0
xor eax, eax
add rsp, 0x88
pop rdi
pop rsi
ret

Function at 0x1401934b0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov qword [0x1402d5d90], rax
cmp rax, 0xf
jbe 0x1401934e8
lea rcx, [0x1402d6790]
mov edx, 0x10
call fcn.14006bcd0
xor eax, eax
add rsp, 0x58
ret
call fcn.14006c010
int3

Function at 0x140195450
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
test byte [rcx + 0xa8b], 0x20
jne 0x14019546e
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp qword [rcx + 0x258], 0
je 0x1401954ca
mov rcx, rbx
call fcn.1401a1950
mov r14d, eax
mov rcx, rbx
mov dl, 1
call fcn.1401a1910
mov rax, qword [rbx + 0x1d0]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov edx, ebp
mov r8, rdi
mov r9, rsi
call qword [rbx + 0x258]
mov rcx, rbx
mov edx, r14d
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp fcn.1401a1910
cmp ebp, 2
ja 0x140195463
mov eax, ebp
lea rax, [rax + rax*2]
lea rcx, [0x14026bff0]
add rcx, rax
mov r9, qword [rbx + 0x1c8]
mov edx, 2
mov r8d, 1
call sub.msvcrt.dll_fwrite
mov r9, qword [rbx + 0x1c8]
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp sub.msvcrt.dll_fwrite
Function at 0x140197ef0
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x1c0
test cl, 2
jne 0x140197f74
call fcn.1401ecee0
mov esi, eax
test eax, eax
jne 0x140197fa2
lea rcx, str.iphlpapi.dll
call fcn.140197fb0
mov qword [0x1402db958], rax
test rax, rax
je 0x140197f40
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x140197f40
mov qword [0x1402d7288], rax
mov dword [rsp + 0x20], 3
xor esi, esi
mov ecx, 6
xor edx, edx
xor r8d, r8d
mov r9d, 2
call fcn.1401ed150
mov byte [0x1402d7290], al
lea rcx, [0x1402d7280]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
jmp 0x140197fa2
lea rdx, [rsp + 0x28]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140197f9d
movzx eax, word [rsp + 0x28]
cmp eax, 0x202
je 0x140197efd
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, 2
mov eax, esi
add rsp, 0x1c0
pop rsi
ret

Function at 0x140197fb0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test rax, rax
je 0x14019800f
mov rdi, rax
lea rdx, str.LoadLibraryExA
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rbx, rax
lea rdx, [0x14026c294]
mov rcx, rsi
call sub.msvcrt.dll_strpbrk
test rax, rax
je 0x140198020
test rbx, rbx
je 0x140198059
mov rax, rbx
mov rcx, rsi
xor edx, edx
mov r8d, 8
jmp 0x14019804b
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov r15, rbx
test rbx, rbx
je 0x14019806e
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x14019806e
mov rcx, rsi
xor edx, edx
mov r8d, 0x800
mov rax, r15
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp rax
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x140198011
mov r14d, eax
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdx, qword [0x1402654c8]
lea ecx, [r14 + 1]
add rcx, rax
call qword [rdx]
mov rdi, rax
test rax, rax
je 0x1401980ea
mov rcx, rdi
mov edx, r14d
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x1401980ea
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov word [rdi + rax], 0x5c
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov rcx, rdi
add rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_strcpy
mov rcx, rdi
test r15, r15
je 0x1401980ee
xor edx, edx
mov r8d, 8
call r15
jmp 0x1401980f4
xor ebx, ebx
jmp 0x1401980f7
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x1402654c0]
mov rcx, rdi
call qword [rax]
jmp 0x140198011
Function at 0x1401a1e30
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.msvcrt.dll__read
cdqe
add rsp, 0x28
ret

Function at 0x1401a2710
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov qword [rsp + 0x88], 0
xor esi, esi
test rdx, rdx
je 0x1401a297f
mov rdi, r8
mov rbx, rdx
test r8, r8
jne 0x1401a2748
mov rdi, qword [rbx]
test byte [rbx + 0x28], 4
jne 0x1401a297f
test rdi, rdi
je 0x1401a297f
cmp byte [rdi], 0
je 0x1401a297f
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x88]
mov rdx, rdi
call fcn.140214460
mov esi, eax
test eax, eax
jne 0x1401a296e
mov r9, qword [rsp + 0x90]
lea rcx, str._Your_alt_svc_cache._https:__curl.se_docs_alt_svc.html_n_This_file_was_generated_by_libcurl__Edit_at_your_own_risk._n
mov edx, 0x75
mov r8d, 1
call sub.msvcrt.dll_fwrite
mov r12, qword [rbx + 8]
xor esi, esi
test r12, r12
je 0x1401a2928
mov qword [rsp + 0xa0], rdi
lea rsi, [0x14026ce68]
jmp 0x1401a287a
lea rcx, [0x14026ce6e]
mov rdx, qword [rbp + 0x10]
movzx r10d, word [rbp + 0x18]
mov r11d, dword [rsp + 0xc4]
mov eax, 0x76c
add r11d, eax
mov r14d, dword [rsp + 0xc0]
inc r14d
mov ebx, dword [rsp + 0xbc]
mov r13d, dword [rsp + 0xb8]
mov r9, rsi
mov esi, dword [rsp + 0xb0]
mov edi, dword [rsp + 0xb4]
movzx eax, byte [rbp + 0x28]
mov ebp, dword [rbp + 0x2c]
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x68], esi
mov rsi, r9
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x20], eax
mov rcx, r15
mov r9, qword [rsp + 0xa8]
lea rdx, str._s__s__u__s__s__u___d_02d_02d__02d:_02d:_02d___u__d_n
call fcn.1401ac6b0
test r12, r12
je 0x1401a291a
mov rbp, qword [r12]
mov r12, qword [r12 + 0x10]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rbp + 0x20]
lea rdx, [rsp + 0xb0]
call fcn.140214420
test eax, eax
jne 0x1401a291e
mov eax, dword [rbp + 0xc]
mov r8, rsi
cmp eax, 8
je 0x1401a28ce
cmp eax, 0x20
je 0x1401a28be
cmp eax, 0x10
jne 0x1401a28c7
lea r8, [0x14026ce6b]
jmp 0x1401a28ce
lea r8, [0x14026ce6e]
jmp 0x1401a28ce
lea r8, [0x14026ce71]
mov rax, qword [rbp]
mov qword [rsp + 0xa8], rax
movzx eax, word [rbp + 8]
mov dword [rsp + 0x9c], eax
mov edx, dword [rbp + 0x1c]
mov rcx, rsi
cmp edx, 8
je 0x1401a27cf
cmp edx, 0x20
je 0x1401a27c8
cmp edx, 0x10
jne 0x1401a290e
lea rcx, [0x14026ce6b]
jmp 0x1401a27cf
lea rcx, [0x14026ce71]
jmp 0x1401a27cf
xor esi, esi
jmp 0x1401a2920
mov esi, eax
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
call sub.msvcrt.dll_fclose
mov rcx, qword [rsp + 0x88]
test esi, esi
jne 0x1401a2960
test rcx, rcx
je 0x1401a2960
mov rdx, rdi
call fcn.140214570
test eax, eax
mov esi, 0x17
cmove esi, eax
mov rcx, qword [rsp + 0x88]
test esi, esi
je 0x1401a296e
test rcx, rcx
je 0x1401a296e
call sub.msvcrt.dll__unlink
mov rax, qword [0x1402654c0]
mov rcx, qword [rsp + 0x88]
call qword [rax]
mov eax, esi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401a5890
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1401a58a8
mov rsi, rcx
call fcn.1401ee6d0
test al, al
je 0x1401a58af
xor eax, eax
jmp 0x1401a593a
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdi, rax
mov rcx, rsi
mov edx, 0x2e
mov r8, rax
call fcn.1402147c0
test rax, rax
je 0x1401a58f2
sub rax, rsi
mov rcx, rsi
mov edx, 0x2e
mov r8, rax
call fcn.1402147c0
test rax, rax
je 0x1401a58f2
inc rax
add rdi, rsi
sub rdi, rax
jmp 0x1401a58f4
xor eax, eax
test rax, rax
cmovne rsi, rax
test rdi, rdi
jle 0x1401a5935
add rdi, rsi
mov eax, 0x1505
nop dword [rax + rax]
mov rbx, rax
shl rbx, 5
add rbx, rax
movzx ecx, byte [rsi]
inc rsi
call fcn.1401aa700
movzx eax, al
xor rax, rbx
cmp rsi, rdi
jb 0x1401a5910
movzx eax, al
jmp 0x1401a593a
mov eax, 5
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401aa370
Capabilities:
Generate random numbers via winapi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x1401aa4a6
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea r14, [rsp + 0x24]
jmp 0x1401aa3a9
sub rsi, r15
je 0x1401aa4ad
cmp rsi, 4
mov r15d, 4
cmovb r15, rsi
mov r8d, 4
mov rcx, rbx
mov rdx, r14
call fcn.1401966d0
test eax, eax
je 0x1401aa402
mov ebp, eax
cmp eax, 4
jne 0x1401aa4af
mov dword [rsp + 0x24], 0
mov ebp, 2
xor ecx, ecx
mov rdx, r14
mov r8d, 4
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jne 0x1401aa4af
mov eax, dword [rsp + 0x24]
lea rdx, [r15 - 1]
mov rcx, r15
and rcx, 3
je 0x1401aa450
xor r8d, r8d
nop word cs:[rax + rax]
mov byte [rdi + r8], al
mov eax, dword [rsp + 0x24]
shr eax, 8
mov dword [rsp + 0x24], eax
inc r8
cmp rcx, r8
jne 0x1401aa420
mov rcx, r15
sub rcx, r8
add rdi, r8
cmp rdx, 3
jae 0x1401aa460
jmp 0x1401aa3a0
mov rcx, r15
cmp rdx, 3
jb 0x1401aa3a0
nop dword [rax]
mov byte [rdi], al
mov eax, dword [rsp + 0x24]
shr eax, 8
mov dword [rsp + 0x24], eax
mov byte [rdi + 1], al
mov eax, dword [rsp + 0x24]
shr eax, 8
mov dword [rsp + 0x24], eax
mov byte [rdi + 2], al
mov eax, dword [rsp + 0x24]
shr eax, 8
mov dword [rsp + 0x24], eax
mov byte [rdi + 3], al
add rdi, 4
mov eax, dword [rsp + 0x24]
shr eax, 8
mov dword [rsp + 0x24], eax
add rcx, 0xfffffffffffffffc
jne 0x1401aa460
jmp 0x1401aa3a0
mov ebp, 0x2b
jmp 0x1401aa4af
xor ebp, ebp
mov eax, ebp
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401aa4c0
Capabilities:
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rax, r8
and rax, 0xffffffffffffff01
mov ebp, 0x2b
cmp rax, 1
jne 0x1401aa674
mov rdi, r8
dec rdi
cmp rdi, 2
jb 0x1401aa674
mov rsi, rdx
mov rbx, rcx
mov r15, rdi
shr r15, 1
lea r12, [rsp + 0x30]
lea r14, [rsp + 0x2c]
jmp 0x1401aa529
sub r15, r13
je 0x1401aa62e
cmp r15, 4
mov r13d, 4
cmovb r13, r15
mov r8d, 4
mov rcx, rbx
mov rdx, r14
call fcn.1401966d0
test eax, eax
je 0x1401aa582
mov ebp, eax
cmp eax, 4
jne 0x1401aa674
mov dword [rsp + 0x2c], 0
mov ebp, 2
xor ecx, ecx
mov rdx, r14
mov r8d, 4
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jne 0x1401aa674
mov eax, dword [rsp + 0x2c]
lea rdx, [r13 - 1]
mov rcx, r13
and rcx, 3
je 0x1401aa5d0
xor r8d, r8d
nop word cs:[rax + rax]
mov byte [r12 + r8], al
mov eax, dword [rsp + 0x2c]
shr eax, 8
mov dword [rsp + 0x2c], eax
inc r8
cmp rcx, r8
jne 0x1401aa5a0
mov rcx, r13
sub rcx, r8
add r12, r8
cmp rdx, 3
jae 0x1401aa5e0
jmp 0x1401aa520
mov rcx, r13
cmp rdx, 3
jb 0x1401aa520
nop dword [rax]
mov byte [r12], al
mov eax, dword [rsp + 0x2c]
shr eax, 8
mov dword [rsp + 0x2c], eax
mov byte [r12 + 1], al
mov eax, dword [rsp + 0x2c]
shr eax, 8
mov dword [rsp + 0x2c], eax
mov byte [r12 + 2], al
mov eax, dword [rsp + 0x2c]
shr eax, 8
mov dword [rsp + 0x2c], eax
mov byte [r12 + 3], al
add r12, 4
mov eax, dword [rsp + 0x2c]
shr eax, 8
mov dword [rsp + 0x2c], eax
add rcx, 0xfffffffffffffffc
jne 0x1401aa5e0
jmp 0x1401aa520
lea rcx, [rsp + 0x30]
xor eax, eax
lea rdx, [0x14026d67b]
nop dword [rax]
movzx r8d, byte [rcx]
mov r9, r8
shr r9, 4
movzx r9d, byte [r9 + rdx]
mov byte [rsi + rax], r9b
and r8d, 0xf
movzx r8d, byte [r8 + rdx]
mov byte [rsi + rax + 1], r8b
inc rcx
add rax, 2
cmp rdi, rax
jne 0x1401aa640
mov byte [rsi + rax], 0
xor ebp, ebp
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1401aa720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test rcx, rcx
je 0x1401aa777
test rdx, rdx
je 0x1401aa777
movzx eax, byte [rcx]
test al, al
je 0x1401aa764
inc rcx
lea r8, [0x14026d690]
nop dword [rax + rax]
movzx r9d, byte [rdx]
test r9, r9
je 0x1401aa766
movzx eax, al
movzx eax, byte [rax + r8]
cmp al, byte [r9 + r8]
jne 0x1401aa781
inc rdx
movzx eax, byte [rcx]
inc rcx
test al, al
jne 0x1401aa740
xor eax, eax
test al, al
setne cl
cmp byte [rdx], 0
sete al
xor al, cl
movzx eax, al
ret
or rcx, rdx
sete al
movzx eax, al
ret
xor eax, eax
movzx eax, al
ret

Function at 0x1401aecc0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.1401b53e0
test al, al
je 0x1401aecfd
mov ecx, 2
call qword [fcn.14009dfe0]
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0llx__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.1401aec90
mov rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1401b54e0