joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001ca0
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 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 rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140007314]
mov rbx, rcx
test esi, esi
jle 0x140001e40
mov rax, qword [0x140007318]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001d5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001de5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001d40
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001e62
mov rax, qword [0x140007318]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140007318]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001e47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001dde
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001df0
add dword [0x140007314], 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 [0x140007318]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001dde
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001d68
mov rax, qword [0x140007318]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400023d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007380]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007360]
test rbx, rbx
je 0x14000242c
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 0x140002423
test rsi, rsi
je 0x140002423
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002408
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 0x140002640
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002658
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002660
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002670
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400026bd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400026b4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400026bf
add rax, 0x28
cmp rax, r9
jne 0x1400026a0
xor eax, eax
ret

Function at 0x1400026c0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002750
mov rdx, qword [0x140004420]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000273e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000273e
cmp word [rax + 0x18], 0x20b
jne 0x14000273e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002750
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002729
add rbx, 0x28
cmp rbx, rdi
je 0x140002750
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002720
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002760
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004420]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002780
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002788
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002780
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400027dd
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 0x1400027d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002780
add rax, 0x28
cmp rax, r9
jne 0x1400027c0
xor eax, eax
ret

Function at 0x1400027e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004420]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400027ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002808
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400027ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002820
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004420]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002840
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002848
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002840
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002890
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002887
test rcx, rcx
je 0x140002840
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002878
xor eax, eax
ret

