joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180089ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rsi
sub rsp, 0x58
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov r10, rcx
mov rcx, qword [rcx + 8]
mov rsi, r8
mov rbx, rdx
cmp rax, rcx
je 0x18008a0ba
mov rdx, qword [rdx]
sub rcx, rax
cmp rdx, rcx
jae 0x18008a0ba
lea rax, [rdx + 5]
cmp rax, rcx
ja 0x18008a0ba
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x18008a0ba
lea rcx, [r8 + 1]
mov qword [rbx], rcx
mov rax, qword [r10]
movzx r9d, byte [rax + r8]
lea rdx, [rcx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r9d, 0x18
movzx ecx, byte [rax + rcx]
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r9d, ecx
movzx ecx, byte [rax + rdx]
lea rdx, [r8 + 1]
mov qword [rbx], rdx
mov r11, qword [r10]
shl ecx, 8
movzx eax, byte [r11 + r8]
or r9d, ecx
or r9d, eax
cmp r9d, 0xa
jne 0x18008a0ba
mov rcx, qword [r10 + 8]
lea rax, [rdx + 5]
sub rcx, r11
cmp rax, rcx
ja 0x18008a0ba
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x18008a0ba
lea rcx, [r8 + 1]
mov qword [rsp + 0x50], rdi
mov qword [rbx], rcx
mov rax, qword [r10]
lea rdx, [rcx + 1]
movzx r11d, byte [rax + r8]
mov qword [rbx], rdx
mov rax, qword [r10]
movzx ecx, byte [rax + rcx]
lea r8, [rdx + 1]
shl r11d, 0x18
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r11d, ecx
movzx ecx, byte [rax + rdx]
shl ecx, 8
or r11d, ecx
lea rcx, [r8 + 1]
mov qword [rbx], rcx
mov rdx, qword [r10]
movzx eax, byte [rdx + r8]
or r11d, eax
mov rax, qword [r10 + 8]
sub rax, rcx
mov edi, r11d
sub rax, rdx
cmp rdi, rax
jbe 0x180089ffd
xor al, al
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180139310
add rsp, 0x58
pop rsi
pop rbx
ret
xorps xmm0, xmm0
mov eax, 1
mov dword [rsp + 0x20], 0x2d2d4352
mov dword [rsp + 0x24], 0xf7babac9
mov dword [rsp + 0x28], 0x61726f43
mov dword [rsp + 0x2c], 0x776f7242
movd xmm2, eax
paddd xmm0, xmmword [0x1801b3460]
movdqu xmm1, xmmword [rsp + 0x20]
mov rax, qword [rsi]
mov dword [rsp + 0x30], 0x2d756e45
mov dword [rsp + 0x34], 0x61746144
pslld xmm1, xmm2
paddd xmm0, xmm1
mov dword [rsp + 0x38], 0x37313630
mov dword [rsp + 0x3c], 0x30313032
mov qword [rsi + 8], rax
movdqu xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [0x1801b3470]
paddd xmm0, xmmword [0x1801b3460]
movdqu xmm1, xmmword [rsp + 0x30]
mov rdx, qword [rbx]
pslld xmm1, xmm2
paddd xmm0, xmm1
movdqu xmmword [rsp + 0x30], xmm0
add rdx, qword [r10]
jne 0x18008a0a2
xor al, al
add qword [rbx], rdi
jmp 0x180089fe4
lea rcx, [rsp + 0x20]
mov r9, rsi
mov r8d, r11d
call fcn.18009fb00
add qword [rbx], rdi
jmp 0x180089fe4
xor al, al
jmp 0x180089fe9
Function at 0x1800ca440
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, pe_nt_image_headers64
mov dword [rsp + 0x20], 0x114
call fcn.180140c00
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800ca4a3
cmp dword [rsp + 0x24], 6
jb 0x1800ca4a3
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180139310
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180139310
add rsp, 0x158
ret
Function at 0x1800cdd00
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, r8
mov rbx, rdx
mov qword [rbp - 0x48], rdx
xor r12d, r12d
mov dword [rbp - 0x50], r12d
lea edx, [r12 + 0x25]
xor r8d, r8d
mov rcx, rsi
call fcn.180025830
xor r8d, r8d
mov rdx, rsi
cmp rax, 0xffffffffffffffff
jne 0x1800cdd85
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
or r9, rax
mov rcx, rbx
call fcn.180005330
nop
mov dword [rbp - 0x50], 1
jmp 0x1800cdeff
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
or rdi, 0xffffffffffffffff
mov r9, rdi
lea rcx, [rbp - 0x28]
call fcn.180005330
nop
cmp qword [rsi + 0x18], 8
jb 0x1800cddbb
mov rcx, qword [rsi]
jmp 0x1800cddbe
mov rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r15d, eax
test eax, eax
jne 0x1800cddf6
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov r9, rdi
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.180005330
jmp 0x1800cded7
lea ecx, [rax + 2]
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.180112448
mov r14, rax
cmp qword [rsi + 0x18], 8
jb 0x1800cde1a
mov rsi, qword [rsi]
lea r8d, [r15 + 1]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1800cde6a
cmp eax, r15d
ja 0x1800cde6a
mov eax, eax
mov word [r14 + rax*2], r12w
cmp word [r14], 0
jne 0x1800cde50
mov rdi, r12
jmp 0x1800cde5b
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x1800cde50
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.180005920
mov rcx, r14
call fcn.18013a400
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
cmp qword [rbp - 0x10], 8
jae 0x1800cdea3
mov r8, qword [rbp - 0x18]
inc r8
je 0x1800cdeb6
add r8, r8
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.180139340
jmp 0x1800cdeb6
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov rax, qword [rbp - 0x28]
mov qword [rbx], rax
mov qword [rbp - 0x28], r12
mov rax, qword [rbp - 0x18]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp - 0x10]
mov qword [rbx + 0x18], rax
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
mov dword [rbp - 0x50], 1
cmp qword [rbp - 0x10], 8
jb 0x1800cdeee
mov rcx, qword [rbp - 0x28]
call fcn.180139b7c
mov word [rbp - 0x28], r12w
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1800d0450
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x28], rax
lea ecx, [rax + 1]
call fcn.180139f6c
mov qword [rsp + 0x28], rax
mov byte [rax], 0
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x30]
call fcn.180140c00
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800d04d0
cmp dword [rsp + 0x34], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.180060e70
test al, al
je 0x1800d04fb
lea rcx, [rsp + 0x28]
call fcn.18005eb20
test al, al
jne 0x1800d04fb
xor bl, bl
jmp 0x1800d0597
lea rbx, [rdi + 8]
mov rdx, rbx
xor ecx, ecx
call fcn.180023d30
xor esi, esi
test al, al
jne 0x1800d0520
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1800d051d
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x28]
mov rdx, rbx
mov ecx, 0x1a
call fcn.180023d30
test al, al
jne 0x1800d0546
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1800d0543
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x48]
mov rdx, rbx
mov ecx, 2
call fcn.180023d30
test al, al
jne 0x1800d056c
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1800d0569
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x68]
mov rdx, rbx
mov ecx, 0xb
call fcn.180023d30
test al, al
jne 0x1800d0592
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1800d058f
mov rbx, qword [rbx]
mov word [rbx], si
mov byte [rdi], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.18005dff0
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800e7380
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x1800e73bb
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1800e73bb
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x20]
call fcn.180084f80
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800e9af0
Capabilities:
Get file size
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, r9
mov r12d, r8d
mov r15, rdx
mov rsi, rcx
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x30], rax
xor edi, edi
test rax, rax
je 0x1800e9b3e
mov dword [rax], edi
mov dword [r9], edi
cmp qword [rcx], 0xffffffffffffffff
je 0x1800e9ca7
mov eax, 0x100000
mov ebp, r12d
cmp r12d, eax
cmova ebp, eax
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8d, ebp
mov rdx, r15
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x80004005
test eax, eax
cmovne edx, edi
cmp qword [rsi + 0x28], 0
je 0x1800e9c74
test edx, edx
je 0x1800e9c74
mov ecx, dword [rsp + 0x68]
cmp ecx, ebp
jae 0x1800e9c78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x1800e9be2
mov dword [rsp + 0x6c], edi
lea rdx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1800e9bd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800e9be0
mov ebx, dword [rsp + 0x6c]
shl rbx, 0x20
add rbx, rdi
xor edi, edi
jmp 0x1800e9be5
xor edi, edi
mov rbx, rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
lea rdx, [rsi + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.180005330
nop
mov rcx, qword [rsi + 0x28]
mov rax, qword [rcx]
mov r9, r14
mov r8, rbx
lea rdx, [rsp + 0x38]
call qword [rax + 0x30]
mov edx, eax
test eax, eax
jne 0x1800e9c74
mov dword [rsp + 0x70], edi
mov edx, dword [rsp + 0x68]
add rdx, r15
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
mov r8d, ebp
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x80004005
test eax, eax
cmovne edx, edi
mov ecx, dword [rsp + 0x68]
add ecx, dword [rsp + 0x70]
mov dword [rsp + 0x68], ecx
test edx, edx
jne 0x1800e9b97
jmp 0x1800e9c78
mov ecx, dword [rsp + 0x68]
add dword [r13], ecx
test edx, edx
jne 0x1800e9c9b
test ecx, ecx
je 0x1800e9c97
mov eax, ecx
add r15, rax
sub r12d, ecx
mov eax, 0x100000
jne 0x1800e9b50
mov al, 1
jmp 0x1800e9ca9
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1800e9ca7
mov dword [rax], edx
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180139310
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180170f30
Capabilities:
Hash data with md5

Disassembly:
push rbx
mov eax, 0x20
call fcn.18014e2d0
sub rsp, rax
lea r8d, [rax + 0x3c]
xor edx, edx
mov rbx, rcx
call fcn.180140c00
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140002db0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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 fcn.140003bd0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140003bd0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002e20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400080a4]
mov rbx, rcx
test esi, esi
jle 0x140002f50
mov rax, qword [0x1400080a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002e6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002ef5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002e50
mov rcx, rbx
call fcn.140003870
mov rdi, rax
test rax, rax
je 0x140002f72
mov rax, qword [0x1400080a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400039b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400080a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002f57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002eee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002f00
add dword [0x1400080a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
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 [0x1400080a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002eee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002db0
nop dword [rax]
xor esi, esi
jmp 0x140002e78
mov rax, qword [0x1400080a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002db0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002db0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400034e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x14000353c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003533
test rsi, rsi
je 0x140003533
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003518
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003870
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400059d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003890
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003898
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003890
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400038ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400038e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003890
add rax, 0x28
cmp rax, r9
jne 0x1400038d0
xor eax, eax
ret

Function at 0x1400038f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400059d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000390f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003918
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000390f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400039b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400059d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400039cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400039d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002d10
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r9, dword [rcx + 0x3c]
lea rbx, [rcx + 0x18]
add rbx, r9
xor r10d, r10d
xor edi, edi
mov r14, r8
mov r15, rdx
mov rbp, rcx
movzx eax, word [r9 + rcx + 0x14]
movzx esi, word [r9 + rcx + 6]
add rbx, rax
test esi, esi
je 0x140002d90
cmp dword [rbx], 0x45474150
je 0x140002d6a
cmp dword [rbx], 0x7865742e
jne 0x140002d86
cmp byte [rbx + 4], 0x74
jne 0x140002d86
mov ecx, dword [rbx + 0xc]
mov r9, r14
mov edx, dword [rbx + 8]
add rcx, rbp
mov r8, r15
call fcn.140002c9c
mov r10, rax
test rax, rax
jne 0x140002d90
inc edi
add rbx, 0x28
cmp edi, esi
jb 0x140002d54
mov rbx, qword [rsp + 0x40]
mov rax, r10
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140002dac
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x150
xor ebx, ebx
lea r9, [rax + 0x18]
mov r14, rdx
mov dword [rax + 0x18], ebx
mov r15, rcx
xor r8d, r8d
xor edx, edx
mov ebp, ebx
lea esi, [rbx + 0xb]
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140002f06
mov edx, dword [rsp + 0x180]
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140002f06
mov r8d, dword [rsp + 0x180]
xor r9d, r9d
mov rdx, rax
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x140002ef6
mov esi, ebx
cmp dword [rdi], ebx
jbe 0x140002ef3
mov eax, esi
mov edx, 2
imul rcx, rax, 0x128
lea rax, [rdi + 8]
add rax, rcx
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140002e54
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.140002f64
mov rcx, rax
mov rdx, r15
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140002ee2
inc esi
cmp esi, dword [rdi]
jb 0x140002e3a
jmp 0x140002ef3
mov rbp, qword [rsp + 0x30]
test r14, r14
je 0x140002ef3
mov eax, dword [rsp + 0x38]
mov dword [r14], eax
mov rbx, rbp
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x140002f08
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140002f28
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rcx
test edx, edx
jne 0x140002f32
xor eax, eax
ret
movzx eax, byte [rcx]
xor eax, 0x4f9ace2f
imul ecx, eax, 0x1000193
cmp edx, 1
jbe 0x140002f5f
inc r8
dec edx
movzx eax, byte [r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
sub rdx, 1
jne 0x140002f4a
mov eax, ecx
ret

Function at 0x14000301c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov edi, r8d
mov ebx, ecx
mov edx, r8d
mov rcx, rsi
call fcn.140002f28
xor ebx, eax
test edi, edi
je 0x14000307b
mov r8d, edi
imul ebx, ebx, 0x41c64e6d
mov eax, 0x80808081
add ebx, 0x3039
mov ecx, ebx
shr ecx, 0x10
and ecx, 0x7fff
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
xor byte [rsi], cl
inc rsi
sub r8, 1
jne 0x140003047
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001e10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x140001ff7
cmp byte [rbx + 1], 0
movss xmm1, dword [0x1400078fc]
movd xmm2, dword [rbx + 0x6c]
movaps xmmword [rsp + 0xa0], xmm6
cvtdq2ps xmm2, xmm2
mov qword [0x14000a7a8], rbx
mov dword [rsp + 0x50], 0x41200000
mov dword [rsp + 0x54], 0x41200000
mov dword [rsp + 0x68], 0x41200000
movaps xmmword [rsp + 0x90], xmm7
movd xmm7, dword [rbx + 0x68]
movaps xmm6, xmm2
subss xmm6, dword [rbx + 0x5c]
cvtdq2ps xmm7, xmm7
mov dword [rsp + 0x6c], 0x41200000
movss dword [rsp + 0x44], xmm2
subss xmm2, xmm1
movaps xmm0, xmm7
movss dword [rsp + 0x4c], xmm6
addss xmm0, dword [rbx + 0x58]
addss xmm6, xmm1
movss dword [rsp + 0x40], xmm7
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x48], xmm0
subss xmm0, xmm1
movss dword [rsp + 0x64], xmm6
movss dword [rsp + 0x60], xmm0
movaps xmm0, xmm7
addss xmm0, xmm1
movss dword [rsp + 0x58], xmm0
jne 0x140001f44
mov ecx, 0x55
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001f08
add dword [rbx + 0x68], 0xf
mov ecx, 0x49
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001f1c
add dword [rbx + 0x68], 0xfffffff1
mov ecx, 0x4f
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001f30
add dword [rbx + 0x6c], 0xfffffff1
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001f44
add dword [rbx + 0x6c], 0xf
mov rcx, qword [rbx + 0x30]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x40]
mov r8, qword [rbx + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x98]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [0x140007960]
movups xmmword [rsp + 0x30], xmm0
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x58]
mov r8, qword [rbx + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x98]
mov eax, dword [rbx + 0x78]
mov rcx, rbx
movaps xmm0, xmmword [0x140007950]
movss xmm1, dword [rbx + 0x58]
mulss xmm1, dword [0x1400078ec]
mov r9, qword [rbx + 0x70]
lea edx, [rax + rax*2]
add edx, edx
movaps xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
addss xmm1, xmm7
mov qword [rsp + 0x20], rax
cvttss2si r8d, xmm6
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si edx, xmm1
call fcn.140001ab0
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400056d0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret