joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014430
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 fcn.14001b390
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001b390
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140015102
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140034228]
test eax, eax
je 0x14001519a
lea rax, [0x140034200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140034230]
mov qword [rbp - 8], rax
jmp 0x14001517e
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 0x140015172
cmp qword [rbp - 0x10], 0
je 0x140015172
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 0x140015138
lea rax, [0x140034200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001519b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400152a0
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 0x1400152c8
mov eax, 0
jmp 0x140015316
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 0x1400152f1
mov eax, 0
jmp 0x140015316
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 0x140015311
mov eax, 0
jmp 0x140015316
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14001531c
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 0x14001539a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015391
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 0x140015391
mov rax, qword [rbp - 8]
jmp 0x1400153af
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 0x140015364
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180002c93
Capabilities:
Resolve function by parsing pe exports

Disassembly:
or byte [rax - 0x7d], cl
in al, dx
push 0x247c8348
invalid
invalid
jl fcn.180002cc0
invalid

Function at 0x180002c98
Capabilities:
Resolve function by parsing pe exports

Disassembly:
or byte [rax - 0x7d], cl
in al, dx
push 0x247c8348
invalid
invalid
jl fcn.180002cc0
invalid

Function at 0x180002cac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x70]

Function at 0x180003594
Capabilities:
Set socket configuration

Disassembly:
jmp 0x18003e150
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyname
call fcn.180001055
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x18003e1ae
lea r9, str.crypto_bio_b_sock2.c
mov dword [rsp + 0x20], 0x52
lea edx, [rax + 0x5a]
lea ecx, [rax - 0x10]
lea r8d, [rax + 0x57]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call sym.libcrypto_1_1_x64.dll_BIO_socket_nbio
test eax, eax
je 0x18003e23d
mov rsi, rbx
test dil, 4
je 0x18003e254
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x18003e254
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, recv
mov dword [rsp + 0x20], 0x5c
mov r8d, eax
lea r9, str.crypto_bio_b_sock2.c
lea ecx, [rdx - 0xc]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
mov edx, 0x8a
mov dword [rsp + 0x20], 0x5d
lea r9, str.crypto_bio_b_sock2.c
lea ecx, [rdx - 0x6a]
lea r8d, [rdx - 1]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x18003e2c1
mov edx, 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x18003e2c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, recv
mov dword [rsp + 0x20], 0x65
mov r8d, eax
lea r9, str.crypto_bio_b_sock2.c
lea ecx, [rdx - 0xc]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
mov edx, 0x8a
mov dword [rsp + 0x20], 0x66
lea r9, str.crypto_bio_b_sock2.c
mov r8d, edx
lea ecx, [rdx - 0x6a]
jmp 0x18003e238
mov rcx, rbp
call fcn.18000598e
mov rcx, rbp
mov ebx, eax
call fcn.180002941
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x18003e33a
mov ecx, eax
call sym.libcrypto_1_1_x64.dll_BIO_sock_should_retry
test eax, eax
jne 0x18003e23d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
mov dword [rsp + 0x20], WSAStartup
mov ecx, edx
lea r9, str.crypto_bio_b_sock2.c
mov r8d, eax
call sym.libcrypto_1_1_x64.dll_ERR_put_error
mov edx, 0x8a
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSAGetLastError
lea r9, str.crypto_bio_b_sock2.c
lea ecx, [rdx - 0x6a]
lea r8d, [rdx - 0x23]
jmp 0x18003e238
mov eax, 1
jmp 0x18003e23f
Function at 0x18000371f
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18016e7d0
mov eax, 0x28
call fcn.180001055
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1800038cd
Capabilities:
Generate random numbers via winapi

Disassembly:
jmp 0x18013cba0
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x20
call fcn.180001055
sub rsp, rax
lea edx, [rax - 0x1f]
mov rdi, rcx
call fcn.1800027ac
mov rdx, rax
mov rcx, rdi
mov rsi, rax
call fcn.180003aad
test rax, rax
je 0x18013cc14
mov qword [rsp + 0x30], rbx
mov r8d, esi
xor ebx, ebx
mov rdx, rax
xor ecx, ecx
lea r9d, [rbx + 2]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
mov rcx, rdi
cmove rbx, rsi
mov rdx, rbx
lea r8, [rbx*8]
call fcn.180004f16
mov rcx, rdi
call fcn.18000620d
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x18013cc1c
mov rcx, rdi
call fcn.18000620d
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180003bf2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1800a0180
mov eax, 0x28
call fcn.180001055
sub rsp, rax
xor ecx, ecx
add rsp, 0x28
jmp sym.libcrypto_1_1_x64.dll_DSA_new_method

