joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400388a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400dd010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x1400388e6
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x1400388d6
cmp byte [rax], cl
jne 0x1400388e6
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x1400388c7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140038a4a
cmp byte [r8 + 1], dl
je 0x140038a4a
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140038922
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14003894a
sub dl, 0x61
cmp dl, 0x19
ja 0x14003893c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14003894a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140038905
jmp 0x14003894d
inc r9
cmp r8, r9
jae 0x14003897f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140038974
bt rdx, rax
jb 0x14003897a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140038960
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.1400025a0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400389b8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x1400389b0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140038a38
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400389d3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1400389e9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140038a26
movss xmm2, dword [0x1400d4dcc]
cmp al, 0x39
ja 0x140038a26
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140038a00
cmp r9b, 0x2d
jne 0x140038a45
xorps xmm1, xmmword [0x1400d5400]
movaps xmm0, xmm1
jmp 0x140038a4d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140038a4d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400835f0
add rsp, 0x90
pop rbx
ret
Function at 0x140038a70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400dd010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140038ab6
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140038aa6
cmp byte [rax], cl
jne 0x140038ab6
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140038a97
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140038c14
cmp byte [r8 + 1], dl
je 0x140038c14
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140038af2
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140038b1a
sub dl, 0x61
cmp dl, 0x19
ja 0x140038b0c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140038b1a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140038ad5
jmp 0x140038b1d
inc r9
cmp r8, r9
jae 0x140038b4f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140038b44
bt rdx, rax
jb 0x140038b4a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140038b30
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.1400025a0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140038b88
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140038b80
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140038c06
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140038ba3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140038bb9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140038bf4
movsd xmm2, qword [0x1400d4d08]
cmp al, 0x39
ja 0x140038bf4
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140038bd0
cmp r9b, 0x2d
jne 0x140038c0f
xorps xmm1, xmmword [0x1400d53f0]
movaps xmm0, xmm1
jmp 0x140038c17
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140038c17
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400835f0
add rsp, 0x90
pop rbx
ret

