joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007afc4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14006d9ac
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14006d9ac
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14007b114
cmp rax, 0xffffffffffffffff
je 0x14007b114
xor edi, edi
test rbp, rbp
jle 0x14007b0bf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14006bb04
mov rbx, rax
test rax, rax
jne 0x14007b04c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14007b0b5
mov edx, 0x8000
mov ecx, r14d
call fcn.14005e888
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400778dc
cmp eax, 0xffffffff
je 0x14007b095
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14007b05c
mov edx, r15d
mov ecx, r14d
call fcn.14005e888
jmp 0x14007b0b5
cmp byte [rsi + 0x38], dil
je 0x14007b0ac
cmp dword [rsi + 0x34], 5
jne 0x14007b0ac
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14007b0b5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140068bd4
jmp 0x14007b128
jns 0x14007b128
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14006d9ac
cmp rax, 0xffffffffffffffff
jne 0x14007b0e0
cmp byte [rsi + 0x30], dil
je 0x14007b128
mov edi, dword [rsi + 0x2c]
jmp 0x14007b128
mov ecx, r14d
call fcn.14007043c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14007b128
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14007b128
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14007b121
mov eax, dword [rsi + 0x2c]
jmp 0x14007b126
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14006d9ac
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1406f9210
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406f9397
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 0x1406f9241
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f9227
add dl, dl
jne 0x1406f924e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f92ae
xor eax, eax
add dl, dl
jne 0x1406f925d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406f9365
add dl, dl
jne 0x1406f926e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f927b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f9288
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f9295
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406f92a2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406f9236
mov eax, 1
add dl, dl
jne 0x1406f92be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406f92cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f92b3
sub eax, ebx
mov ebx, 1
jne 0x1406f9304
mov ecx, 1
add dl, dl
jne 0x1406f92e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406f92f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f92db
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f9236
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406f9320
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406f932d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406f9315
cmp eax, 0x7d00
jae 0x1406f9353
cmp eax, 0x500
jb 0x1406f934e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f9236
cmp eax, 0x7f
ja 0x1406f9356
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406f9236
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406f938a
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 0x1406f9236
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140022e30]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140022e40]
mov dword [rax], 1
mov rax, qword [0x140022e50]
mov dword [rax], 1
mov rax, qword [0x140022e20]
mov dword [rax], 1
mov rax, qword [0x140022ce0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x140022e10]
mov dword [0x14002600c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140022dd0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140022db0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140022c90]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x140001550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor esi, esi
movsxd rax, dword [rcx + 0x3c]
mov edi, dword [rcx + rax + 0x88]
add rdi, rcx
mov rbx, rcx
mov rbp, rdx
mov r12d, dword [rdi + 0x20]
mov r13d, dword [rdi + 0x18]
add r12, rcx
cmp r13d, esi
jbe 0x1400015ba
mov edx, dword [r12 + rsi*4]
mov rcx, rbp
add rdx, rbx
call sym.strcmp
lea rdx, [rsi + 1]
test eax, eax
je 0x14000159e
mov rsi, rdx
jmp 0x14000157d
mov eax, dword [rdi + 0x24]
add rsi, rsi
add rsi, rbx
movzx edx, word [rsi + rax]
mov eax, dword [rdi + 0x1c]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
jmp 0x1400015bc
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x1400015c9
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
mov dword [rsp + 0x78], edx
mov rbx, rcx
mov r12, r8
mov esi, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140001608
or eax, 0xffffffff
jmp 0x1400016b9
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140001600
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8d, esi
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140001600
lea rax, [rsp + 0x48]
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x6610
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140001600
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x140001600
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret

Function at 0x1400019b0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x140001a20
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400260a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140001bd0
mov rax, qword [0x1400260a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x140001a6c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001af7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140001a50
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x140001c2d
mov rax, qword [0x1400260a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400260a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001c12
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001af0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001b80
add dword [0x1400260a4], 1
cmp ebx, 8
jae 0x140001b28
test bl, 4
jne 0x140001be0
test ebx, ebx
je 0x140001b19
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140001c00
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140001b19
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x140001b5a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400260a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x140001a77
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140001b19
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140001b19
mov rax, qword [0x1400260a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140002140
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140026100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400260e0]
test rbx, rbx
je 0x140002194
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000218b
test r12, r12
je 0x14000218b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002170
lea rcx, [0x140026100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400023c0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x1400023d0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x1400023e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002425
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14000241c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002427
add rax, 0x28
cmp rax, r9
jne 0x140002408
xor eax, eax
ret

Function at 0x1400024d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140022ce0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140002549
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002549
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140002546
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14000253d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140002549
add r8, 0x28
cmp r8, r9
jne 0x140002528
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140002630
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140022ce0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000269f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14000269f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x14000269d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002694
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400026a8
add rax, 0x28
cmp rax, r9
jne 0x140002680
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x1400026c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x140022ce0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140002738
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002738
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140002738
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002738
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14000272c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002740
add rdx, 0x28
cmp rdx, r10
jne 0x140002718
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140002750
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14000275e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002735
test r8d, r8d
jg 0x140002748
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x1400072b0
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using speck
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
movaps xmmword [rsp + 0x2d0], xmm6
movabs r12, 0xcbf29ce484222325
movabs r14, 0x1d12a89b9e723ff5
lea rcx, [0x1400ce915]
jmp 0x1403b1e67

Function at 0x140008210
Capabilities:
Access peb ldr_data
Encrypt data using speck
Get kernel32 base address
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movabs r14, 0xcbf29ce484222325
lea rcx, [0x1400ce987]
jmp 0x1403b3a22

Function at 0x140126e5a
Capabilities:
Access peb ldr_data

Disassembly:
test ax, ax
jmp 0x140262ce2
movzx eax, word [0x1400b8f10]
cmp r12b, r13b
test ax, ax
jmp 0x1401d84de
inc rax
test bpl, bl
cmc
test r11w, r11w
jmp 0x140253502
cmovb r8, rdx
jmp 0x1401490a8
jmp 0x14019e58e
ret
je 0x140262cf2
sub edx, edx
neg r9b
lea r9, [0x1400b8f10]
test bx, r14w
cmp r8, rdx
jmp 0x1401bd2b0
je 0x140262cfb
mov word [rcx], ax
add rcx, 2
inc ah
not rax
mov ah, ah
movzx eax, word [r9 + rdx*2 + 2]
inc rdx
test r14w, 0x5829
jmp 0x1400f45f1
test r8, r8
je 0x1401bebbd
mov word [r10], 0
bt r8w, 0x15
movzx eax, word [0x1400b8f10]
movzx r8d, ax
adc r8b, 0x20
cmp rdx, 0x104
mov r8d, 0x104
jmp 0x14025841e
je 0x14022ce23
cmp rdx, 0x104
mov r8d, 0x104
jmp 0x1401482b8
je 0x1401bebb1
mov word [r10], r11w
rcr r11w, 0xea
add r10, 2
movsx r11w, spl
not r11b
movzx r11d, word [r9 + rax*2 + 2]
jmp 0x1401476b2
mov rax, qword gs:[0x30]
add r11b, 0xe2
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
bts r8, rdi
bt r8w, 0x51
mov rax, qword [rax + 0x10]
bsf r11d, r15d
movzx r8d, word [rax + 0x58]
stc
cmp r8, rdx
movzx r10, r13w
setle r10b
movsx r11d, cx
cmovae r8, rdx
sal r10b, 0x66
cmp r10b, al
cmovno r10d, r9d
mov r9, qword [rax + 0x60]
cmc
movzx r11d, word [r9]
lea r10, [0x1400b8f10]
test r11w, r11w
je 0x1401beba8
sub eax, eax
clc
cmp bh, 2
nop word [rax + rax]
cmp r8, rax
jmp 0x140225c24
jne 0x14022ce94
sub r8, rax
jmp 0x1401beba8
cmovb r8, rdx
test ax, ax
jmp 0x14019e588
jne 0x14019e59e
sub r8, rdx
test rdi, rbp
clc
cmp bp, sp
test r8, r8
je 0x140177042
mov word [rcx], 0
jmp 0x140177042
Function at 0x14014be78
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rcx]
jmp 0x1402625d6
jmp 0x14044ac43
push rsi
push rdi
movzx ax, spl
sub rsp, 0x28
sete sil
mov rsi, rcx
or ax, 0x3fd7
sbb al, 0xf0
mov rcx, qword [rcx + 0x18]
and ax, 0x7739
not ax
cdqe
mov rax, qword [rcx]
xor edx, edx
test dl, 0x82
sub r8d, r8d
jmp 0x14044ac78
call qword [rax + 0x188]
mov edi, eax
movzx rcx, r13w
mov cl, 0xde
cmove cx, r14w
lea rcx, [rsi + 0x30]
call fcn.14045e8bc
test edi, edi
jmp 0x14044ac9b
je 0x14044accc
cmp edi, 0x8899000c
jmp 0x14044acac
jne 0x14044aceb
mov rcx, rsi
add rsp, 0x28
mov di, si
pop rdi
movsx rsi, r10w
pop rsi
jmp 0x14044acc7
jmp fcn.14044a8f4
nop
rcr sil, cl
mov si, r8w
add rsp, 0x28
pop rdi
movsxd rsi, edi
movsx rsi, ax
seto sil
pop rsi
jmp 0x14044acea
ret
mov ecx, edi
movabs r8, 0xad4a5352d2edebd0
shl r9b, 0x63
mov dl, 3
xor dil, dl
mov r9d, 0x54
add rsp, 0x28
movsxd rsi, edi
xchg dil, dil
pop rdi
movzx esi, r10w
movsxd rsi, esi
pop rsi
jmp 0x14044ad1e
jmp fcn.1403b3ff8
Function at 0x1401d23d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
inc rcx
test r13d, 0x6f8d18a9
test byte [rax + r8*2], 4
jmp 0x1402082f9
jne 0x14018213b
movzx r8d, byte [rcx + 2]
rdtsc
cdqe
mov rax, qword [r9 + 0xf8]
cwd
movzx edx, r8w
jmp 0x14018599a
lea rdx, [rcx + 2]
cmovne rdx, rcx
dec ch
mov rcx, qword [rax]
movzx eax, byte [rcx]
adc ecx, 0x33a97444
mov byte [rdx], al
lea rax, [rdx + 1]
nop dword [rax]
neg rdx
xor dx, 0xfa3
movzx ecx, byte [rax]
cmc
movsx rdx, cx
movzx edx, r8b
clc
cmp cx, bx
mov byte [rax], r8b
rol r8d, 0x7a
lea rax, [rax + 1]
ror r8b, cl
jmp 0x1402570ad
mov r9, qword [rdx]
shr r8b, 0x24
movzx r8d, byte [rcx]
neg dx
mov rdx, qword [r9 + 0x110]
cmp byte [r8 + rdx], 0x65
jmp 0x140281665
jne 0x140281682
movzx eax, r8b
cmp r12b, 0x4b
clc
cmp byte [rax + rdx], 0x78
jmp 0x14018212c
movzx r8d, cl
cmp r15, 0x55890dd8
test dl, dl
jne 0x1401859c5
ret
je 0x1402082ff
mov rax, qword [r9]
nop dword [rax + rax]
movzx r8d, r8w
movsx r8d, r9w
bswap r8w
movzx r8d, byte [rcx + 1]
jmp 0x1400fb71f
Function at 0x14021ec86
Capabilities:
Parse pe header

Disassembly:
jmp 0x1404b5c02
sub r8d, r8d
cqo
mov dx, r12w
movsx rdx, di
lea edx, [r8 + 2]
jmp 0x1401223c8
mov qword [rsp + 8], rbx
neg bh
xchg rbx, rbx
sar bh, 0xe0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
test r13b, 0x74
shl bh, cl
bswap bx
push rbp
mov rbp, rsp
sub rsp, 0x50
and ebx, ecx
sar bx, cl
mov ebx, ecx
clc
stc
test r8d, r8d
jmp 0x1404b5c3a
jne 0x1404b5cc9
sub ecx, ecx
jmp 0x1404b5c47
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jmp 0x1404b5c55
je 0x1404b5cc9
mov ecx, 0x5a4d
stc
clc
cmp word [rax], cx
jmp 0x1404b5c6a
jne 0x1404b5cc9
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
clc
cmp dword [rcx], 0x4550
jmp 0x1404b5c83
jne 0x1404b5cc9
mov eax, 0x20b
clc
cmp word [rcx + 0x18], ax
jmp 0x1404b5c98
jne 0x1404b5cc9
cmp dword [rcx + 0x84], 0xe
jmp 0x1404b5caa
jbe 0x1404b5cc9
cmp dword [rcx + 0xf8], 0
je 0x1404b5cc9
mov ecx, ebx
jmp 0x1404b5cc4
call fcn.1404b5ae6
lea rax, [rbp + 0x18]
movsx r9d, r12w
mov byte [rbp + 0x28], 0
movsx dx, r14b
xchg r9, rcx
mov r9b, r13b
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
cdq
jmp 0x1404b5cee
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
cmovne cx, bp
cwde
mov dx, 0x5161
lea r8, [rbp - 0x20]
cdq
lea rax, [rbp + 0x28]
jmp 0x1404b5d0e
mov qword [rbp - 0x10], rax
movzx edx, dx
cmovs ecx, r9d
cqo
lea rdx, [rbp - 0x28]
mov rcx, r14
movsx rax, r8w
mov eax, 2
bswap ecx
movzx rcx, r15w
mov ch, dl
lea rcx, [rbp - 0x30]
jmp 0x1404b5d3c
mov dword [rbp - 0x2c], eax
jmp 0x1404b5d44
mov dword [rbp - 0x28], eax
call fcn.1404b5ef2
cmp dword [rbp + 0x20], 0
jmp 0x1404b5d55
je 0x1404b5d7b
mov rbx, qword [rsp + 0x60]
rcl bp, 0xb0
add rsp, 0x50
movsx ebp, dx
setge bpl
movsx bp, r11b
pop rbp
jmp 0x1404b5d7a
ret
mov ecx, ebx
jmp 0x1404b5d82
call fcn.1404b5b92
int3

Function at 0x14021f3e5
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
jmp 0x1402908ac
cmp dword [rdx], 0x4550
jmp 0x140281fbc
ret
mov eax, 0x5a4d
jmp 0x14027498c
cmp word [rcx], ax
jmp 0x140279926
jne 0x1400f43b7
movsxd rdx, dword [rcx + 0x3c]
lea rdx, [rdx + rcx]
jmp 0x1401db1e5
jne 0x1400f43b7
xor eax, eax
xor al, al
bt ecx, ecx
mov ecx, 0x20b
ror al, cl
cmp word [rdx + 0x18], cx
sete al
jmp 0x1401f9984
ret

Function at 0x140289ade
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
jmp 0x140296fdc
sub r8d, r8d
jmp 0x1400e3a60
jmp 0x1404b5c02
Function at 0x1403ab0d9
Capabilities:
Encrypt data using speck

Disassembly:
push r15
movzx ax, r12b
push r14
and dh, 0x94
dec dx
movzx dx, r13b
push r13
bts r13w, r9w
rol r14w, cl
adc r13b, spl
push r12
rol r8w, 0x96
bt r12w, r11w
push rsi
test r9b, 0x4f
or al, r11b
push rdi
btr r14w, ax
clc
push rbp
sub r8b, r10b
push rbx
sub rsp, 0x88
shld ebx, r10d, 0x53
shr r13b, cl
mov r14, rcx
sal r8, 0x80
cmovs rax, rdx
mov eax, dword [rcx + 0x24]
sbb sil, r10b
cqo
mov ebx, dword [rcx + 0x28]
movsxd rdx, r12d
btr si, sp
mov esi, dword [rcx + 0x2c]
rcl r8w, cl
cdq
mov r12b, spl
mov ebp, dword [rcx + 0x54]
adc r12d, 0x2b481a86
neg r12b
bts edx, r14d
mov r8d, dword [rcx + 0x50]
and r13b, 0x18
mov r12, qword [rcx + 0x30]
rol r13b, cl
shr dh, 0x24
mov rdx, qword [rcx + 0x38]
bsf r13, r12
mov dword [rsp + 0x24], eax
mov r13d, eax
and r13d, 0x7fff
add ah, ch
adc rax, r13
rcl rax, 0x40
lea rax, [rcx + 0xc8]
cmp bh, 7
mov qword [rsp + 0x48], rax
adc rax, r13
or ax, r9w
bswap rax
lea rax, [rcx + 0x80c8]
clc
mov qword [rsp + 0x78], rax
movsx eax, r9w
lea rax, [rcx + 0x192a2]
cmc
jmp 0x1403ab1cb
mov qword [rsp + 0x58], rax
ror ax, cl
lea rax, [rcx + 0x1c8]
test si, 0x2198
cwde
and dword [rax - 0x77], ecx
and al, 0x50