Function at 0x180003dff
Capabilities:
Hash data using sha224

Disassembly:
jmp 0x1801565b0
xor eax, eax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rax
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
mov eax, 1
mov dword [rcx], 0xc1059ed8
mov dword [rcx + 4], 0x367cd507
mov dword [rcx + 8], 0x3070dd17
mov dword [rcx + 0xc], 0xf70e5939
mov dword [rcx + 0x10], 0xffc00b31
mov dword [rcx + 0x14], 0x68581511
mov dword [rcx + 0x18], 0x64f98fa7
mov dword [rcx + 0x1c], 0xbefa4fa4
mov dword [rcx + 0x6c], 0x1c
ret

Function at 0x180004188
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180154450
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, 0x20
call fcn.180001055
sub rsp, rax
mov rsi, r9
mov rbp, r9
shr rsi, 3
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp r8, r9
jb 0x180154510
nop
xor edx, edx
test rsi, rsi
je 0x180154500
nop word [rax + rax]
movzx eax, byte [rbx + 6]
movzx ecx, byte [rbx + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx]
shl rcx, 8
add rbx, 8
or rcx, rax
xor qword [r14 + rdx*8], rcx
inc rdx
cmp rdx, rsi
jb 0x1801544a0
mov rcx, r14
call fcn.180153a80
sub rdi, rbp
cmp rdi, rbp
jae 0x180154490
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180004c96
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x180156660
push rbx
mov eax, 0xa0
call fcn.180001055
sub rsp, rax
mov rax, qword [0x1802946b8]
xor rax, rsp
mov qword [rsp + 0x90], rax
test r8, r8
mov dword [rsp + 0x20], 0x6a09e667
lea rbx, [0x1802981d8]
mov dword [rsp + 0x24], 0xbb67ae85
cmovne rbx, r8
mov dword [rsp + 0x28], 0x3c6ef372
xor eax, eax
mov dword [rsp + 0x2c], 0xa54ff53a
mov r8, rdx
mov qword [rsp + 0x40], rax
mov rdx, rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov dword [rsp + 0x8c], 0x20
call sym.libcrypto_1_1_x64.dll_SHA256_Update
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sym.libcrypto_1_1_x64.dll_SHA256_Final
mov edx, reloc.WS2_32.dll_WSASetLastError
lea rcx, [rsp + 0x20]
call sym.libcrypto_1_1_x64.dll_OPENSSL_cleanse
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800028c4
add rsp, 0xa0
pop rbx
ret

Function at 0x180004e2b
Capabilities:
Resolve dns

Disassembly:
jmp 0x18003daf0
mov eax, 0x28
call fcn.180001055
sub rsp, rax
add rsp, 0x28
jmp qword [sym.imp.WS2_32.dll_gethostbyname]

Function at 0x180004f7a
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x18003db90
push rbx
mov eax, gethostbyname
call fcn.180001055
sub rsp, rax
movsxd rbx, ecx
test edx, edx
je 0x18003dbcc
lea r9, str.crypto_bio_b_sock.c
mov dword [rsp + 0x20], 0x16b
lea edx, [rax + 0x5d]
lea ecx, [rax - 0x10]
lea r8d, [rax + 0x5c]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [r8]
mov dword [rsp + 0x48], 0x1c
call fcn.180003c8d
mov rdx, rax
lea r8, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x18003dc3f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], 0x160
mov r8d, eax
lea r9, str.crypto_bio_b_sock.c
lea ecx, [rdx - 0xe]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
mov edx, 0x8d
mov dword [rsp + 0x20], 0x161
lea r9, str.crypto_bio_b_sock.c
lea ecx, [rdx - 0x6d]
lea r8d, [rdx - 9]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
xor eax, eax
add rsp, 0x30
pop rbx
ret
movsxd rax, dword [rsp + 0x48]
cmp rax, 0x1c
jbe 0x18003dc72
mov edx, 0x8d
mov dword [rsp + 0x20], 0x165
lea r9, str.crypto_bio_b_sock.c
lea ecx, [rdx - 0x6d]
lea r8d, [rdx - 8]
call sym.libcrypto_1_1_x64.dll_ERR_put_error
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x180006acd
Capabilities:
Hash data using sha512
Resolve function by parsing pe exports