Function at 0x1400399f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov edx, 0x1000
xor ecx, ecx
mov r8d, edx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140039a23
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movups xmm0, xmmword [0x1401925c8]
mov ecx, ebx
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1401925d8]
movsd qword [rax + 0x10], xmm1
mov eax, dword [0x1401925e0]
mov dword [rdi + 0x18], eax
movzx eax, word [0x1401925e4]
mov word [rdi + 0x1c], ax
call rdi
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003a330
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x2038
call fcn.140084680
sub rsp, rax
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003a45a
movzx eax, byte [0x140192552]
test al, al
jne 0x14003a3eb
lea r9, str.Cheat_opened__
mov edx, 1
mov r8d, 0xbb8
lea rcx, [rsp + 0x20]
call fcn.1400393e0
mov rax, qword [0x140191c28]
cmp rax, qword [0x140191c30]
je case.default.0x14003a3bd
mov r8d, 0x2010
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x140191c28], 0x2010
mov ecx, 0x64
mov byte [0x140192552], 1
add rsp, 0x2038
jmp qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rsp + 0x20]
mov rdx, rax
call fcn.140083300
mov ecx, 0x64
mov byte [0x140192552], 1
add rsp, 0x2038
jmp qword [sym.imp.KERNEL32.dll_Sleep]
cmp al, 1
jne 0x14003a44f
lea r9, str.Cheat_Closed__
mov edx, 1
mov r8d, 0xbb8
lea rcx, [rsp + 0x20]
call fcn.1400393e0
mov rax, qword [0x140191c28]
cmp rax, qword [0x140191c30]
je 0x14003a43b
mov r8d, 0x2010
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x140191c28], 0x2010
jmp 0x14003a448
lea r8, [rsp + 0x20]
mov rdx, rax
call fcn.140083300
mov byte [0x140192552], 0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x2038
ret
add byte [0x1663b2eb0], dl
add eax, 0x2b1607
invalid
sub eax, dword [rax]
invalid
invalid
invalid
xchg qword [r9 + rbp*2 - 0x65], r10
sbb al, byte [rcx]
mov dl, 0x17
push rsp
xor eax, 0x481e552f
invalid
invalid
jne 0x140161b5d
mov dl, 0x2b
sub esi, dword [rax]
and al, 0x20
push rcx
sub al, 0x32
invalid
invalid
add cl, byte [rdx]
add eax, dword [0x143161f2e]
add al, 0x67
add byte [rax], al
add byte [rcx], al
add al, byte [rax]
add byte [rcx], al
add byte gs:[rdx], al
add ah, byte [rcx]
add cl, byte [rax + rax]
add byte [rcx], al
add byte gs:[rdx], al
add ah, byte [rcx]
add cl, byte [rax + rax]
add byte [rdx], dl
add byte [rcx], dl
and edx, dword [rcx]
adc dword [rbx], edx
invalid
and eax, dword [rcx]
invalid
Function at 0x14003e0c0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x1400dd010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm6, xmm6
mov r14, rdx
cvtss2sd xmm6, xmm2
mov rbp, rcx
mov r15, r9
lea rcx, [0x1400d3900]
xor ebx, ebx
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.1400391c0
movsxd rdi, eax
movabs rsi, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
cmp rdi, rsi
ja 0x14003e2b4
cmp rdi, 0x10
jae 0x14003e153
mov r8, rdi
mov qword [rsp + 0x40], rdi
xor edx, edx
mov qword [rsp + 0x48], 0xf
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
jmp 0x14003e1e2
mov rax, rdi
or rax, 0xf
cmp rax, rsi
ja 0x14003e16e
mov ecx, 0x16
mov rsi, rax
cmp rax, rcx
cmovb rsi, rcx
mov rcx, rsi
mov rax, 0xffffffffffffffff
add rcx, 1
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14003e1b5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003e2ae
mov rcx, rax
call fcn.140083c1c
test rax, rax
je 0x14003e26e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14003e1c2
test rcx, rcx
je 0x14003e1c2
call fcn.140083c1c
mov rbx, rax
mov r8, rdi
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x40], rdi
mov rcx, rbx
mov qword [rsp + 0x48], rsi
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
cmp qword [rsp + 0x48], 0x10
lea rcx, [rsp + 0x30]
lea rdx, [rdi + 1]
movaps xmm3, xmm6
cmovae rcx, qword [rsp + 0x30]
lea r8, [0x1400d3900]
movq r9, xmm6
call fcn.140039160
cmp qword [rsp + 0x48], 0x10
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], r15
lea r9, [rsp + 0x58]
cmovae r8, qword [rsp + 0x30]
mov rdx, r14
mov rcx, rbp
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14003e27a
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e275
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e275
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400836e0
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400835f0
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140039320
int3
call fcn.1400393c0
int3
Function at 0x1400641f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r15
mov eax, 0x1040
call fcn.140084680
sub rsp, rax
mov rax, qword [0x1400dd010]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rax, qword [0x1401924d0]
mov rsi, rcx
mov qword [rsp + 0x28], rcx
add rax, 0xec39490
mov ecx, edx
mov ebx, edx
sar ecx, 0x10
xor edi, edi
shl ecx, 3
add rcx, rax
call fcn.140081d60
movzx ecx, bx
lea r15, [rax + rcx*4]
mov rcx, r15
call fcn.140081e00
movzx r12d, ax
shr r12d, 6
test r12d, r12d
je 0x14006440f
mov qword [rsp + 0x1080], rbp
mov ebx, edi
mov qword [rsp + 0x1088], r14
mov ebp, edi
mov r14d, r12d
nop word [rax + rax]
mov ecx, ebp
add rcx, 4
add rcx, r15
call fcn.140081ea0
mov byte [rsp + rbx + 0x30], al
inc ebp
inc rbx
cmp rbx, r14
jl 0x140064280
mov rcx, qword [0x1401924d0]
lea rbx, [rsp + 0x30]
add rcx, 0xeb42a00
call fcn.140081f40
mov r9d, eax
mov r10d, edi
shr r9, 5
nop
movsx edx, byte [rbx]
movzx ecx, r9b
mov eax, edx
lea r9d, [r9 + r10*4]
shr eax, 4
mov r8, rbx
xor al, cl
shl dl, 4
and al, 0xf
inc rbx
xor al, dl
inc r10d
xor al, cl
mov byte [r8], al
cmp r10d, r12d
jl 0x1400642c0
mov r14, qword [rsp + 0x1088]
lea rax, [rsp + 0x30]
xorps xmm0, xmm0
mov byte [rsp + r12 + 0x30], dil
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov rbx, 0xffffffffffffffff
mov qword [rsi + 0x18], rdi
inc rbx
cmp byte [rax + rbx], dil
jne 0x140064313
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x140064426
mov qword [rsi + 0x18], 0xf
cmp rbx, 0x10
jae 0x140064356
mov r8, rbx
mov qword [rsi + 0x10], rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400643e5
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x14006438b
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140083c1c
test rax, rax
je 0x1400643b2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400643c6
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, 0x1000
jb 0x1400643b9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006442c
jmp 0x140064370
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400643c6
call fcn.140083c1c
mov rdi, rax
mov r8, rbx
mov qword [rsi], rdi
lea rdx, [rsp + 0x30]
mov qword [rsi + 0x10], rbx
mov rcx, rdi
mov qword [rsi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
mov rbp, qword [rsp + 0x1080]
mov rax, rsi
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400835f0
add rsp, 0x1040
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
xorps xmm0, xmm0
mov rax, rsi
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
jmp 0x1400643f0
call fcn.1400393c0
int3
call fcn.140039320
int3
Function at 0x140064440
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1400dd010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [0x140192338]
movaps xmm8, xmm0
movss xmm9, dword [0x140191c00]
xorps xmm4, xmm4
ucomiss xmm8, xmm4
movss xmm6, dword [rax + 0x10]
movaps xmm7, xmm1
movss xmm5, dword [rax + 0x14]
xorps xmm3, xmm3
mulss xmm6, dword [0x1400d4bec]
xorps xmm2, xmm2
mulss xmm5, dword [0x1400d4bec]
jp 0x1400644ae
je 0x140064500
comiss xmm8, xmm6
jbe 0x1400644de
movaps xmm3, xmm6
movaps xmm0, xmm6
subss xmm3, xmm8
addss xmm0, xmm6
xorps xmm3, xmmword [0x1400d5400]
divss xmm3, xmm9
movaps xmm1, xmm3
addss xmm1, xmm6
comiss xmm1, xmm0
jbe 0x1400644de
xorps xmm3, xmm3
comiss xmm6, xmm8
jbe 0x140064500
movaps xmm3, xmm8
subss xmm3, xmm6
divss xmm3, xmm9
movaps xmm0, xmm3
addss xmm0, xmm6
comiss xmm4, xmm0
jbe 0x140064500
xorps xmm3, xmm3
ucomiss xmm7, xmm4
jp 0x140064507
je 0x140064555
comiss xmm7, xmm5
jbe 0x140064535
movaps xmm2, xmm5
movaps xmm0, xmm5
subss xmm2, xmm7
addss xmm0, xmm5
xorps xmm2, xmmword [0x1400d5400]
divss xmm2, xmm9
movaps xmm1, xmm2
addss xmm1, xmm5
comiss xmm1, xmm0
jbe 0x140064535
xorps xmm2, xmm2
comiss xmm5, xmm7
jbe 0x140064555
movaps xmm2, xmm7
subss xmm2, xmm5
divss xmm2, xmm9
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm4, xmm0
jbe 0x140064555
xorps xmm2, xmm2
xor eax, eax
mov qword [rsp + 0x34], 0x4001
mov dword [rsp + 0x20], eax
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov edx, 0x1000
cvttss2si eax, xmm3
mov r8d, edx
lea r9d, [rcx + 0x40]
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm2
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1400645f1
movups xmm0, xmmword [0x1401925a8]
mov r8d, 0x28
lea rdx, [rsp + 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1401925b8]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x1401925c0]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x1401925c4]
mov word [rax + 0x1c], cx
lea ecx, [r8 - 0x27]
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400835f0
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x90
pop rbx
ret
Function at 0x14006dc10
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 [0x1400dd010]
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 0x14006dc7a
mov rdx, qword [rdx + 0x18]
jmp 0x14006dda0
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 0x14006dd92
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x30]
call fcn.140081890
mov r8, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14006dcc8
mov rcx, qword [rbx]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14006dcd6
mov r8, qword [rax]
cmp rdx, qword [rbx + 0x10]
jne 0x14006dcfd
test rdx, rdx
je 0x14006dcf8
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14006dcfd
add rcx, 2
sub rdx, 1
jne 0x14006dce4
mov dil, 1
jmp 0x14006dd00
xor dil, dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14006dd3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006dd39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006dd8b
call fcn.1400836e0
test dil, dil
je 0x14006dd78
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14006dd6b
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rsi + 8], 4
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14006dc9e
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.140082af0
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14006dc9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14006ddd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14006ddd2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006de12
mov rcx, r8
call fcn.1400836e0
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.1400835f0
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]
int3
Function at 0x140084068
Capabilities:
Parse pe header

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

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

Function at 0x1400061ac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005fa8
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005440]
mov dword [rax], 1
mov rax, qword [0x140005450]
mov dword [rax], 1
mov rax, qword [0x140005460]
mov dword [rax], 1
mov rax, qword [0x140005400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400016e2
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
call sym.__main
mov r9d, 0
mov r8d, 0
lea rax, [sym.HookCallback]
mov rdx, rax
mov ecx, 0xd
mov rax, qword [sym.imp.USER32.dll_SetWindowsHookExA]
call rax
mov qword [0x1400090a0], rax
jmp 0x14000173c
lea rax, [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_TranslateMessage]
call rax
lea rax, [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_DispatchMessageA]
call rax
lea rax, [rbp - 0x30]
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetMessageA]
call rax
test eax, eax
jne 0x14000171c
mov rax, qword [0x1400090a0]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call rax
mov eax, 0
add rsp, 0x50
pop rbp
ret

Function at 0x140001ab0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop