joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ccba20
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1ccba2d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1ccba3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1ccba25
lea eax, [rcx + 1]
jmp 0x1ccba4b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1ccba5e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1ccba44
sub eax, 3
jb 0x1ccba7e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1ccbacd
sar eax, 1
movsxd rbp, eax
jb 0x1ccbab4
jmp 0x1ccba8c
add ebx, ebx
jne 0x1ccba8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1ccbab4
inc ecx
add ebx, ebx
jne 0x1ccba9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1ccbab4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1ccbaad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1ccba9c
add ecx, 2
jmp 0x1ccbab9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01ccb9e2
jmp 0x1ccba2d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x18b5000]
mov eax, dword [rdi]
or eax, eax
je 0x1ccbb29
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x18cb000]
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 0x1ccbad9
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 0x1ccbb23
mov qword [rbx], rax
add rbx, 8
jmp 0x1ccbaf9
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 0x1ccbb6d
cmp al, 0xef
ja 0x1ccbb55
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1ccbb35
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1ccbb44
mov eax, dword [rdi]
add rdi, 4
jmp 0x1ccbb44
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 0x1ccbbc1
sub rsp, 0xffffffffffffff80
jmp 0x471ca0
Function at 0x140001140
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 [0x140003638], rbx
je 0x14000118c
cmp rax, rbx
jne 0x14000117f
mov ebx, 1
mov esi, ebx
jmp 0x140001191
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001164
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400011a7
mov ecx, 0x1f
call fcn.140148000
jmp 0x140001216
mov eax, dword [0x140003640]
test eax, eax
jne 0x140001210
mov dword [0x140003640], ebx
lea r15, [0x140002320]
lea rdi, [0x140002308]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001202
test eax, eax
jne 0x140001206
cmp qword [rdi], 0
je 0x1400011f7
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [vtable.q:P:H_tH_:.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400011ce
test eax, eax
je 0x140001216
mov eax, 0xff
jmp 0x1400012fc
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x14000123d
lea rdx, [0x140002300]
lea rcx, [0x1400022f0]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x14000124a
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001288
lea rcx, [0x140003648]
call fcn.140001510
test eax, eax
je 0x140001288
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [vtable.q:P:H_tH_:.0]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.140001a78
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x1400012b8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x1400012cd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x1400012fc
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.1400015a4
add rsp, 0x28
jmp 0x140001140

Function at 0x1400013fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001448
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001440
cmp dword [rcx + 0x3c], edx
jl 0x140001440
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001440
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 0x140001448
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140001570
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001598
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140001598
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x1400a1490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400a14a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140083240
jmp 0x14000123c
mov rax, qword [0x1400a14a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400a14a0]
mov dword [rax], 1
mov rax, qword [str._p_n_]
mov rdx, rax
mov rax, qword [0x1400a14d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x1400a5024], 1
mov rax, qword [0x1400a14a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400a14c0]
mov rdx, rax
mov rax, qword [0x1400a14b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400a14a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x1400a1490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400a13e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400a13e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400824c8
mov rax, qword [0x1400a1520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [str._Q_n_]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140081cc0
mov eax, dword [0x1400a5004]
lea rdx, [0x1400a5008]
mov ecx, eax
call fcn.14000147c
call fcn.140081a57
mov rax, qword [0x1400a1410]
mov rax, qword [rax]
mov rdx, qword [0x1400a5010]
mov qword [rax], rdx
mov rcx, qword [0x1400a5010]
mov rdx, qword [0x1400a5008]
mov eax, dword [0x1400a5004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x1400a501c], eax
mov eax, dword [0x1400a5020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x1400a501c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x1400a5024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x1400a501c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400a1440]
mov dword [rax], 1
mov rax, qword [0x1400a1450]
mov dword [rax], 1
mov rax, qword [0x1400a1460]
mov dword [rax], 1
mov rax, qword [0x1400a1400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140081cd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.140083030
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400829a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400a5168]
test eax, eax
je 0x140082a3a
lea rax, [0x1400a5140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400a5170]
mov qword [rbp - 8], rax
jmp 0x140082a1e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140082a12
cmp qword [rbp - 0x10], 0
je 0x140082a12
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400829d8
lea rax, [0x1400a5140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140082a3b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140082b40
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140082b68
mov eax, 0
jmp 0x140082bb6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140082b91
mov eax, 0
jmp 0x140082bb6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140082bb1
mov eax, 0
jmp 0x140082bb6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140082bbc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140082c3a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140082c31
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140082c31
mov rax, qword [rbp - 8]
jmp 0x140082c4f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140082c04
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400012f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor r8d, r8d
lea r9, [0x14006a360]
nop word [rax + rax]
mov ecx, r8d
lea r9, [r9 + 4]
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test r8b, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
inc r8d
mov dword [r9 - 4], eax
cmp r8d, 0x100
jb 0x140001300
mov byte [0x14006a358], 1
ret
Function at 0x1400017c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r15, rdx
mov rsi, rcx
sub r15, rcx
mov r9d, 4
mov qword [rsp + 0x38], r15
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [r15 + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140001800
sub r9, 1
jne 0x1400017f0
mov r15, qword [rsp + 0x40]
mov r12b, 1
lea r10, [0x1400544b0]
mov r8, rsi
mov r9d, 4
nop
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r10]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001840
inc r8
sub r9, 1
jne 0x140001830
movzx eax, byte [rsi + 5]
movzx ecx, byte [rsi + 1]
mov byte [rsi + 1], al
movzx eax, byte [rsi + 9]
mov byte [rsi + 5], al
movzx eax, byte [rsi + 0xd]
mov byte [rsi + 9], al
movzx eax, byte [rsi + 0xa]
mov byte [rsi + 0xd], cl
movzx ecx, byte [rsi + 2]
mov byte [rsi + 2], al
movzx eax, byte [rsi + 0xe]
mov byte [rsi + 0xa], cl
movzx ecx, byte [rsi + 6]
mov byte [rsi + 6], al
movzx eax, byte [rsi + 0xf]
mov byte [rsi + 0xe], cl
movzx ecx, byte [rsi + 3]
mov byte [rsi + 3], al
movzx eax, byte [rsi + 0xb]
mov byte [rsi + 0xf], al
movzx eax, byte [rsi + 7]
mov byte [rsi + 0xb], al
mov byte [rsi + 7], cl
cmp r12b, 0xa
je 0x1400019ce
lea r14, [rsi + 2]
lea ebp, [rdx + 4]
nop dword [rax]
nop word [rax + rax]
movzx edi, byte [r14 - 2]
movzx r8d, byte [r14 - 1]
movzx edx, dil
movzx ebx, byte [r14 + 1]
xor dl, r8b
movzx r10d, byte [r14]
lea r14, [r14 + 4]
movzx eax, dl
movzx r9d, bl
shr al, 7
add dl, dl
movzx eax, al
xor r9b, r10b
imul ecx, eax, 0x1b
movzx r11d, r9b
xor r11b, dil
xor r11b, r8b
xor cl, dl
movzx edx, r8b
xor cl, dil
xor dl, r10b
xor cl, r11b
movzx eax, dl
mov byte [r14 - 6], cl
xor dil, bl
shr al, 7
add dl, dl
movzx eax, al
imul ecx, eax, 0x1b
movzx eax, r9b
shr al, 7
add r9b, r9b
movzx eax, al
xor cl, dl
xor cl, r8b
xor cl, r11b
mov byte [r14 - 5], cl
imul ecx, eax, 0x1b
movzx eax, dil
shr al, 7
add dil, dil
movzx eax, al
xor cl, r9b
xor cl, r10b
xor cl, r11b
mov byte [r14 - 4], cl
imul ecx, eax, 0x1b
xor cl, dil
xor cl, bl
xor cl, r11b
mov byte [r14 - 3], cl
sub rbp, 1
jne 0x1400018d0
movzx r8d, r12b
lea r9d, [rbp + 4]
shl r8, 4
mov rax, rsi
sub r8, rsi
add r8, r15
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x1400019b0
sub r9, 1
jne 0x1400019a0
inc r12b
jmp 0x14000181e
mov r15, qword [rsp + 0x38]
mov edx, 4
nop dword [rax + rax]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [r15 + rsi + 0xa0]
xor byte [rsi], al
inc rsi
sub rcx, 1
jne 0x1400019f0
sub rdx, 1
jne 0x1400019e0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400041f0
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
inc dword [rcx + 0x80c]
lea rdi, [rcx + 0x404]
mov r8d, dword [rcx + 0x80c]
lea rsi, [rcx + 0x604]
add r8d, dword [rcx + 0x808]
lea r11, [rcx + 4]
mov r9d, dword [rcx + 0x804]
mov rbx, rcx
mov rax, rdi
mov rbp, rsi
cmp rdi, rsi
jae 0x140004446
mov edx, dword [rax]
lea rsi, [rsi + 0x10]
mov r10d, r9d
mov ecx, edx
and ecx, 0x3fc
shl r10d, 0xd
xor r10d, r9d
add r10d, dword [rsi - 0x10]
mov r9d, r10d
mov ecx, dword [rcx + rdi]
add ecx, r8d
shr r9d, 6
add ecx, r10d
xor r9d, r10d
mov dword [rax], ecx
shr rcx, 8
and ecx, 0x3fc
add edx, dword [rcx + rdi]
mov dword [r11], edx
add r9d, dword [rsi - 0xc]
mov r8d, dword [rax + 4]
mov ecx, r8d
and ecx, 0x3fc
lea r10d, [r9*4]
xor r10d, r9d
mov ecx, dword [rcx + rdi]
add ecx, edx
add ecx, r9d
mov dword [rax + 4], ecx
shr rcx, 8
and ecx, 0x3fc
mov edx, dword [rcx + rdi]
add edx, r8d
mov dword [r11 + 4], edx
add r10d, dword [rsi - 8]
mov r8d, dword [rax + 8]
mov r9d, r10d
mov ecx, r8d
shr r9d, 0x10
and ecx, 0x3fc
xor r9d, r10d
mov ecx, dword [rcx + rdi]
add ecx, edx
add ecx, r10d
mov dword [rax + 8], ecx
shr rcx, 8
and ecx, 0x3fc
mov edx, dword [rcx + rdi]
add edx, r8d
mov dword [r11 + 8], edx
mov r8d, dword [rax + 0xc]
mov ecx, r8d
add r9d, dword [rsi - 4]
and ecx, 0x3fc
mov ecx, dword [rcx + rdi]
add ecx, edx
add ecx, r9d
mov dword [rax + 0xc], ecx
add rax, 0x10
shr rcx, 8
and ecx, 0x3fc
add r8d, dword [rcx + rdi]
mov dword [r11 + 0xc], r8d
add r11, 0x10
cmp rax, rbp
jb 0x140004243
mov rsi, rdi
nop dword [rax + rax]
mov edx, dword [rax]
lea r11, [r11 + 0x10]
mov r10d, r9d
lea rax, [rax + 0x10]
mov ecx, edx
shl r10d, 0xd
and ecx, 0x3fc
xor r10d, r9d
add r10d, dword [rsi]
mov r9d, r10d
shr r9d, 6
mov ecx, dword [rcx + rdi]
xor r9d, r10d
add ecx, r8d
add ecx, r10d
mov dword [rax - 0x10], ecx
shr rcx, 8
and ecx, 0x3fc
add edx, dword [rcx + rdi]
mov dword [r11 - 0x10], edx
add r9d, dword [rsi + 4]
mov r8d, dword [rax - 0xc]
mov ecx, r8d
and ecx, 0x3fc
lea r10d, [r9*4]
xor r10d, r9d
mov ecx, dword [rcx + rdi]
add ecx, edx
add ecx, r9d
mov dword [rax - 0xc], ecx
shr rcx, 8
and ecx, 0x3fc
mov edx, dword [rcx + rdi]
add edx, r8d
mov dword [r11 - 0xc], edx
add r10d, dword [rsi + 8]
mov r8d, dword [rax - 8]
mov r9d, r10d
mov ecx, r8d
shr r9d, 0x10
and ecx, 0x3fc
xor r9d, r10d
mov ecx, dword [rcx + rdi]
add ecx, edx
add ecx, r10d
mov dword [rax - 8], ecx
shr rcx, 8
and ecx, 0x3fc
mov edx, dword [rcx + rdi]
add edx, r8d
mov dword [r11 - 8], edx
mov r8d, dword [rax - 4]
mov ecx, r8d
add r9d, dword [rsi + 0xc]
and ecx, 0x3fc
add rsi, 0x10
mov ecx, dword [rcx + rdi]
add ecx, edx
add ecx, r9d
mov dword [rax - 4], ecx
shr rcx, 8
and ecx, 0x3fc
add r8d, dword [rcx + rdi]
mov dword [r11 - 4], r8d
cmp rsi, rbp
jb 0x140004340
mov dword [rbx + 0x808], r8d
mov dword [rbx + 0x804], r9d
jmp 0x140004454
mov dword [rcx + 0x808], r8d
mov dword [rcx + 0x804], r9d
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140004c30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x14006b120]
lea r10, [0x14006a760]
cmp edx, 0x270
jl 0x140004cf7
mov rdx, r10
lea r9, [0x14006aaec]
lea r8, [0x140059c70]
nop word [rax + rax]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
btr ecx, 0x1f
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [rdx + 0x634]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r9
jl 0x140004c60
lea rdx, [0x14006aaec]
lea r9, [0x14006b11c]
nop word [rax + rax]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
btr ecx, 0x1f
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r9
jl 0x140004ca0
mov eax, dword [0x14006b11c]
mov ecx, dword [0x14006a760]
and eax, 0x80000000
btr ecx, 0x1f
or ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r8 + rax*4]
xor ecx, dword [0x14006ad90]
mov dword [0x14006b11c], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x14006b120], edx
mov ecx, dword [r10 + rax*4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x140005640
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
call fcn.140005440
mov r9d, 0x208
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], 0
lea rdx, [rbp + 0xa]
mov r8d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
call fcn.14002f664
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
lea rcx, [rbp + 0xa]
mov dword [rbp + 0x41c], eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]