joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401f89a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movsxd rdi, r8d
add rcx, 8
mov rsi, rdx
call fcn.1400910b0
lea rcx, [rbx + 0x38]
mov rbp, rax
call fcn.1400910b0
mov r9d, dword [rsi + rdi*4 + 4]
mov rcx, rdi
mov r10d, dword [rsi + rcx*4]
lea rdi, [rsi + rdi*4]
xor r10d, dword [rbp]
lea rsi, [rsi + rcx*4]
xor ebx, ebx
mov r11, rax
nop
inc ebx
mov ecx, r10d
and ecx, 0xff0000
mov eax, r10d
shr rax, 0x18
bts rcx, 0x18
shr rcx, 0x10
mov edx, dword [r11 + rcx*4]
add edx, dword [r11 + rax*4]
mov eax, r10d
and eax, 0xff00
bts rax, 0x11
shr rax, 8
xor edx, dword [r11 + rax*4]
movzx eax, r10b
or rax, 0x300
add edx, dword [r11 + rax*4]
xor edx, dword [rbp + rbx*4]
inc ebx
xor r9d, edx
mov ecx, r9d
and ecx, 0xff0000
mov eax, r9d
shr rax, 0x18
bts rcx, 0x18
shr rcx, 0x10
mov edx, dword [r11 + rcx*4]
add edx, dword [r11 + rax*4]
mov eax, r9d
and eax, 0xff00
bts rax, 0x11
shr rax, 8
xor edx, dword [r11 + rax*4]
movzx eax, r9b
or rax, 0x300
add edx, dword [r11 + rax*4]
xor edx, dword [rbp + rbx*4]
xor r10d, edx
cmp ebx, 0xe
jbe 0x1401f89f0
xor r9d, dword [rbp + 0x44]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov dword [rsi], r9d
mov rsi, qword [rsp + 0x40]
mov dword [rdi + 4], r10d
add rsp, 0x20
pop rdi
ret
Function at 0x1401f8e80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rcx
xor ebx, ebx
add rcx, 8
mov qword [rsp + 0x20], rbx
mov r13d, r8d
call fcn.1400913e0
cdq
lea rcx, [r14 + 0x38]
and edx, 3
add eax, edx
sar eax, 2
movsxd rsi, eax
call fcn.1400913e0
cdq
lea rcx, [r14 + 8]
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x88], eax
call fcn.1400910b0
lea rcx, [r14 + 0x38]
mov r15, rax
call fcn.1400910b0
mov r12, rax
test rsi, rsi
jle 0x1401f8f8a
mov r10, qword [rsp + 0x78]
mov r9d, ebx
mov eax, ebx
nop
movsxd rcx, eax
inc eax
cdq
idiv r13d
movzx r8d, byte [rcx + r10]
movsxd rax, edx
shl r8d, 8
movzx ecx, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or ecx, r8d
idiv r13d
shl ecx, 8
movsxd rax, edx
movzx r8d, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or r8d, ecx
idiv r13d
shl r8d, 8
movsxd rax, edx
movzx ecx, byte [rax + r10]
lea eax, [rdx + 1]
cdq
or ecx, r8d
xor dword [r15 + r9*4], ecx
inc r9
idiv r13d
mov eax, edx
cmp r9, rsi
jl 0x1401f8f00
mov rdi, rbx
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1401f89a0
mov eax, dword [rsp + 0x20]
mov dword [r15 + rdi*4], eax
mov eax, dword [rsp + 0x24]
mov dword [r15 + rdi*4 + 4], eax
add rdi, 2
cmp rdi, rsi
jl 0x1401f8f60
movsxd rdi, dword [rsp + 0x88]
test rdi, rdi
jle 0x1401f8fca
nop word [rax + rax]
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1401f89a0
mov eax, dword [rsp + 0x20]
mov dword [r12 + rbx*4], eax
mov eax, dword [rsp + 0x24]
mov dword [r12 + rbx*4 + 4], eax
add rbx, 2
cmp rbx, rdi
jl 0x1401f8fa0
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401f9fe0
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x28]
mov rbp, rdx
cmp eax, r8d
mov esi, eax
mov rdi, rcx
cmova esi, r8d
test esi, esi
jne 0x1401fa017
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
sub eax, esi
mov qword [rsp + 0x30], rbx
cmp byte [rcx + 0x18], 0
mov dword [rcx + 0x28], eax
je 0x1401fa17b
mov r9, qword [rcx + 0x20]
mov r11d, esi
mov r8d, dword [rcx + 0x1c]
movzx ecx, r8w
shr r8d, 0x10
test r9, r9
jne 0x1401fa050
lea r8d, [r9 + 1]
jmp 0x1401fa177
mov edx, 0x15b0
cmp r11d, edx
cmovb edx, r11d
sub r11d, edx
cmp edx, 0x10
jb 0x1401fa120
mov r10d, edx
shr r10, 4
nop
movzx eax, byte [r9]
add edx, 0xfffffff0
add ecx, eax
movzx eax, byte [r9 + 1]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 2]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 3]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 4]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 5]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 6]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 7]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 8]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 9]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xa]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xb]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xc]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xd]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xe]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xf]
add r8d, ecx
add r9, 0x10
add ecx, eax
add r8d, ecx
sub r10, 1
jne 0x1401fa070
test edx, edx
je 0x1401fa141
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9]
inc r9
add ecx, eax
add r8d, ecx
add edx, 0xffffffff
jne 0x1401fa130
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r8d, eax
test r11d, r11d
jne 0x1401fa050
shl r8d, 0x10
or r8d, ecx
mov dword [rdi + 0x1c], r8d
mov rdx, qword [rdi + 0x20]
mov rcx, rbp
mov r8d, esi
mov ebx, esi
call sub.VCRUNTIME140.dll_memcpy
add qword [rdi + 0x20], rbx
mov eax, esi
add dword [rdi + 0x2c], esi
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401fb770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x20
mov edi, dword [rcx + 0x2c]
mov rbx, rcx
mov qword [rsp + 0x30], r14
mov esi, dword [rbx + 0x40]
lea r8, [rbx + 0x38]
mov edx, dword [rbx + 0x88]
sub esi, edx
mov eax, dword [rbx + 0x90]
sub esi, eax
jne 0x1401fb7bc
test edx, edx
jne 0x1401fb7cb
lea r8, [rbx + 0x38]
test eax, eax
jne 0x1401fb7cb
mov esi, edi
jmp 0x1401fb863
cmp esi, 0xffffffff
jne 0x1401fb7cb
mov esi, 0xfffffffe
jmp 0x1401fb863
lea ecx, [rdi - 0x106]
add ecx, dword [rbx + 0x2c]
cmp edx, ecx
jb 0x1401fb863
mov rcx, qword [r8]
mov r8, rdi
lea rdx, [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rbx + 0x68]
mov rax, qword [rbx + 0x58]
sub dword [rbx + 0x8c], edi
sub dword [rbx + 0x88], edi
sub dword [rbx + 0x78], edi
lea rdx, [rax + r8*2]
nop word [rax + rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
sub cx, di
movzx eax, cx
not ax
sar ax, 0xf
and ax, cx
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x1401fb810
mov rax, qword [rbx + 0x48]
mov r8d, edi
lea rax, [rax + rdi*2]
nop dword [rax]
movzx edx, word [rax - 2]
lea rax, [rax - 2]
sub dx, di
movzx ecx, dx
not cx
sar cx, 0xf
and cx, dx
mov word [rax], cx
add r8d, 0xffffffff
jne 0x1401fb840
add esi, edi
mov rcx, qword [rbx + 8]
call fcn.1400b5610
test eax, eax
je 0x1401fb8ea
mov edx, dword [rbx + 0x90]
mov r8d, esi
mov eax, dword [rbx + 0x88]
mov rcx, qword [rbx + 8]
add rdx, rax
add rdx, qword [rbx + 0x38]
call fcn.1401f9fe0
mov r9d, dword [rbx + 0x90]
add r9d, eax
mov dword [rbx + 0x90], r9d
cmp r9d, 3
jb 0x1401fb8d0
mov eax, dword [rbx + 0x88]
mov rdx, qword [rbx + 0x38]
mov ecx, dword [rbx + 0x74]
movzx r8d, byte [rax + rdx]
mov dword [rbx + 0x64], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbx + 0x70]
mov dword [rbx + 0x64], r8d
cmp r9d, 0x106
jae 0x1401fb8ea
mov rcx, qword [rbx + 8]
call fcn.1400b5610
test eax, eax
jne 0x1401fb790
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x140003bb0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003be4
cmp word [rcx], 0x5a4d
jne 0x140003be4
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003be4
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003be4
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003af0
test eax, eax
jne 0x140003c00
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003b60
test rax, rax
je 0x140003bf5
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.1400043a3
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x1400042b0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004250
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004704
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x140469418]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x140469414]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004752
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000474a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004839
inc ebx
add rax, 0x28
jmp 0x14000472a
mov rcx, r12
call fcn.140004f31
mov rbp, rax
test rax, rax
jne 0x140004771
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400046a0
movsxd rbx, ebx
mov rax, qword [0x140469418]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140004fdf
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140469418]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400047d3
mov rax, qword [0x140469418]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400046a0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004833
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004833
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140469418]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140004833
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400046a0
inc dword [0x140469414]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004c60
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140469480]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140469460]
test rbx, rbx
je 0x140004cac
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004ca6
test eax, eax
jne 0x140004ca6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004c7e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004e60
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004e83
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004e83
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004e84
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004ebe
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004eb5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004ec0
inc r8d
add rax, 0x28
jmp 0x140004e9c
xor eax, eax
ret