Disassembly:
jmp 0x180159170
mov eax, 0x28
call fcn.180001055
sub rsp, rax
lea r8d, [rax - 0x27]
add rsp, 0x28
jmp fcn.180159470

Function at 0x180006bc7
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x1801549b0
mov eax, 0x28
call fcn.180001055
sub rsp, rax
lea r8d, [rax - 0x27]
add rsp, 0x28
jmp fcn.180154b50
Function at 0x18000722f
Capabilities:
Hash data with md5

Disassembly:
jmp 0x180109180
xor eax, eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov dword [rcx + 0x58], eax
mov eax, 1
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
ret
Function at 0x1800a0180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1800a0180
mov eax, 0x28
call fcn.180001055
sub rsp, rax
xor ecx, ecx
add rsp, 0x28
jmp sym.libcrypto_1_1_x64.dll_DSA_new_method
Function at 0x180103b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180103b90
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.180001055
sub rsp, rax
mov rax, qword [0x1802946b8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r14d, r8d
movzx r8d, byte [rax + 4]
lea rdi, [rax + 1]
mov r13, qword [rbp + 0x68]
mov rsi, rcx
movzx ecx, byte [rdi + 5]
mov r12, rdx
movzx r10d, byte [rax]
lea rdx, [rdi + 5]
mov qword [rbp - 0x18], rax
xor r15d, r15d
movzx eax, byte [rdi]
mov ebx, dword [r13]
shl eax, 0x10
shl r10d, 0x18
or r10d, eax
shl r8d, 0x18
movzx eax, byte [rdi + 1]
shl eax, 8
or r10d, eax
shl ecx, 8
movzx eax, byte [rdi + 2]
or r10d, eax
mov qword [rbp - 0x28], r9
movzx eax, byte [rdi + 4]
shl eax, 0x10
or r8d, eax
mov qword [rbp - 0x20], r13
movzx eax, byte [rdx + 1]
or ecx, eax
mov dword [rbp - 0x30], r10d
or r8d, ecx
mov byte [rbp - 0xd], r10b
mov eax, r10d
mov dword [rbp - 0x2c], r8d
shr eax, 0x18
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
mov byte [rbp - 0xa], al
mov byte [rbp - 9], r8b
test r14d, r14d
je 0x180103d54
mov r13, qword [rbp - 0x28]
sub r12, rsi
movzx edx, r8b
movzx r9d, r10b
nop dword [rax]
dec r14d
test ebx, ebx
jne 0x180103cf3
mov rdx, r13
lea rcx, [rbp - 0x30]
call sym.libcrypto_1_1_x64.dll_IDEA_encrypt
mov r10d, dword [rbp - 0x30]
mov eax, r10d
mov r8d, dword [rbp - 0x2c]
movzx r9d, r10b
shr eax, 0x18
movzx edx, r8b
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, r8d
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, r8d
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, r8d
shr eax, 8
mov byte [rbp - 0xa], al
inc r15d
mov byte [rbp - 0xd], r10b
mov byte [rbp - 9], dl
movsxd rax, ebx
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi]
mov byte [r12 + rsi], cl
inc rsi
inc ebx
and ebx, 7
test r14d, r14d
jne 0x180103c90
mov r13, qword [rbp - 0x20]
test r15d, r15d
je 0x180103d54
mov rcx, qword [rbp - 0x18]
mov eax, r10d
shr eax, 0x18
mov byte [rcx], al
mov eax, r10d
shr eax, 0x10
mov byte [rdi], al
mov eax, r8d
shr eax, 0x18
shr r10d, 8
mov byte [rdi + 1], r10b
mov byte [rdi + 2], r9b
mov byte [rdi + 3], al
mov eax, r8d
shr eax, 0x10
mov byte [rdi + 4], al
shr r8d, 8
mov byte [rdi + 5], r8b
mov byte [rdi + 6], dl
mov dword [r13], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800028c4
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180108ef0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
jmp 0x180108ef0
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.180001055
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x180108f83
movzx eax, byte [rcx]
test al, al
je 0x180108f83
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.180006fa5
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x180108f20
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x180145450
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180145450
mov eax, 0x28
call fcn.180001055
sub rsp, rax
mov rcx, qword [rcx + 0x18]
add rsp, 0x28
jmp sym.libcrypto_1_1_x64.dll_BN_num_bits
Function at 0x180154450
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
jmp 0x180154450
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, 0x20
call fcn.180001055
sub rsp, rax
mov rsi, r9
mov rbp, r9
shr rsi, 3
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp r8, r9
jb 0x180154510
nop
xor edx, edx
test rsi, rsi
je 0x180154500
nop word [rax + rax]
movzx eax, byte [rbx + 6]
movzx ecx, byte [rbx + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx]
shl rcx, 8
add rbx, 8
or rcx, rax
xor qword [r14 + rdx*8], rcx
inc rdx
cmp rdx, rsi
jb 0x1801544a0
mov rcx, r14
call fcn.180153a80
sub rdi, rbp
cmp rdi, rbp
jae 0x180154490
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x1801549b0
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x1801549b0
mov eax, 0x28
call fcn.180001055
sub rsp, rax
lea r8d, [rax - 0x27]
add rsp, 0x28
jmp fcn.180154b50
Function at 0x180159170
Capabilities:
Hash data using sha512
Resolve function by parsing pe exports

