joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ca30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002ca7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002ca7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002ca7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002ca7a
cmp dword [rcx + 0x84], 0xe
jbe 0x14002ca7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002ca7c
xor al, al
add rsp, 0x28
ret

Function at 0x1400018e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000192a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000192a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000192a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000192a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000192a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000192c
xor al, al
add rsp, 0x28
ret
Function at 0x140011352
Capabilities:
Access peb ldr_data
Get ntdll base address
Get uefi variable

Disassembly:
jmp 0x140025110
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x14003d028]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x14004407e]
call fcn.140011a7d
mov rax, qword [rbp + 0x258]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x260]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x270]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x38], rax
mov rax, qword gs:[0x60]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x250]
mov qword [rax + 0x18], rcx
mov rax, qword [rbp + 0x58]
lea rcx, [rbp + 8]
mov qword [rax + 0x10], rcx
lea rdx, str.SecureBoot
lea rcx, [rbp + 0x78]
call fcn.140011a1e
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0xc4], 1
mov dword [rbp + 0xe4], 0
mov dword [rbp + 0x108], 0x8be4df61
mov eax, 0x93ca
mov word [rbp + 0x10c], ax
mov eax, 0x11d2
mov word [rbp + 0x10e], ax
mov byte [rbp + 0x110], 0xaa
mov byte [rbp + 0x111], 0xd
mov byte [rbp + 0x112], 0
mov byte [rbp + 0x113], 0xe0
mov byte [rbp + 0x114], 0x98
mov byte [rbp + 0x115], 3
mov byte [rbp + 0x116], 0x2b
mov byte [rbp + 0x117], 0x8c
lea rax, [rbp + 0xe4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc4]
lea r8, [rbp + 0xa4]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x78]
call fcn.140011636
mov dword [rbp + 0x134], eax
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x58]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x58]
mov qword [rax + 0x10], 0
cmp dword [rbp + 0x134], 0
jl 0x1400252e1
xor eax, eax
jmp 0x1400252e8
mov rax, qword [rbp + 0x158]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140036f40]
call fcn.1400118d4
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.140011505
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x1400115d2
Capabilities:
Terminate process

