joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058830
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0xc8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lea rdx, [rbx + 0xb0]
mov rcx, rbx
call fcn.1400585d8
xor edi, edi
test eax, eax
js 0x1400588cf
mov rcx, qword [rbx + 0xf8]
call fcn.14005b304
test eax, eax
js 0x1400588cf
mov qword [rbx + 0xd0], rdi
lea rdx, [rbx + 0xd0]
mov qword [rbx + 0xd8], rdi
mov qword [rbx + 0xe0], rdi
mov rax, qword [rbx + 0xc8]
mov rcx, qword [rbx + 0xb8]
mov qword [rbx + 0xe8], rax
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400588b2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
mov dword [rbx + 0xf0], edi
cmp edi, 0x3e5
je 0x1400588cd
mov rcx, qword [rbx + 0xe8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14005a5ec
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rbx, rdx
mov rdi, rcx
mov esi, 1
lock add dword [rcx + 0x58], esi
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_StartThreadpoolIo]
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x40], sil
mov rcx, qword [rbx]
add rcx, 0xb0
xor edx, edx
lea r8d, [rsi + 0x1f]
call sub.msvcrt.dll_memset
mov rcx, qword [rbx]
mov rax, qword [rcx + 0xa8]
mov qword [rcx + 0xc8], rax
mov r9, qword [rbx]
mov r10, qword [r9 + 0xe8]
mov r8, qword [r9 + 0xf0]
sub r8, r10
mov rax, qword [r9 + 0x90]
mov rcx, qword [rax + 0x20]
mov edx, dword [r9 + 0x100]
lea rax, [r9 + 0xb0]
sub r8d, edx
add rdx, r10
mov qword [rsp + 0x20], rax
xor r9d, r9d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x14005a6c0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3e5
je 0x14005a6c0
cmp eax, 0xea
je 0x14005a6c0
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14005a6de
mov ebx, 0x8000ffff
jmp 0x14005a6de
xor ebx, ebx
test ebx, ebx
js 0x14005a6de
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140059dea.0]
xor sil, sil
mov byte [rsp + 0x40], sil
test sil, sil
je 0x14005a6f1
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CancelThreadpoolIo]
lock dec dword [rdi + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14009e12c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 0xb
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, r9
lea r8d, [rdx - 1]
call fcn.140093244
mov rdx, qword [rbx + 8]
mov r8d, 0xf
sub rdx, qword [rbx]
mov rcx, qword [rsi]
sar rdx, 1
call fcn.140097a9c
mov rdi, qword [rbx]
mov rbx, qword [rbx + 8]
jmp 0x14009e1fc
movzx ecx, word [rdi]
add rdi, 2
mov rax, qword [rsi]
movzx edx, cx
add cx, cx
sar dx, 0xf
xor dx, cx
mov r8, qword [rax]
mov ecx, dword [r8 + 0x20]
mov r9d, dword [r8 + 0x1c]
add rcx, 2
mov eax, dword [r8 + 0x18]
add rcx, r9
cmp rcx, rax
jae 0x14009e1f4
mov rcx, qword [r8 + 0x30]
movzx eax, dx
shr ax, 7
test ax, ax
je 0x14009e1e5
or dl, 0x80
mov byte [r9 + rcx], dl
movzx edx, ax
shr dx, 7
test dx, dx
je 0x14009e1d9
mov byte [r9 + rcx + 2], dl
or al, 0x80
mov edx, 3
jmp 0x14009e1de
mov edx, 2
mov byte [r9 + rcx + 1], al
jmp 0x14009e1ee
mov byte [r9 + rcx], dl
mov edx, 1
add dword [r8 + 0x1c], edx
jmp 0x14009e1fc
mov rcx, r8
call fcn.14009c2cc
cmp rdi, rbx
jne 0x14009e176
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bcc24
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov ebx, r9d
mov r15, r8
mov r14d, edx
mov rdi, rcx
mov r9d, edx
sub r9d, 0xe
je 0x1400bcd88
sub r9d, 1
je 0x1400bccde
sub r9d, 1
je 0x1400bccb6
cmp r9d, 1
je 0x1400bcc8e
test ebx, ebx
je 0x1400bce35
mov edx, r14d
mov rcx, r15
call fcn.140091ed0
add ebx, 0xffffffff
jne 0x1400bcc79
jmp 0x1400bce35
mov qword [rbp - 0x10], r15
xor esi, esi
mov byte [rbp - 8], sil
test ebx, ebx
je 0x1400bccb1
mov byte [rbp - 8], sil
lea rdx, [rbp - 0x18]
mov rcx, r15
call fcn.140099174
add ebx, 0xffffffff
jne 0x1400bcc9c
jmp 0x1400bce35
mov qword [rbp - 0x10], r15
xor esi, esi
mov byte [rbp - 8], sil
test ebx, ebx
je 0x1400bccd9
mov byte [rbp - 8], sil
lea rdx, [rbp - 0x18]
mov rcx, r15
call fcn.140099174
add ebx, 0xffffffff
jne 0x1400bccc4
jmp 0x1400bce35
mov qword [rbp - 0x10], r15
xor esi, esi
mov byte [rbp - 8], sil
mov word [rbp + 0x38], si
mov r9, rbx
mov rbx, qword [rcx + 8]
mov r14, qword [rcx]
mov rax, rbx
sub rax, r14
sar rax, 1
cmp r9, rax
jae 0x1400bcd24
lea rax, [r14 + r9*2]
cmp rax, r14
jne 0x1400bcd16
mov qword [rcx + 8], r14
mov rbx, r14
jmp 0x1400bcd45
cmp rax, rbx
je 0x1400bcd45
mov qword [rcx + 8], rax
mov rbx, rax
jmp 0x1400bcd45
jbe 0x1400bcd45
sub r9, rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x18]
call fcn.1400bfb04
mov rbx, qword [rdi + 8]
mov r14, qword [rdi]
cmp r14, rbx
je 0x1400bcd83
mov r12d, 1
mov rdi, r14
add r14, 2
mov byte [rbp - 8], sil
lea rdx, [rbp + 0x38]
mov rcx, r15
call fcn.1400a1344
movzx eax, word [rbp + 0x38]
movzx ecx, ax
shr cx, 1
and ax, r12w
neg ax
xor cx, ax
mov word [rdi], cx
cmp r14, rbx
jne 0x1400bcd50
jmp 0x1400bce35
mov qword [rbp - 0x10], r15
xor esi, esi
mov byte [rbp - 8], sil
mov word [rbp + 0x38], si
mov rdx, rbx
mov rax, qword [rcx + 8]
mov r9, qword [rcx]
mov rcx, rax
sub rcx, r9
sar rcx, 1
cmp rbx, rcx
jae 0x1400bcdce
lea rcx, [r9 + rbx*2]
cmp rcx, r9
jne 0x1400bcdc0
mov qword [rdi + 8], r9
mov rax, r9
jmp 0x1400bcdf5
cmp rcx, rax
je 0x1400bcdf5
mov qword [rdi + 8], rcx
mov rax, rcx
jmp 0x1400bcdf5
jbe 0x1400bcdf5
sub rdx, rcx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, rdx
mov r8, rax
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.1400bfb04
mov rax, qword [rdi + 8]
mov r9, qword [rdi]
cmp r9, rax
je 0x1400bce35
mov r12d, 1
mov r11, r9
add r9, 2
mov byte [rbp - 8], sil
mov ecx, dword [r15 + 0x18]
mov r10d, dword [r15 + 0x20]
sub ecx, r10d
cmp ecx, r12d
jb 0x1400bce4e
mov rdx, qword [r15 + 0x10]
movsx r8d, byte [r10 + rdx]
lea ecx, [r10 + 1]
mov dword [r15 + 0x20], ecx
mov word [r11], r8w
cmp r9, rax
jne 0x1400bce00
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov edx, r12d
mov rcx, r15
call fcn.140071a74
int3
Function at 0x1400bd070
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov ebx, r9d
mov rdi, r8
mov r14d, edx
mov rsi, rcx
mov r9d, edx
sub r9d, 0xe
je 0x1400bd1aa
sub r9d, 1
je 0x1400bd156
sub r9d, 1
je 0x1400bd106
cmp r9d, 1
je 0x1400bd0e0
test ebx, ebx
je 0x1400bd1fb
mov edx, r14d
mov rcx, rdi
call fcn.140091ed0
add ebx, 0xffffffff
jne 0x1400bd0cb
jmp 0x1400bd1fb
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
test ebx, ebx
je 0x1400bd101
mov byte [rbp - 8], 0
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.140099174
add ebx, 0xffffffff
jne 0x1400bd0ec
jmp 0x1400bd1fb
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, ebx
call fcn.1400bea5c
mov r14, qword [rsi]
mov r15, qword [rsi + 8]
cmp r14, r15
je 0x1400bd151
mov esi, 1
mov rbx, r14
add r14, 4
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.14008cde0
mov eax, dword [rbp + 0x28]
mov ecx, eax
shr ecx, 1
and eax, esi
neg eax
xor ecx, eax
mov dword [rbx], ecx
cmp r14, r15
jne 0x1400bd126
jmp 0x1400bd1fb
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, ebx
call fcn.1400bea5c
mov r14, qword [rsi]
mov r15, qword [rsi + 8]
cmp r14, r15
je 0x1400bd1a8
mov esi, 1
mov rbx, r14
add r14, 4
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.1400a1344
movzx eax, word [rbp + 0x28]
movzx ecx, ax
shr cx, 1
and ax, si
neg ax
xor ax, cx
cwde
mov dword [rbx], eax
cmp r14, r15
jne 0x1400bd176
jmp 0x1400bd1fb
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, ebx
call fcn.1400bea5c
mov r8, qword [rsi]
mov r10, qword [rsi + 8]
cmp r8, r10
je 0x1400bd1fb
mov esi, 1
mov r11, r8
add r8, 4
mov byte [rbp - 8], 0
mov eax, dword [rdi + 0x18]
mov r9d, dword [rdi + 0x20]
sub eax, r9d
cmp eax, esi
jb 0x1400bd214
mov rcx, qword [rdi + 0x10]
movsx edx, byte [r9 + rcx]
lea eax, [r9 + 1]
mov dword [rdi + 0x20], eax
mov dword [r11], edx
cmp r8, r10
jne 0x1400bd1ca
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov edx, esi
mov rcx, rdi
call fcn.140071a74
int3
Function at 0x1400bd398
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov esi, r9d
mov rdi, r8
mov r14d, edx
mov rbx, rcx
mov ecx, edx
sub ecx, 0xe
je 0x1400bd512
sub ecx, 1
je 0x1400bd4b6
sub ecx, 1
je 0x1400bd45f
cmp ecx, 1
je 0x1400bd404
test r9d, r9d
je 0x1400bd567
mov edx, r14d
mov rcx, rdi
call fcn.140091ed0
add esi, 0xffffffff
jne 0x1400bd3ef
jmp 0x1400bd567
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400beb64
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bd45a
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140099174
mov rax, qword [rbp - 0x20]
mov rcx, rax
shr rcx, 1
and rax, rsi
neg rax
xor rcx, rax
mov qword [rbx], rcx
cmp r14, r15
jne 0x1400bd428
jmp 0x1400bd567
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400beb64
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bd4b1
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.14008cde0
mov eax, dword [rbp + 0x28]
mov ecx, eax
shr ecx, 1
and eax, esi
neg eax
xor eax, ecx
cdqe
mov qword [rbx], rax
cmp r14, r15
jne 0x1400bd483
jmp 0x1400bd567
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400beb64
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bd510
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.1400a1344
movzx eax, word [rbp + 0x28]
movzx ecx, ax
shr cx, 1
and ax, si
neg ax
xor ax, cx
movsx rax, ax
mov qword [rbx], rax
cmp r14, r15
jne 0x1400bd4da
jmp 0x1400bd567
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400beb64
mov r8, qword [rbx]
mov r10, qword [rbx + 8]
cmp r8, r10
je 0x1400bd567
mov esi, 1
mov r11, r8
add r8, 8
mov byte [rbp - 8], 0
mov eax, dword [rdi + 0x18]
mov r9d, dword [rdi + 0x20]
sub eax, r9d
cmp eax, esi
jb 0x1400bd580
mov rcx, qword [rdi + 0x10]
movsx rdx, byte [r9 + rcx]
lea eax, [r9 + 1]
mov dword [rdi + 0x20], eax
mov qword [r11], rdx
cmp r8, r10
jne 0x1400bd536
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov edx, esi
mov rcx, rdi
call fcn.140071a74
int3
Function at 0x1400cb220
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14013c4b8], rbx
je 0x1400cb26c
cmp rax, rbx
jne 0x1400cb25f
mov ebx, 1
mov esi, ebx
jmp 0x1400cb271
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400cb244
mov ebx, 1
mov eax, dword [0x14013c4c0]
cmp eax, ebx
jne 0x1400cb287
mov ecx, 0x1f
call fcn.1401d6000
jmp 0x1400cb2ec
mov eax, dword [0x14013c4c0]
test eax, eax
jne 0x1400cb2e6
mov dword [0x14013c4c0], ebx
lea r15, [0x1400d9928]
lea rdi, [0x1400d9910]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400cb2d8
test eax, eax
jne 0x1400cb2dc
cmp qword [rdi], 0
je 0x1400cb2cd
mov rax, qword [rdi]
mov rcx, qword [case.0x140059dea.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400cb2ae
test eax, eax
je 0x1400cb2ec
mov eax, 0xff
jmp 0x1400cb3c8
mov dword [0x14012c740], ebx
mov eax, dword [0x14013c4c0]
cmp eax, ebx
jne 0x1400cb313
lea rdx, [0x1400d9908]
lea rcx, [0x1400d8fa0]
call sub.msvcrt.dll__initterm
mov dword [0x14013c4c0], 2
test esi, esi
jne 0x1400cb320
xor eax, eax
xchg qword [0x14013c4b8], rax
cmp qword [0x14013c4d8], 0
je 0x1400cb354
lea rcx, [0x14013c4d8]
call fcn.1400cb840
test eax, eax
je 0x1400cb354
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14013c4d8]
mov r9, qword [case.0x140059dea.0]
call r9
mov r8, qword [0x14012c758]
mov rdx, qword [0x14012c750]
mov ecx, dword [0x14012c748]
call fcn.14000a998
mov dword [0x14012c73c], eax
cmp dword [0x14012c760], 0
jne 0x1400cb384
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14012c740], 0
jne 0x1400cb399
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14012c73c]
jmp 0x1400cb3c8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400cb8d4
add rsp, 0x28
jmp 0x1400cb220