Disassembly:
jmp 0x180159170
mov eax, 0x28
call fcn.180001055
sub rsp, rax
lea r8d, [rax - 0x27]
add rsp, 0x28
jmp fcn.180159470
Function at 0x12936c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x12936cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x12936dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x12936c5
lea eax, [rcx + 1]
jmp 0x12936eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x12936fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x12936e4
sub eax, 3
jb 0x129371e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x129376d
sar eax, 1
movsxd rbp, eax
jb 0x1293754
jmp 0x129372c
add ebx, ebx
jne 0x129372a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1293754
inc ecx
add ebx, ebx
jne 0x129373a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1293754
call r11
adc ecx, ecx
add ebx, ebx
jne 0x129374d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x129373c
add ecx, 2
jmp 0x1293759
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01293682
jmp 0x12936cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x64c400
mov dl, 0x53
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x12937b9
cmp rsi, rcx
jae 0x12937c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x12937a0
cmp al, 0x8f
ja 0x12937a0
cmp byte [rsi - 2], 0xf
je 0x12937a6
sub al, 0xe8
cmp al, 1
ja 0x129378a
cmp rsi, rcx
jae 0x12937c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1293790
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x12937c1
lodsb al, byte [rsi]
jmp 0x12937a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe7f000]
mov eax, dword [rdi]
or eax, eax
je 0x129381e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xea3e6c]
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 0x12937ce
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 0x1293818
mov qword [rbx], rax
add rbx, 8
jmp 0x12937ee
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 0x1293862
cmp al, 0xef
ja 0x129384a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x129382a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1293839
mov eax, dword [rdi]
add rdi, 4
jmp 0x1293839
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 + 0x1af]
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 0x12938b6
sub rsp, 0xffffffffffffff80
jmp 0x463740
Function at 0x46d020
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x00d54c80]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x00d546fb], 0
je 0x46d05d
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00d54fc0]
aesenc xmm0, xmmword [0x00d54fd0]
aesenc xmm0, xmmword [0x00d54fe0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x40a660

Function at 0x1004010e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
lea r9, str._______________Q_msgkey____M_shmkey____S_semkey__...
lea r8, str.usage:_ipcrm___q_msqid____m_shmid____s_semid_
lea rdx, str._s_n_s_n
call sub.cygwin1.dll_fprintf
mov ecx, 1
call sub.cygwin1.dll_exit
nop
nop word cs:[rax + rax]