Disassembly:
jmp 0x140029f20
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011753
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002cad0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002caf0
xor al, al
jmp 0x14002cb71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002cb03
xor al, al
jmp 0x14002cb71
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002cb2d
xor al, al
jmp 0x14002cb71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002cb41
xor al, al
jmp 0x14002cb71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002cb53
xor al, al
jmp 0x14002cb71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002cb6f
xor al, al
jmp 0x14002cb71
mov al, 1
add rsp, 0x38
ret
Function at 0x140003450
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400034ad
lea rbx, [0x140062c50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003494
cmp r10, 2
jb 0x140003494
cmp byte [r9], r8b
jne 0x140003494
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003470
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400034ef
lea rbx, [0x140062c50]
cmp r8b, 0x23
jne 0x1400034d3
cmp byte [r9], r8b
jne 0x1400034d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400034c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003630
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000364a
mov qword [r8], 0
lea rdx, [0x1400627b0]
call fcn.140003500
mov rbx, rax
test rax, rax
jne 0x14000366a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003741
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003741
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003741
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003741
cmp rdi, 0xffffffffffffffff
je 0x140003741
mov rax, qword [0x1402ad0c0]
test rax, rax
je 0x1400036de
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003741
mov r9, rbx
mov r8, rdi
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, rdi
je 0x14000372e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1402ad0c0]
test rax, rax
je 0x140003723
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000374a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000373c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000374c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006f40
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x140062c50]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f40], ebx
jne 0x140006fd6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001be20
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006fe0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x140062c50]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140014ef0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1402ad0c0]
mov edi, ecx
cmp byte [rbx + 0x4a7d], 0
jne 0x140014f51
cmp byte [rbx + 0x4a7e], 0
jne 0x140014f51
movsx r9d, word [rbx + 0x5ba2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400032b0
test dil, 1
je 0x14001507f
jmp 0x140014fda
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5ba2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400685c8]
mulss xmm1, dword [0x1400685a4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e8], rax
mov dword [rbx + 0x47d4], 1
movss dword [rbx + 0x47e0], xmm0
movss dword [rbx + 0x47e4], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x1400684a4]
or dword [rbx + 0x47d0], 0x41
movss dword [rbx + 0x4830], xmm0
call fcn.1400032b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015030
lea r11, [0x140062c50]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140015013
cmp byte [r8], r9b
jne 0x140015013
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140015000
not ecx
call fcn.14000b8c0
test rax, rax
je 0x14001507f
cmp byte [rax + 0xb6], 0
je 0x14001507f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5ba2]
movsx r9d, word [rbx + 0x5ba2]
call fcn.1400032b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000e0b0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005e7f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a760
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c88], 0
lea rbx, [rcx + 0x5c90]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a807
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a7ba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ca90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003dc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c88]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c98]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1402ad0b8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a80f
mov rcx, rbx
call fcn.140003dc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001aba0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402ad0c0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001ac03
mov qword [rsp], rbx
lea rbx, [0x140062c50]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001abe3
cmp byte [r8], r9b
jne 0x14001abe3
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 [rbx + rdx*4]
test r9b, r9b
jne 0x14001abd0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c00]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001ac37
mov r10, qword [r10 + 0x5c08]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001ac3e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001ac24
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14004d520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
xor r9d, r9d
lea rdi, [rbp + 0x18]
mov rbx, qword [rdi]
movabs r14, 0x6b39732f18fbcd8c
mov qword [rdi], r9
mov r11, r14
mov byte [rbp - 0x20], 0xce
mov r10d, r9d
mov byte [rbp - 0x1f], 0xf1
lea esi, [r9 + 0xf]
mov byte [rbp - 0x1e], 0xd6
mov byte [rbp - 0x1d], 0xf0
mov byte [rbp - 0x1c], 0xfe
mov byte [rbp - 0x1b], 0xec
mov byte [rbp - 0x1a], 0xd3
mov byte [rbp - 0x19], 0xfc
mov byte [rbp - 0x18], 0xf1
mov byte [rbp - 0x17], 0xf2
mov byte [rbp - 0x16], 0xf6
mov byte [rbp - 0x15], 0xe4
mov byte [rbp - 0x14], 0xdc
mov byte [rbp - 0x13], 0xf5
mov byte [rbp - 0x12], 0xe4
mov byte [rbp - 0x11], 0xee
mov byte [rbp - 0x10], 0xf5
mov byte [rbp - 0xf], 0xdc
mov byte [rbp - 0xe], 0xfd
mov byte [rbp - 0xd], 0xe3
mov byte [rbp - 0xc], 0xde
mov byte [rbp - 0xb], 0xda
mov byte [rbp - 0xa], 0xaa
movzx eax, byte [rbp - 0x20]
lea rax, [rbp - 0x20]
sub r11, rax
nop dword [rax]
mov rcx, r10
lea rdx, [rbp - 0x20]
add rdx, r10
and ecx, esi
cmp rcx, rsi
mov rax, r14
cmovae rcx, rsi
movsx r8, byte [rdx]
add dl, r11b
shl cl, 2
shr rax, cl
and al, sil
xor al, dl
xor al, r8b
mov byte [rbp + r10 - 0x20], al
inc r10
cmp r10, 0x17
jb 0x14004d5c0
mov byte [rbp + 0x20], 0xf7
movabs r11, 0x442f4eb32794278c
mov byte [rbp + 0x21], 0xec
mov r10, r11
mov byte [rbp + 0x22], 0xe7
mov byte [rbp + 0x23], 0xbe
mov byte [rbp + 0x24], 0xa6
mov byte [rbp + 0x25], 0xed
mov byte [rbp + 0x26], 0x95
movzx eax, byte [rbp + 0x20]
lea rax, [rbp + 0x20]
sub r10, rax
nop dword [rax]
mov rcx, r9
lea rdx, [rbp + 0x20]
add rdx, r9
and ecx, esi
cmp rcx, rsi
mov rax, r11
cmovae rcx, rsi
movzx r8d, byte [rdx]
add dl, r10b
shl cl, 2
shr rax, cl
and al, sil
xor al, dl
xor al, r8b
mov byte [rbp + r9 + 0x20], al
inc r9
cmp r9, 7
jb 0x14004d630
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x14004d6d2
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUserInjectMouseInput
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x14004d6d2
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.InjectMouseInput
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
je 0x14004d72f
movups xmm1, xmmword [rcx]
movdqu xmmword [0x1402ad318], xmm1
movsd xmm0, qword [rcx + 0x10]
movsd qword [0x1402ad328], xmm0
mov eax, dword [rcx + 0x18]
movdqa xmm0, xmmword [0x140068930]
mov dword [0x1402ad330], eax
xorps xmm0, xmm1
movzx eax, word [rcx + 0x1c]
lea rcx, [0x1402ad318]
mov word [0x1402ad334], ax
mov eax, 0x10
movdqu xmmword [0x1402ad318], xmm0
nop dword [rax]
xor byte [rax + rcx], 0xfa
inc rax
cmp rax, 0x1e
jb 0x14004d720
mov al, 1
mov rsi, qword [rsp + 0x70]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x1400585c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
cmp qword [rdx + 0x10], r14
jne 0x14005862a
mov rdx, qword [rdx + 0x18]
jmp 0x14005874b
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005873d
nop word [rax + rax]
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x30]
call fcn.14005d3f0
mov r8, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140058682
mov rcx, qword [rbx]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140058690
mov r8, qword [rax]
cmp rdx, qword [rbx + 0x10]
jne 0x1400586b9
test rdx, rdx
je 0x1400586b4
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400586b9
add rcx, 2
sub rdx, 1
jne 0x1400586a0
mov dil, 1
jmp 0x1400586bc
xor dil, dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400586fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400586f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400587bd
call fcn.14005ee00
test dil, dil
je 0x140058727
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14005871a
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rsi + 8], 4
jmp 0x140058727
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.14005e3e0
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058660
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140058782
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005877d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400587c4
mov rcx, r8
call fcn.14005ee00
mov word [rbx], r14w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
mov rax, rsi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14005e7f0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14005f47c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005f4c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005f4c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005f4c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005f4c6
cmp dword [rcx + 0x84], 0xe
jbe 0x14005f4c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005f4c8
xor al, al
add rsp, 0x28
ret
Function at 0x140001c00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c4a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c4a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c4a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c4a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c4a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c4c
xor al, al
add rsp, 0x28
ret

Function at 0x140ae9108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140ae928f
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 0x140ae9139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae911f
add dl, dl
jne 0x140ae9146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae91a6
xor eax, eax
add dl, dl
jne 0x140ae9155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae925d
add dl, dl
jne 0x140ae9166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae9173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae9180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae918d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ae919a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ae912e
mov eax, 1
add dl, dl
jne 0x140ae91b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae91c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae91ab
sub eax, ebx
mov ebx, 1
jne 0x140ae91fc
mov ecx, 1
add dl, dl
jne 0x140ae91de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ae91eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae91d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae912e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ae9218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ae9225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae920d
cmp eax, 0x7d00
jae 0x140ae924b
cmp eax, 0x500
jb 0x140ae9246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae912e
cmp eax, 0x7f
ja 0x140ae924e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae912e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ae9282
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 0x140ae912e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20