Function at 0x1400cb72c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400cb778
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400cb770
cmp dword [rcx + 0x3c], edx
jl 0x1400cb770
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400cb770
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400cb778
mov rax, rdx
add rsp, 0x18
ret
Function at 0x142287058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1422871df
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 0x142287089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14228706f
add dl, dl
jne 0x142287096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1422870f6
xor eax, eax
add dl, dl
jne 0x1422870a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1422871ad
add dl, dl
jne 0x1422870b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1422870c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1422870d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1422870dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1422870ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14228707e
mov eax, 1
add dl, dl
jne 0x142287106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142287113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1422870fb
sub eax, ebx
mov ebx, 1
jne 0x14228714c
mov ecx, 1
add dl, dl
jne 0x14228712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14228713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142287123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14228707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142287168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142287175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14228715d
cmp eax, 0x7d00
jae 0x14228719b
cmp eax, 0x500
jb 0x142287196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14228707e
cmp eax, 0x7f
ja 0x14228719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14228707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1422871d2
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 0x14228707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140027b00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140027b0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140027b1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140027b05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140027b35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140027b22
sub eax, 3
jb 0x140027b4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140027b86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140027b76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140027b74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140027b63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140027ac2
jmp 0x140027b0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1a800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140027bd2
cmp rsi, rcx
jae 0x140027bda
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140027bb9
cmp al, 0x8f
ja 0x140027bb9
cmp byte [rsi - 2], 0xf
je 0x140027bbf
sub al, 0xe8
cmp al, 1
ja 0x140027ba3
cmp rsi, rcx
jae 0x140027bda
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140027ba9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140027bda
lodsb al, byte [rsi]
jmp 0x140027bb9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x25000]
mov eax, dword [rdi]
or eax, eax
je 0x140027c37
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x27000]
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 0x140027be7
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 0x140027c31
mov qword [rbx], rax
add rbx, 8
jmp 0x140027c07
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 0x140027c71
cmp al, 0xef
ja 0x140027c63
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140027c43
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140027c52
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 + 0x1a7]
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 0x140027cc5
sub rsp, 0xffffffffffffff80
jmp 0x140015070
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140012e80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011271
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400141d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400141f0
xor al, al
jmp 0x140014271
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014203
xor al, al
jmp 0x140014271
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001422d
xor al, al
jmp 0x140014271
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014241
xor al, al
jmp 0x140014271
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014253
xor al, al
jmp 0x140014271
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001426f
xor al, al
jmp 0x140014271
mov al, 1
add rsp, 0x38
ret
Function at 0x140011343
Capabilities:
Create thread