Function at 0x1400028a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004420]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400028bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400028c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400028e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004420]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002900
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002908
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002900
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002900
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002954
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002960
add rdx, 0x28
cmp r9, rdx
jne 0x140002940
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002970
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004420]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002992
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400029a0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002992
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002992
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002992
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400029f5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002a08
add rdx, 0x28
cmp rdx, r10
jne 0x1400029e0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002a17
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002a27
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400029fe
test ecx, ecx
jg 0x140002a10
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14001e430
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.1400bd050
sub rsp, rax
vmovaps xmmword [rsp + 0x13d0], xmm6
vmovaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x1400ee340]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
vmovaps xmm7, xmm1
vmovaps xmm6, xmm0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
mov r9d, 0x270
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r9
jb 0x14001e490
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14001e4c0
mov eax, dword [rsp + 0x20]
vsubss xmm0, xmm7, xmm6
vxorps xmm1, xmm1, xmm1
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
vcvtsi2ss xmm1, xmm1, rax
vmulss xmm2, xmm1, xmm0
vmovaps xmm0, xmm6
vfmadd231ss xmm0, xmm2, dword [0x1400d7020]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400bbf90
vmovaps xmm6, xmmword [rsp + 0x13d0]
vmovaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x140021940
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1401b69f0], 0
je 0x140021ba1
mov rax, qword [0x1401b52a8]
mov dword [rax + 0x4830], 0x3e99999a
or dword [rax + 0x47d0], 0x42
mov qword [rax + 0x47f0], 0x43480000
mov dword [rax + 0x47d8], 1
xor edx, edx
lea r8d, [rdx + 0x20]
lea rcx, str.Cheats_List
call fcn.140037a50
cmp byte [0x1401b66a1], 0
je 0x1400219bf
cmp byte [0x1401b66b0], 0
jne 0x1400219b3
mov ecx, dword [0x140141910]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400219bf
lea rcx, str.Aimbot__Toggle_
call fcn.140061a20
cmp byte [0x1401b66af], 0
je 0x1400219d4
lea rcx, str.Anti_Record
call fcn.140061a20
cmp byte [0x1401b69e5], 0
je 0x1400219e9
lea rcx, str.Bhop
call fcn.140061a20
cmp byte [0x1401b69f3], 0
je 0x1400219fe
lea rcx, str.Bomb_Timer
call fcn.140061a20
cmp byte [0x1401b6683], 0
je 0x140021a13
lea rcx, str.Crosshair
call fcn.140061a20
cmp byte [0x1401b6a1a], 0
je 0x140021a28
lea rcx, str.Enemy_Sensor
call fcn.140061a20
cmp byte [0x1400ee3c1], 0
je 0x140021a3d
lea rcx, [0x1400cde60]
call fcn.140061a20
cmp byte [0x1401b69f7], 0
je 0x140021a52
lea rcx, str.External_Radar
call fcn.140061a20
cmp byte [0x1401b69e4], 0
je 0x140021a67
lea rcx, str.Fake_Duck
call fcn.140061a20
cmp byte [0x1401b69f5], 0
je 0x140021a7c
lea rcx, str.Fast_Stop
call fcn.140061a20
vxorps xmm1, xmm1, xmm1
vmovss xmm0, dword [0x1401b69dc]
vucomiss xmm0, xmm1
je 0x140021a9a
lea rcx, str.Flash_Immunity
call fcn.140061a20
cmp byte [0x1401b69f1], 0
je 0x140021aaf
lea rcx, str.Force_Scope
call fcn.140061a20
cmp dword [0x1401418f0], 0x5a
je 0x140021ac4
lea rcx, str.Fov_Changer
call fcn.140061a20
cmp byte [0x1401b6699], 0
je 0x140021ad9
lea rcx, str.Headshot_Line
call fcn.140061a20
cmp dword [0x1401b69ec], 0
je 0x140021aee
lea rcx, str.HitSound
call fcn.140061a20
cmp byte [0x1401b69e6], 0
je 0x140021b03
lea rcx, str.Money_Service
call fcn.140061a20
cmp byte [0x1401b6a18], 0
je 0x140021b18
lea rcx, str.No_Smoke
call fcn.140061a20
cmp byte [0x1401b6a19], 0
je 0x140021b2d
lea rcx, str.Radar_Hack
call fcn.140061a20
cmp byte [0x1401b66a0], 0
je 0x140021b42
lea rcx, [0x1400cdeb8]
call fcn.140061a20
cmp byte [0x1401b6a1b], 0
je 0x140021b57
lea rcx, str.Smoke_Color
call fcn.140061a20
cmp byte [0x1401b69f2], 0
je 0x140021b6c
lea rcx, str.Spec_List
call fcn.140061a20
cmp byte [0x1401b6690], 0
je 0x140021b9b
cmp byte [0x1401b669a], 0
jne 0x140021b8f
mov ecx, dword [0x1401b66b4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140021b9b
lea rcx, str.TriggerBot__Toggle_
call fcn.140061a20
call fcn.140039c50
nop
add rsp, 0x28
ret
Function at 0x140021fe0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1401b69f5], 0
je 0x1400221cc
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400221cc
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400221cc
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140022032
mov byte [0x1401b5246], 1
jmp 0x140022085
cmp byte [0x1401b5246], 0
je 0x140022085
xor edx, edx
lea ecx, [rdx + 0x44]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x44
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x44]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x44
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401b5246], 0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14002209e
mov byte [0x1401b529c], 1
jmp 0x1400220f1
cmp byte [0x1401b529c], 0
je 0x1400220f1
xor edx, edx
lea ecx, [rdx + 0x41]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x41
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x41]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x41
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401b529c], 0
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14002210a
mov byte [0x1401b5247], 1
jmp 0x14002215d
cmp byte [0x1401b5247], 0
je 0x14002215d
xor edx, edx
lea ecx, [rdx + 0x53]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x53
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x53]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x53
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401b5247], 0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140022179
mov byte [0x1401b5245], 1
add rsp, 0x28
ret
cmp byte [0x1401b5245], 0
je 0x1400221cc
xor edx, edx
lea ecx, [rdx + 0x57]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x57
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x57]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x57
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401b5245], 0
add rsp, 0x28
ret
Function at 0x1400249a0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x1400ee340]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140024a10
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140024a8a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140024a3b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400bd050
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140024a8a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140024a8d
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x140024a9a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140024ab2
inc rbx
test eax, eax
jne 0x140024aa0
test ecx, ecx
mov rcx, rsi
je 0x140024b12
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140024a01
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140024b0e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140024b09
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024b89
mov rcx, r8
call fcn.1400bc41c
xor eax, eax
jmp 0x140024b55
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140024b52
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140024b4d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024b89
mov rcx, r8
call fcn.1400bc41c
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400bbf90
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400258e0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x1400ee340]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140025960
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400259da
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14002598b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400bd050
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400259da
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x1400259dd
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x1400259ea
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140025a02
inc rbx
test eax, eax
jne 0x1400259f0
test ecx, ecx
mov rcx, rsi
je 0x140025a62
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140025950
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140025a5e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140025a59
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140025ae3
mov rcx, r8
call fcn.1400bc41c
xor eax, eax
jmp 0x140025aa3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0xf
jbe 0x140025aa1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140025a9c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140025ae3
mov rcx, r8
call fcn.1400bc41c
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400bbf90
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140027fd0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x8000
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
lea rcx, [0x1400d39f4]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14002810e
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x20], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x30], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140028024
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400091d0
nop
mov r8d, 5
lea rdx, str.CTFD
lea rcx, [rsp + 0x20]
call fcn.1400292e0
vmovups ymm0, ymmword [rax]
vmovups ymmword [rsp + 0x40], ymm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [0x140141740]
cmp rdx, 0xf
jbe 0x1400280b6
mov rcx, qword [0x140141728]
inc rdx
cmp rdx, 0x1000
jb 0x1400280a8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400280fc
mov rcx, r8
vzeroupper
call fcn.1400bc41c
vmovups ymm0, ymmword [rsp + 0x40]
vmovups ymmword [0x140141728], ymm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14002810e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028106
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028106
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
vzeroupper
call fcn.1400bc41c
vzeroupper
call fcn.140026ad0
xor eax, eax
add rsp, 0x68
ret

Function at 0x1400284b0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400284d1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400284fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140028500
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140028559
test ecx, ecx
jle 0x140028539
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140028559
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140028559
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret