joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400572e0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140057315
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140007a90
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140057434
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1400573af
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140057423
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x1400573e8
mov r10, qword [rdx]
cmp r10, rax
je 0x1400573e2
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140057423
cmp r8, rdx
je 0x1400573ff
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140057445
cmp r8, rdx
jne 0x1400573f0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140057380
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140057423
Function at 0x140067140
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400f2230]
xor r10d, r10d
mov byte [rbp - 0x20], 0xb
movabs rdi, 0x992b9cc39385655c
mov byte [rbp - 0x1f], 0x73
mov r11, rdi
mov byte [rbp - 0x1e], 6
mov byte [rbp - 0x1d], 0x79
lea esi, [r10 + 0xf]
mov byte [rbp - 0x1c], 6
mov byte [rbp - 0x1b], 5
mov byte [rbp - 0x1a], 8
mov byte [rbp - 0x19], 0xf
mov byte [rbp - 0x18], 9
mov byte [rbp - 0x17], 0x1d
mov byte [rbp - 0x16], 0x4a
mov byte [rbp - 0x15], 0xd
mov byte [rbp - 0x14], 0xc
mov byte [rbp - 0x13], 5
mov byte [rbp - 0x12], 0xd
mov byte [rbp - 0x11], 7
mov byte [rbp - 0x10], 3
mov byte [rbp - 0xf], 0x1c
mov byte [rbp - 0xe], 0xe
mov byte [rbp - 0xd], 0xd
mov byte [rbp - 0xc], 0x75
movzx eax, byte [rbp - 0x20]
lea rax, [rbp - 0x20]
sub r11, rax
mov rax, r10
lea r8, [rbp - 0x20]
add r8, r10
and eax, esi
cmp rax, rsi
mov rdx, rdi
cmovae rax, rsi
movzx r9d, byte [r8]
add r8b, r11b
shl al, 2
movzx ecx, al
shr rdx, cl
and dl, sil
xor dl, r8b
xor dl, r9b
mov byte [rbp + r10 - 0x20], dl
inc r10
cmp r10, 0x15
jb 0x1400671d1
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140050390
lea rdx, [0x140050560]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movabs rsi, 0x7fffffff88ca6bfe
movabs rdi, 0x7fffffffffffffff
nop
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rbx, 0x989680
jne 0x140067261
imul rcx, r8, 0x64
jmp 0x140067287
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, r8
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
cmp rcx, rsi
jg 0x1400672a2
add rcx, 0x77359400
mov qword [rbp + 0x18], rcx
lea rcx, [rbp + 0x18]
call fcn.140009730
jmp 0x140067240
lea rcx, [rbp + 0x18]
mov qword [rbp + 0x18], rdi
call fcn.140009730
jmp 0x140067240
Function at 0x1400675f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor esi, esi
lea r8, [0x140066fb0]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movabs rbp, 0x7fffffffffffffff
movabs r14, 0x7ffffffffd050f7e
lea rcx, [rsp + 0x30]
call fcn.140049090
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rax]
movzx edi, byte [rcx + 0xb0]
test rbx, rbx
je 0x140067682
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140067682
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140067682
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
test dil, dil
jne 0x140067702
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rbx, 0x989680
jne 0x1400676a8
imul rcx, r8, 0x64
jmp 0x1400676ce
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, r8
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
cmp rcx, r14
jg 0x1400676ee
add rcx, 0x2faf080
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x70]
call fcn.140009730
jmp 0x140067635
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rbp
call fcn.140009730
jmp 0x140067635
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
lea r8, [0x140003a00]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x1400f23e8]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rbx, qword [rsp + 0x60]
cmp eax, 0xffffffff
mov rbp, qword [rsp + 0x68]
setne sil
mov eax, esi
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x140067950
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140156dc8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 1
call fcn.1400ecea0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140067a30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400679ea
cmp dword [rsp + 0x38], 0
jne 0x1400679b5
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400679d8
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ece80
add rsp, 0x68
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140067a80
Capabilities:
Connect pipe
Create pipe
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140156dc8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov edx, 0x28
mov rbx, rcx
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140067cad
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x140067cad
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x140067cad
mov qword [rsp + 0xb8], rdi
lea rax, [rbp - 9]
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0x88], r14
xor r14d, r14d
mov qword [rsp + 0x80], r15
movabs r15, 0xc1f0309b8026cde2
mov rdi, r15
mov dword [rbp + 0xf], 0x18
sub rdi, rax
mov qword [rbp + 0x17], rsi
lea r12d, [r14 + 0xf]
mov dword [rbp + 0x1f], r14d
nop word [rax + rax]
mov byte [rbp - 9], 0xbc
mov byte [rbp - 8], 0xb1
mov byte [rbp - 7], 0xc7
mov byte [rbp - 6], 0xb5
mov byte [rbp - 5], 0x90
mov byte [rbp - 4], 0x8c
mov byte [rbp - 3], 0x98
mov byte [rbp - 2], 0x84
mov byte [rbp - 1], 0xbd
mov byte [rbp], 0x94
mov byte [rbp + 1], 0x9e
mov byte [rbp + 2], 0x81
mov byte [rbp + 3], 0x81
mov byte [rbp + 4], 0x8d
mov byte [rbp + 5], 0xae
mov byte [rbp + 6], 0x90
mov byte [rbp + 7], 0x93
mov byte [rbp + 8], 0xfd
movzx eax, byte [rbp - 9]
mov rax, r14
nop
mov rcx, rax
lea r8, [rbp - 9]
add r8, rax
and ecx, r12d
cmp rcx, r12
mov rdx, r15
cmovae rcx, r12
movzx r9d, byte [r8]
add r8b, dil
shl cl, 2
shr rdx, cl
and dl, r12b
xor dl, r8b
xor dl, r9b
mov byte [rbp + rax - 9], dl
inc rax
cmp rax, 0x12
jb 0x140067b90
lea rax, [rbp + 0xf]
mov edx, 0x40000003
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 9]
mov dword [rsp + 0x30], r14d
mov r9d, 0xff
mov dword [rsp + 0x28], 0x800
mov r8d, 6
mov dword [rsp + 0x20], 0x800
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rbx + 0xd8], rax
cmp rax, 0xffffffffffffffff
je 0x140067ca9
cmp byte [0x1401b3eec], r14b
jne 0x140067c3a
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140067c33
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbx + 0xd8]
mov byte [0x1401b3eec], 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
setne cl
mov byte [rbx + 0x80], cl
test eax, eax
je 0x140067b40
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x140067c67
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x80]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400ece80
add rsp, 0x90
pop rsi
pop rbx
pop rbp
ret
xor al, al
jmp 0x140067c72
xor al, al
jmp 0x140067c92
Function at 0x140067cc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140156dc8]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [rcx + 0x80], 0
mov rbx, rdx
mov rsi, rcx
jne 0x140067d31
mov rdx, qword [rdx + 0x18]
cmp rdx, 0x10
jb 0x140067d27
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140067d22
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140067e22
mov rcx, r8
call fcn.1400ed134
mov byte [rbx], 0
xor edi, edi
jmp 0x140067df7
mov rcx, qword [rcx + 0xd8]
cmp rcx, 0xffffffffffffffff
je 0x140067ced
xor edi, edi
cmp qword [rdx + 0x18], 0x10
mov dword [rsp + 0x30], edi
jb 0x140067d4e
mov rdx, qword [rdx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140067db1
mov eax, dword [rsp + 0x30]
cmp qword [rbx + 0x10], rax
jne 0x140067db1
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140067daa
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140067da5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140067e22
mov rcx, r8
call fcn.1400ed134
mov byte [rbx], dil
mov al, 1
jmp 0x140067df9
mov rcx, qword [rsi + 0xd8]
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140067df4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140067def
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140067e22
mov rcx, r8
call fcn.1400ed134
mov byte [rbx], dil
xor al, al
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ece80
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140079b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2e8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.140068ad0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x140079bc6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x140079c1d
mov ebp, 0x4b0000
jmp 0x140079c2b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.14006b070
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x140079c41
mov eax, r12d
jmp 0x140079c4a
mov edx, edi
mov ecx, ebp
call fcn.14006b070
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x140079c66
shl esi, 0x10
mov ecx, esi
jmp 0x140079d55
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x140079cc4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.140068ad0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x140079cb4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.14006af40
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.140068ad0
add ebx, eax
jmp 0x140079d5e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x140079cd1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x140079d10
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.140068ad0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x140079d15
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.14006af40
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.140068ad0
add ebx, eax
jmp 0x140079d5e
cmp eax, r12d
jge 0x140079d4e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.140068ad0
sub ebp, eax
sub r15d, esi
je 0x140079d4e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.14006af40
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.140068ad0
add ebx, eax
jmp 0x140079d5e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.140068ad0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.140068ad0
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400b2e40
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
mov ebp, r15d
mov dword [rcx + 0x3c], r15d
movzx esi, r15w
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x1400b2f9c
movzx r11d, r15w
mov edi, r15d
nop word [rax + rax]
mov rax, qword [rbx + 0xd0]
mov r9d, r14d
mov dword [rbx + 0x88], r15d
movzx edx, r11w
mov qword [rbx + 0x80], r15
mov rcx, rbx
movzx r8d, word [rdi + rax]
call fcn.1400b3300
test al, al
jne 0x1400b302a
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r11d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1400b2f28
cmp edx, dword [rbx + 0x60]
jl 0x1400b2f28
cmp edx, dword [rbx + 0x64]
jg 0x1400b2f28
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x1400b2f28
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x1400b2f28
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r10, qword [rbx + 0x70]
mov rax, qword [r10 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1400b2f4b
test byte [r10 + 0x18], 8
je 0x1400b2f4b
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1400b2f5c
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1400b3ce0
test al, al
jne 0x1400b302a
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1400b2f7f
mov qword [r10 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc ebp
add rdi, 2
inc r11w
cmp ebp, eax
jl 0x1400b2eb0
movzx esi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp si, 1
jbe 0x1400b302e
test rdx, rdx
je 0x1400b302e
mov ebp, 0xffff
lea r14, [rdx + 8]
cmp si, 1
jbe 0x1400b2fcc
movsxd r9, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r8, [rax + r9*4]
jmp 0x1400b2fd3
mov r9d, dword [rdx + 0x1c]
mov r8, r15
mov qword [r14], r8
test byte [rdx + 0x18], 8
mov edi, dword [rdx + 0x20]
mov r8d, edi
je 0x1400b2fe9
dec edi
add edi, r9d
jmp 0x1400b3002
sub r8d, r9d
lea eax, [r9 - 1]
inc r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov dword [rdx + 0x20], r8d
mov edx, r8d
mov rcx, rbx
call fcn.1400b3fa0
test al, al
jne 0x1400b302a
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.1400b3fa0
test al, al
jne 0x1400b302a
mov rdx, qword [r14]
add si, bp
jne 0x1400b2fb4
jmp 0x1400b3032
mov al, 1
jmp 0x1400b303d
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400df2e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, dword [r8 + 0x180]
mov r10, rcx
mov dword [rsp + 0x10], 0x3020100
mov rbx, r8
mov ecx, dword [rsp + 0x10]
mov r9d, 1
mov dword [r8 + 0x188], ecx
nop dword [rax + rax]
mov eax, r9d
add ecx, 0x4040404
inc r9d
mov dword [r8 + rax*4 + 0x188], ecx
cmp r9d, r11d
jbe 0x1400df310
xor r8d, r8d
test edx, edx
je 0x1400df381
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r10]
or r8d, eax
movzx ecx, byte [rax + rbx + 0x188]
mov byte [r10], cl
mov byte [rbx + 0x187], cl
nop dword [rax + rax]
movzx ecx, byte [rax + rbx + 0x187]
mov rdx, rax
sub rax, 1
mov byte [rdx + rbx + 0x188], cl
jns 0x1400df360
inc r10
sub r9, 1
jne 0x1400df340
shr r8d, 2
mov dword [rbx + 0x180], r8d
mov rbx, qword [rsp + 8]
ret

Function at 0x1400e3640
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call fcn.1400e36a0
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
lea rdx, str._n_nbzip2_libbzip2:_internal_error_number__d._nThis_is_a_bug_in_bzip2_libbzip2___s._nPlease_report_it_to:_bzip2_devel_sourceware.org.__If_this_happened_nwhen_you_were_using_some_program_which_uses_libbzip2_as_a_ncomponent__you_should_also_report_this_bug_to_the_author_s__nof_that_program.__Please_make_an_effort_to_report_this_bug__ntimely_and_accurate_bug_reports_eventually_lead_to_higher_nquality_software.__Thanks._n_n
mov r9, rbx
mov r8d, edi
call fcn.14003d4b0
cmp edi, 0x3ef
jne 0x1400e3694
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
lea rdx, str._n_A_special_note_about_internal_error_number_1007__n_nExperience_suggests_that_a_common_cause_of_i.e._1007_nis_unreliable_memory_or_other_hardware.__The_1007_assertion_njust_happens_to_cross_check_the_results_of_huge_numbers_of_nmemory_reads_writes__and_so_acts__unintendedly__as_a_stress_ntest_of_your_memory_system._n_nI_suggest_the_following:_try_compressing_the_file_again__npossibly_monitoring_progress_in_detail_with_the__vv_flag._n_n_If_the_error_cannot_be_reproduced__and_or_happens_at_different_n__points_in_compression__you_may_have_a_flaky_memory_system._n__Try_a_memory_test_program.__I_have_used_Memtest86_n___www.memtest86.com_.__At_the_time_of_writing_it_is_free__GPLd_._n__Memtest86_tests_memory_much_more_thorougly_than_your_BIOSs_n__power_on_test__and_may_find_failures_that_the_BIOS_doesnt._n_n_If_the_error_can_be_repeatably_reproduced__this_is_a_bug_in_n__bzip2__and_I_would_very_much_like_to_hear_about_it.__Please_n__let_me_know__and__ideally__save_a_copy_of_the_file_causing_the_n__problem____without_which_I_will_be_unable_to_investigate_it._n_n
call fcn.14003d4b0
mov ecx, 3
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x1400ede84
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400edece
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400edece
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400edece
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400edece
cmp dword [rcx + 0x84], 0xe
jbe 0x1400edece
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400eded0
xor al, al
add rsp, 0x28
ret

Function at 0x1401c8540
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1401c856d
xor al, al
jmp 0x1401c86cf
mov rax, qword [0x1401e86c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1401e86c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1401e86d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1401e86d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1401e86e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1401e86e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1401e86f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1401e86f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1401e8700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1401c86c1
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1401c8619
mov r11d, 2
jmp 0x1401c863d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1401c8633
mov r11d, 1
jmp 0x1401c863d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1401c86e5
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1401c8682
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1401c869a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1401c86aa
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1401c86b8
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1401c8600
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1401c86ca