Disassembly:
jmp 0x1400118a0
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001c300]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14002109f]
call fcn.14001137a
mov r9d, 0x14
lea r8, str.YourEncryptionKey123
mov edx, 0x257
lea rcx, section..data
call fcn.1400113c0
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x257
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140011995
mov r8d, 0x257
lea rdx, section..data
mov rcx, qword [rbp + 8]
call fcn.1400111ae
lea r9, [rbp + 0x44]
mov r8d, 0x20
mov edx, 0x257
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x28], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp - 0x30]
lea rdx, [0x140019c20]
call fcn.140011302
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111a9
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x4019a0
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r13, rdx
lea rcx, [rcx + 0x70]
lea rdx, [0x00418129]
call fcn.00403830
mov r12, rax
test rax, rax
je 0x401ac0
mov edx, dword [r13 + 4]
xor r8d, r8d
add edx, dword [rbx]
mov rcx, rax
call fcn.0040e980
test eax, eax
js 0x401aa0
mov esi, dword [r13 + 0xc]
mov rcx, rsi
call sub.msvcrt.dll_malloc
mov r14, rax
test rax, rax
je 0x401ad5
cmp byte [r13 + 0x10], 1
je 0x401a80
mov rdi, rax
test rsi, rsi
jne 0x401a20
jmp 0x401a67
add rdi, rbx
sub rsi, rbx
je 0x401a67
mov ebx, 0x2000
mov r9, r12
mov r8d, 1
mov rcx, rdi
cmp rsi, rbx
cmovbe rbx, rsi
mov rdx, rbx
call sub.msvcrt.dll_fread
test rax, rax
jne 0x401a18
lea r8, [r13 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.004024f0
mov rcx, r14
xor r14d, r14d
call sub.msvcrt.dll_free
mov rcx, r12
call sub.msvcrt.dll_fclose
mov rax, r14
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
xor r8d, r8d
mov r9, rax
mov rdx, r13
mov rcx, r12
call fcn.00401590
test eax, eax
je 0x401a67
jmp 0x401a5c
lea r8, [r13 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
xor r14d, r14d
lea rcx, str.fseek
call fcn.004024f0
jmp 0x401a67
lea rdx, [r13 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
xor r14d, r14d
call fcn.00402490
jmp 0x401a6f
mov r9d, esi
lea r8, [r13 + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.004024f0
jmp 0x401a67