Function at 0x140004f31
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140465510]
mov r8, rcx
mov rcx, r9
call fcn.140004e60
test eax, eax
je 0x140004f5d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004e84
xor eax, eax
add rsp, 0x28
ret
Function at 0x12d9410
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x12d941d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x12d942d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x12d9415
lea eax, [rcx + 1]
jmp 0x12d943b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x12d944e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x12d9434
sub eax, 3
jb 0x12d946e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x12d94bd
sar eax, 1
movsxd rbp, eax
jb 0x12d94a4
jmp 0x12d947c
add ebx, ebx
jne 0x12d947a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x12d94a4
inc ecx
add ebx, ebx
jne 0x12d948a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x12d94a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x12d949d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x12d948c
add ecx, 2
jmp 0x12d94a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.012d93d2
jmp 0x12d941d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xec7000]
mov eax, dword [rdi]
or eax, eax
je 0x12d9519
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xed9000]
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 0x12d94c9
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 0x12d9513
mov qword [rbx], rax
add rbx, 8
jmp 0x12d94e9
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 0x12d955d
cmp al, 0xef
ja 0x12d9545
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x12d9525
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x12d9534
mov eax, dword [rdi]
add rdi, 4
jmp 0x12d9534
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 0x12d95b1
sub rsp, 0xffffffffffffff80
jmp 0x46c700
Function at 0x180001c10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, qword [rcx]
mov r12, r8
test r14, r14
je 0x180001ce0
movabs r13, 0xff9ac28ff2
nop word [rax + rax]
mov rbp, qword [r14 + 0x80]
test rbp, rbp
je 0x180001ce0
mov r15, qword [rbp + 0x10]
lea rbx, [rbp + 0x1c]
xor edi, edi
nop word [rax + rax]
movsxd rsi, edi
shl rsi, 5
add rsi, rbp
je 0x180001cd3
call fcn.180031290
cmp rsi, rax
ja 0x180001cd3
movzx ecx, byte [rbx + 1]
movzx eax, byte [rbx]
add ecx, eax
cmp ecx, 1
jb 0x180001cd3
cmp dword [rbx - 0x1c], 0
je 0x180001cc8
cmp r15, qword [rbx - 0xc]
jne 0x180001cc8
mov r8, qword [rbx - 0x1c]
movabs rax, 0xcbf29ce41ee4b164
nop
movsx rdx, byte [r8]
lea r8, [r8 + 1]
xor rax, rdx
imul rax, r13
test dl, dl
jne 0x180001cb0
cmp rax, r12
je 0x180001d02
inc edi
add rbx, 0x20
cmp edi, 0x64
jl 0x180001c70
mov r14, qword [r14 + 0x58]
test r14, r14
jne 0x180001c50
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, dword [rsi + 0x18]
jmp 0x180001ce5

Function at 0x180024d60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
test rax, rax
jne 0x180024d71
add rsp, 0x28
ret
mov r10, qword [rax + 0x98]
mov qword [rsp + 0x30], rbx
add r10, 0xfffffffffffffff8
mov qword [rsp + 0x20], rdi
movabs rbx, 0xff9ac28ff2
movabs rdi, 0xcbf29ce41ee4b164
nop word [rax + rax]
mov rcx, qword [r10 + 8]
lea r10, [r10 + 8]
test rcx, rcx
je 0x180024def
mov r9, qword [rcx + 0x10]
mov rax, rdi
nop dword [rax]
nop dword [rax + rax]
movsx r8, byte [r9]
lea r9, [r9 + 1]
xor rax, r8
imul rax, rbx
test r8b, r8b
jne 0x180024dc0
cmp rax, rdx
jne 0x180024da0
mov rcx, qword [rcx]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
jmp 0x180032070
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov r9, qword [0x180088090]
xor r8d, r8d
test r9, r9
je 0x18003209a
lea rdx, [0x180087eb8]
cmp qword [rdx], rcx
je 0x18003209e
inc r8d
add rdx, 0x10
movsxd rax, r8d
cmp rax, r9
jb 0x180032086
mov rax, rcx
ret
movsxd rax, r8d
lea rcx, [0x180087eb0]
add rax, rax
mov rax, qword [rcx + rax*8]
ret
Function at 0x180030e70
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x820
mov rax, qword gs:[0x60]
mov rbx, rcx
mov rdx, qword [rax + 0x18]
mov r11, qword [rdx + 0x10]
test rcx, rcx
jne 0x180030e9f
mov rax, qword [r11 + 0x30]
add rsp, 0x820
pop rbx
ret
cmp qword [r11 + 0x30], 0
mov qword [rsp + 0x830], rbp
mov qword [rsp + 0x838], rsi
mov qword [rsp + 0x840], rdi
je 0x180030f77
mov edi, 0xc0
movabs rbp, 0xcbf29ce41ee4b164
movabs rsi, 0xff9ac28ff2
nop dword [rax + rax]
movzx r8d, word [r11 + 0x58]
lea rcx, [rsp + 0x20]
mov rdx, qword [r11 + 0x60]
add r8, r8
call fcn.180030c00
lea r8, [rsp + 0x20]
nop dword [rax + rax]
movzx eax, word [r8]
lea ecx, [rax - 0x41]
cmp cx, 0x19
jbe 0x180030f1d
movzx ecx, ax
sub cx, di
cmp cx, 0x1d
jbe 0x180030f1d
xor dl, dl
jmp 0x180030f1f
mov dl, 1
test dl, dl
lea ecx, [rax + 0x20]
cmove cx, ax
lea rax, [rsp + 0x820]
mov word [r8], cx
add r8, 2
cmp r8, rax
jne 0x180030f00
lea r8, [rsp + 0x20]
mov rdx, rbp
nop word [rax + rax]
movzx ecx, word [r8]
lea r8, [r8 + 2]
xor rdx, rcx
imul rdx, rsi
test cx, cx
jne 0x180030f50
cmp rdx, rbx
je 0x180030f9a
mov r11, qword [r11]
cmp qword [r11 + 0x30], 0
jne 0x180030ee0
xor eax, eax
mov rsi, qword [rsp + 0x838]
mov rbp, qword [rsp + 0x830]
mov rdi, qword [rsp + 0x840]
add rsp, 0x820
pop rbx
ret
mov rax, qword [r11 + 0x30]
jmp 0x180030f79

Function at 0x180030fe0
Capabilities:
Encode data using xor
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
push r14
push r15
mov rsi, rdx
mov r10, rcx
test rcx, rcx
je 0x180031070
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov ebx, dword [rax + rcx + 0x88]
add rbx, rcx
mov edi, dword [rbx + 0x18]
test edi, edi
je 0x180031070
mov r14d, dword [rbx + 0x20]
movabs rbp, 0xff9ac28ff2
movabs r15, 0xcbf29ce41ee4b164
lea rax, [r14 + r9*4]
mov r8d, dword [rax + rcx]
add r8, r10
je 0x180031068
mov rax, r15
nop dword [rax]
nop word [rax + rax]
movsx rdx, byte [r8]
lea r8, [r8 + 1]
xor rax, rdx
imul rax, rbp
test dl, dl
jne 0x180031050
cmp rax, rsi
je 0x18003108b
inc r9d
cmp r9d, edi
jb 0x180031033
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
jmp 0x180031072
Function at 0x1800315f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push r12
push r14
sub rsp, 0x38
mov r14, rcx
movzx ebx, r8b
lea rcx, [rsp + 0x78]
mov rbp, rdx
call fcn.180031320
mov r9, qword [rsp + 0x78]
xor r12d, r12d
mov r10, rax
test bl, bl
je 0x180031626
lea r12d, [r9 - 1]
mov r8, qword [0x180089780]
lea rax, [0x180088e20]
test r8, r8
je 0x180031660
xor edx, edx
test r8, r8
je 0x180031660
mov rcx, rax
cmp qword [rcx], r14
jne 0x180031652
cmp qword [rcx + 8], rbp
je 0x180031779
inc edx
add rcx, 0x18
movsxd rax, edx
cmp rax, r8
jb 0x180031643
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rdi
movsxd rax, r12d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
cmp rax, r9
jae 0x180031758
lea r13, [r10 + rax*8]
mov rcx, qword [r13]
call fcn.180031390
mov rcx, rax
mov r15, rax
call fcn.1800313c0
mov esi, eax
test eax, eax
je 0x180031743
xor ebx, ebx
test eax, eax
jle 0x180031743
nop dword [rax]
mov edx, ebx
mov rcx, r15
call fcn.1800313f0
mov rcx, rax
mov rdi, rax
call fcn.180031460
movabs r8, 0xcbf29ce41ee4b164
movabs r14, 0xff9ac28ff2
nop dword [rax]
movsx rdx, byte [rax]
lea rax, [rax + 1]
xor r8, rdx
imul r8, r14
test dl, dl
jne 0x1800316e0
mov r14, qword [rsp + 0x60]
cmp r8, rbp
jne 0x180031739
mov rcx, rdi
call fcn.180031430
movabs rcx, 0xcbf29ce41ee4b164
movabs r9, 0xff9ac28ff2
nop dword [rax]
movsx r8, byte [rax]
lea rax, [rax + 1]
xor rcx, r8
imul rcx, r9
test r8b, r8b
jne 0x180031720
cmp rcx, r14
je 0x180031788
inc ebx
cmp ebx, esi
jl 0x1800316b0
inc r12d
add r13, 8
movsxd rax, r12d
cmp rax, qword [rsp + 0x78]
jb 0x180031684
xor eax, eax
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x20]
add rsp, 0x38
pop r14
pop r12
pop rbp
pop rbx
ret
mov rax, qword [rcx + 0x10]
add rsp, 0x38
pop r14
pop r12
pop rbp
pop rbx
ret
mov rax, qword [0x180089780]
cmp rax, 0x64
jae 0x1800317b5
lea rax, [rax + rax*2]
lea rcx, [0x180088e20]
mov qword [rcx + rax*8], r14
mov qword [rcx + rax*8 + 8], rbp
mov qword [rcx + rax*8 + 0x10], rdi
inc qword [0x180089780]
mov rax, rdi
jmp 0x18003175a
Function at 0x1800334f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x1800335d3
call fcn.180031290
cmp rdi, rax
ja 0x1800335d3
cmp rdi, 0x10000000
jb 0x1800335d3
mov rdi, qword [rdi + 0x30]
test rdi, rdi
je 0x1800335d3
call fcn.180031290
cmp rdi, rax
ja 0x1800335d3
cmp qword [rdi + 0x30], 0
je 0x1800335d3
xor esi, esi
cmp dword [rdi + 0x40], esi
jle 0x1800335d3
mov ebp, esi
movabs r12, 0xcbf29ce41ee4b164
movabs r14, 0xff9ac28ff2
movabs r15, 0x91da770d95ba0814
nop
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax + rbp + 8]
test rbx, rbx
je 0x1800335c8
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x1800335c8
call fcn.180031290
cmp rbx, rax
ja 0x1800335c8
mov r8, qword [rbx]
test r8, r8
je 0x1800335c8
mov r8, qword [r8 + 0x10]
mov rax, r12
movsx rdx, byte [r8]
lea r8, [r8 + 1]
xor rax, rdx
imul rax, r14
test dl, dl
jne 0x1800335b0
cmp rax, r15
je 0x1800335f4
inc esi
add rbp, 0x10
cmp esi, dword [rdi + 0x40]
jl 0x180033580
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov rax, rbx
jmp 0x1800335d5
Function at 0x140004dc8
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140057dc8], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x140004e24
movaps xmm0, xmmword [0x140030ae0]
movaps xmm1, xmmword [0x140030af0]
movdqa xmmword [0x140039b70], xmm0
movaps xmm0, xmmword [0x140030b00]
movdqa xmmword [0x140039b60], xmm1
movaps xmm1, xmmword [0x140030b10]
movdqa xmmword [0x140039b50], xmm0
movdqa xmmword [0x140039b40], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.140020a40
xor r11d, r11d
mov qword [rbx + 0x110], r11
mov byte [rbx + 0x118], r11b
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140030a20]
mov eax, dword [r11 + rax]
mov dword [r11 + rcx], eax
add r11, 4
cmp r11, 0x20
jl 0x140004e42
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
shl edi, 0x10
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
xor dword [rax + 0xc], edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret