joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005f090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rsi, rdx
mov r14, rcx
mov rax, qword [rdx]
mov qword [rcx], rax
movsd xmm0, qword [rdx + 8]
movsd qword [rcx + 8], xmm0
movsd xmm1, qword [rdx + 0x10]
movsd qword [rcx + 0x10], xmm1
movsd xmm0, qword [rdx + 0x18]
movsd qword [rcx + 0x18], xmm0
mov eax, dword [rdx + 0x20]
mov dword [rcx + 0x20], eax
movsd xmm0, qword [rdx + 0x24]
movsd qword [rcx + 0x24], xmm0
mov eax, dword [rdx + 0x2c]
mov dword [rcx + 0x2c], eax
movsd xmm0, qword [rdx + 0x30]
movsd qword [rcx + 0x30], xmm0
mov eax, dword [rdx + 0x38]
mov dword [rcx + 0x38], eax
movsd xmm0, qword [rdx + 0x3c]
movsd qword [rcx + 0x3c], xmm0
mov eax, dword [rdx + 0x44]
mov dword [rcx + 0x44], eax
mov eax, dword [rdx + 0x48]
mov dword [rcx + 0x48], eax
add rcx, 0x50
add rdx, 0x50
call fcn.1400606c0
nop
mov eax, dword [rsi + 0x70]
mov dword [r14 + 0x70], eax
mov eax, dword [rsi + 0x74]
mov dword [r14 + 0x74], eax
movzx eax, byte [rsi + 0x78]
mov byte [r14 + 0x78], al
movzx eax, byte [rsi + 0x79]
mov byte [r14 + 0x79], al
mov eax, dword [rsi + 0x7c]
mov dword [r14 + 0x7c], eax
mov eax, dword [rsi + 0x80]
mov dword [r14 + 0x80], eax
mov eax, dword [rsi + 0x84]
mov dword [r14 + 0x84], eax
lea rcx, [r14 + 0x88]
lea rdx, [rsi + 0x88]
call fcn.1400606c0
nop
lea r15, [r14 + 0xa8]
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rax
mov rbx, qword [rsi + 0xb0]
sub rbx, qword [rsi + 0xa8]
sar rbx, 3
movabs rax, 0xcccccccccccccccd
imul rbx, rax
test rbx, rbx
je 0x14005f228
movabs rax, 0x666666666666666
cmp rbx, rax
ja 0x14005f315
mov rdx, rbx
call fcn.140064c60
mov qword [r15], rax
mov qword [r15 + 8], rax
lea rcx, [rbx + rbx*4]
lea rax, [rax + rcx*8]
mov qword [r15 + 0x10], rax
mov qword [rsp + 0x78], r15
mov rbx, qword [r15]
mov rbp, qword [rsi + 0xb0]
mov rdi, qword [rsi + 0xa8]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r15
cmp rdi, rbp
je 0x14005f224
mov rdx, rdi
mov rcx, rbx
call fcn.1400606c0
mov eax, dword [rdi + 0x20]
mov dword [rbx + 0x20], eax
add rbx, 0x28
mov qword [rsp + 0x28], rbx
add rdi, 0x28
cmp rdi, rbp
jne 0x14005f201
mov qword [r15 + 8], rbx
lea rcx, [r14 + 0xc0]
lea rdx, [rsi + 0xc0]
call fcn.1400606c0
nop
lea rcx, [r14 + 0xe0]
lea rdx, [rsi + 0xe0]
call fcn.1400606c0
nop
lea rcx, [r14 + 0x100]
lea rdx, [rsi + 0x100]
call fcn.1400606c0
nop
lea rcx, [r14 + 0x120]
lea rdx, [rsi + 0x120]
call fcn.1400606c0
nop
lea rcx, [r14 + 0x140]
lea rdx, [rsi + 0x140]
call fcn.1400606c0
nop
lea rcx, [r14 + 0x160]
lea rdx, [rsi + 0x160]
call fcn.1400606c0
nop
lea rcx, [r14 + 0x180]
lea rdx, [rsi + 0x180]
call fcn.1400606c0
nop
lea rcx, [r14 + 0x1a0]
lea rdx, [rsi + 0x1a0]
call fcn.1400606c0
nop
movzx eax, byte [rsi + 0x1c0]
mov byte [r14 + 0x1c0], al
lea rcx, [r14 + 0x1c8]
lea rdx, [rsi + 0x1c8]
call fcn.140060310
nop
lea rcx, [r14 + 0x1e0]
lea rdx, [rsi + 0x1e0]
call fcn.140060310
nop
mov rax, r14
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140064ad0
nop
int3
Function at 0x14005fc90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x14005fe23
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x14005fe23
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x14005fd29
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x14005fe47
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14005fd3f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x14005fd3f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14005fd52
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x14005fd9d
mov r9d, eax
cmp eax, 0x800
jae 0x14005fd6c
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x14005fd9d
cmp eax, 0x10000
jae 0x14005fd86
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x14005fd9d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x14005fe23
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x14005fdc1
cmp r10d, 3
jae 0x14005fdcd
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x14005fdfe
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x14005fde0
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x14005fcde
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x14005fe32
Function at 0x14007028c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400702d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400702d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400702d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400702d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400702d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400702d8
xor al, al
add rsp, 0x28
ret
Function at 0x140083b60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140197010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
xor ebp, ebp
mov rsi, qword [rdx + 0x10]
mov r8, rdx
mov r12, qword [rdx + 0x18]
cmp r12, 0x10
jb 0x140083bac
mov r8, qword [rdx]
movabs rdx, 0xcbf29ce484222325
mov rcx, rbp
test rsi, rsi
je 0x140083be4
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rsi
jb 0x140083bd0
mov rcx, qword [0x1401981c0]
and rcx, rdx
add rcx, rcx
mov rax, qword [0x1401981a8]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x140198198]
je 0x140083c50
mov rbp, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140083c22
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0x10
jb 0x140083c2e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x140083c3f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140083c4a
cmp rbx, rbp
je 0x140083c4e
mov rbx, qword [rbx + 8]
jmp 0x140083c10
xor ebp, ebp
jmp 0x140083c53
xor ebp, ebp
mov rbx, rbp
test rbx, rbx
je 0x140083c84
cmp rbx, qword [0x140198198]
je 0x140083c84
lea rdx, [rbx + 0x30]
mov rcx, r15
call fcn.1400606c0
nop
mov rcx, rdi
call fcn.140060590
nop
mov rcx, r14
call fcn.140060590
jmp 0x140083d04
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbp
mov qword [r15 + 0x18], rbp
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rcx, rdi
call fcn.140060590
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140083cf4
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140083cef
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140083d23
mov rcx, r8
call fcn.14006fa64
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rax, r15
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006f5c0
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140087dc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1401980c0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x140087eda
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x140087e1a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140069450
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140087e2e
mov edx, 8
mov rcx, rbx
call fcn.140069450
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x140087e7a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140087e50
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140087e89
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14015cefc]
test rax, rax
movsxd rsi, esi
lea rdi, [0x1401980b8]
mov rcx, r15
cmovne rdi, rax
call fcn.14009b680
mov rbx, rax
test rax, rax
je 0x140087ed5
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14009b560
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x14009b579
mov qword [r8], 0
lea rdx, [0x14015cef8]
call fcn.14009b680
mov rbx, rax
test rax, rax
jne 0x14009b598
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14009b658
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14009b658
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14009b658
mov rax, qword [0x1401980c0]
mov rbp, rsi
test rax, rax
je 0x14009b5f5
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14009b658
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x14009b645
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401980c0]
test rax, rax
je 0x14009b63a
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14009b661
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14009b653
mov qword [rdi], rbp
mov rax, rsi
jmp 0x14009b663
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14009b780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140198694], 0
lea rdi, [0x140198690]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x14009b858
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x14009b7b0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14009b88e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x14009b870
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14009b8cf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14009b8b3
cmp byte [r8], r9b
jne 0x14009b8b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x14009b8a0
not eax
pop rdi
ret
Function at 0x14009c9d0
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov esi, r8d
imul eax, edx, 0x15b0
mov ecx, 1
sub ebx, eax
test r8d, r8d
je 0x14009cb0c
mov qword [rsp + 0x20], rdi
xor edx, edx
cmp ebx, 7
jbe 0x14009ca72
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add ecx, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add ecx, eax
add r10, 8
add r9d, ecx
cmp r8d, ebx
jb 0x14009ca13
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x14009cad4
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x14009cac1
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r8d, ecx
add r10, 2
add ecx, eax
add r11d, ecx
sub rdi, 1
jne 0x14009caa0
cmp edx, ebx
jae 0x14009cacd
movzx eax, byte [r10]
add ecx, eax
add r9d, ecx
inc r10
lea eax, [r11 + r8]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
sub esi, ebx
mov ebx, 0x15b0
jne 0x14009ca08
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl r9d, 0x10
lea eax, [rcx + r9]
pop rsi
ret
Function at 0x1400adc80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x1400ade37
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x1400add16
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.1400a1140
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.1400ab060
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x1400add07
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140069840
mov dword [rbx + 0x80], 0
jmp 0x1400ade23
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.1400a18f0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400bab20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140197010]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor esi, esi
xor edx, edx
xor r15d, r15d
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp + 0x70]
mov dword [rbp + 0x70], 0x130
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
nop dword [rax + rax]
movdqa xmm1, xmmword [0x14015d7d0]
mov r9b, 0x28
movd ecx, xmm1
movzx r11d, r9b
movdqu xmmword [rsp + 0x20], xmm1
mov byte [rsp + 0x35], 0
mov dl, 0x3b
xor byte [rsp + 0x22], cl
movdqa xmm0, xmm1
xor byte [rsp + 0x23], cl
xor dl, cl
xor byte [rsp + 0x24], cl
xor r9b, cl
xor byte [rsp + 0x25], cl
xor r11b, cl
xor byte [rsp + 0x26], cl
mov r8b, 0x63
xor byte [rsp + 0x27], cl
xor r8b, cl
xor byte [rsp + 0x28], cl
mov r10b, 0x35
xor byte [rsp + 0x29], cl
xor r10b, cl
xor byte [rsp + 0x2a], cl
xor byte [rsp + 0x2b], cl
xor byte [rsp + 0x2c], cl
xor byte [rsp + 0x2d], cl
xor byte [rsp + 0x2e], cl
xor byte [rsp + 0x2f], cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rsp + 0x30], dl
lea rdx, [rsp + 0x21]
mov byte [rsp + 0x31], r8b
xor al, cl
mov byte [rsp + 0x32], r9b
lea rcx, [rbp + 0x9c]
mov byte [rsp + 0x21], al
mov byte [rsp + 0x33], r10b
mov byte [rsp + 0x34], r11b
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x1400bac94
mov edi, dword [rbp + 0x78]
lea ecx, [rax + 2]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400bac88
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400bac88
mov rcx, rbx
cmp dword [rsp + 0x48], edi
je 0x1400bace1
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400bac70
xor eax, eax
cmp eax, esi
jbe 0x1400bac94
mov r15d, dword [rbp + 0x78]
mov esi, eax
lea rdx, [rbp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400bab80
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14006f5c0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x5c]
jmp 0x1400bac8a
Function at 0x1400c45d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401980c0]
mov ecx, 1
mov dword [rax + 0x120], 0
mov byte [rax + 0x124], 0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400c460a
mov rax, qword [0x1401980c0]
mov byte [rax + 0x120], 1
add rsp, 0x28
ret
Function at 0x140011098
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400110d6
cmp word [rcx], 0x5a4d
jne 0x1400110d6
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x1400110d6
call fcn.1400075c9
mov rcx, qword [0x1400f38d0]
mov rbx, rax
call fcn.140015130
cmp byte [rax], 0
jne 0x1400110d6
cmp dword [rbx], 0x4550
je 0x1400110d8
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400142a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14001a1d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140014310
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400f8b04]
test esi, esi
mov rbx, rcx
jle 0x140014440
mov rax, qword [0x1400f8b08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001435b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400143e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140014340
mov rcx, rbx
call fcn.140014d80
test rax, rax
mov rdi, rax
je 0x140014462
mov rax, qword [0x1400f8b08]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014ec0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400f8b08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140014447
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400143de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400143f0
add dword [0x1400f8b04], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1400f8b08]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400143de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400142a0
nop dword [rax]
xor esi, esi
jmp 0x140014368
mov rax, qword [0x1400f8b08]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1400142a0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1400142a0
nop
nop word cs:[rax + rax]
nop dword [rax]