joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067d84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14005b848
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14005b848
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140067ed4
cmp rax, 0xffffffffffffffff
je 0x140067ed4
xor edi, edi
test rbp, rbp
jle 0x140067e7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14005cd24
mov rbx, rax
test rax, rax
jne 0x140067e0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140067e75
mov edx, 0x8000
mov ecx, r14d
call fcn.14005ab60
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14005dff0
cmp eax, 0xffffffff
je 0x140067e55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140067e1c
mov edx, r15d
mov ecx, r14d
call fcn.14005ab60
jmp 0x140067e75
cmp byte [rsi + 0x38], dil
je 0x140067e6c
cmp dword [rsi + 0x34], 5
jne 0x140067e6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140067e75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14005cd9c
jmp 0x140067ee8
jns 0x140067ee8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14005b848
cmp rax, 0xffffffffffffffff
jne 0x140067ea0
cmp byte [rsi + 0x30], dil
je 0x140067ee8
mov edi, dword [rsi + 0x2c]
jmp 0x140067ee8
mov ecx, r14d
call fcn.1400635ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140067ee8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140067ee8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140067ee1
mov eax, dword [rsi + 0x2c]
jmp 0x140067ee6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14005b848
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140069290
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400692b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400692b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140014510
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0xa0
vmovaps xmmword [rsp + 0x90], xmm12
vmovaps xmmword [rsp + 0x80], xmm11
vmovaps xmmword [rsp + 0x70], xmm10
vmovaps xmmword [rsp + 0x60], xmm9
vmovaps xmmword [rsp + 0x50], xmm8
vmovaps xmmword [rsp + 0x40], xmm7
vmovaps xmmword [rsp + 0x30], xmm6
mov rsi, rcx
cmp byte [0x140208a20], 0
je 0x14001465a
mov eax, dword [0x140208bd0]
mov ecx, dword [0x140210b70]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x28]
jg 0x14001469a
mov eax, dword [rsi + 0xc0]
cmp eax, dword [0x140179518]
jbe 0x14001464f
vmovss xmm6, dword [rsi + 0xc4]
vmovss xmm9, dword [rsi + 0xc8]
vmovss xmm7, dword [0x140208bc8]
vmovss xmm11, dword [0x140208bcc]
vmovss xmm8, dword [rsi + 0x110]
vmovss xmm12, dword [0x1402086f4]
vmovss xmm10, dword [0x1402086f8]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140014630
vmovss xmm0, dword [0x14010e058]
vfmsub213ss xmm9, xmm0, xmm11
vmulss xmm1, xmm12, xmm9
vfmsub213ss xmm6, xmm0, xmm7
vmulss xmm0, xmm10, xmm6
vmulss xmm2, xmm8, dword [str.X94_]
vmovss xmm3, dword [section..rdata]
vdivss xmm2, xmm3, xmm2
vmulss xmm0, xmm0, xmm2
vcvttss2si r8d, xmm0
vmulss xmm0, xmm1, xmm2
vcvttss2si edx, xmm0
neg r8d
mov qword [rsp + 0x20], 0
mov ecx, 1
xor r9d, r9d
call qword [sym.imp.USER32.dll_mouse_event]
vmovsd xmm0, qword [rsi + 0xc4]
vbroadcastss xmm1, dword [0x14010e058]
vmulps xmm0, xmm0, xmm1
vmovlps qword [0x140208bc8], xmm0
jmp 0x14001465a
mov qword [0x140208bc8], 0
mov rcx, rsi
vmovaps xmm6, xmmword [rsp + 0x30]
vmovaps xmm7, xmmword [rsp + 0x40]
vmovaps xmm8, xmmword [rsp + 0x50]
vmovaps xmm9, xmmword [rsp + 0x60]
vmovaps xmm10, xmmword [rsp + 0x70]
vmovaps xmm11, xmmword [rsp + 0x80]
vmovaps xmm12, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rsi
jmp fcn.140013860
lea rcx, [0x140208bd0]
call fcn.1400f4d74
cmp dword [0x140208bd0], 0xffffffff
jne 0x14001457d
vxorps xmm0, xmm0, xmm0
vmovlps qword [0x140208bc8], xmm0
lea rcx, [0x140208bd0]
call fcn.1400f4e28
jmp 0x14001457d
Function at 0x14001d210
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
cmp byte [0x140208af0], 0
je 0x14001d474
vmovss xmm0, dword [0x14010f660]
call fcn.140046cf0
vmovss xmm0, dword [0x14010ed5c]
vmovlps qword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.14003d710
lea rcx, str.Cheats_List
xor edx, edx
mov r8d, 0x20
call fcn.14003d740
cmp byte [0x140208968], 0
je 0x14001d297
cmp byte [0x140208bc6], 0
jne 0x14001d28b
mov ecx, dword [0x140179314]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001d297
lea rcx, str.Aimbot__Toggle_
call fcn.14006b640
cmp byte [0x140208b94], 0
je 0x14001d2ac
lea rcx, str.Anti_Record
call fcn.14006b640
cmp byte [0x140208ad0], 0
je 0x14001d2c1
lea rcx, str.Bhop
call fcn.14006b640
cmp byte [0x140208ae0], 0
je 0x14001d2d6
lea rcx, str.Bomb_Timer
call fcn.14006b640
cmp byte [0x1402088f0], 0
je 0x14001d2eb
lea rcx, str.Crosshair
call fcn.14006b640
cmp byte [0x14020900c], 0
je 0x14001d300
lea rcx, str.Enemy_Sensor
call fcn.14006b640
cmp byte [0x1401792cb], 0
je 0x14001d315
lea rcx, [0x14011f57c]
call fcn.14006b640
cmp byte [0x1402088a0], 0
je 0x14001d32a
lea rcx, [0x14011df47]
call fcn.14006b640
cmp byte [0x140208b80], 0
je 0x14001d33f
lea rcx, str.Fake_Duck
call fcn.14006b640
cmp byte [0x140208b00], 0
je 0x14001d354
lea rcx, str.Fast_Stop
call fcn.14006b640
vxorps xmm0, xmm0, xmm0
vucomiss xmm0, dword [0x140208ac0]
je 0x14001d36e
lea rcx, str.Flash_Immunity
call fcn.14006b640
cmp byte [0x140208b10], 0
je 0x14001d383
lea rcx, str.Force_Scope
call fcn.14006b640
cmp dword [0x1401792f4], 0x5a
je 0x14001d398
lea rcx, str.Fov_Changer
call fcn.14006b640
cmp byte [0x140208789], 0
je 0x14001d3ad
lea rcx, str.Headshot_Line
call fcn.14006b640
cmp dword [0x140208b30], 0
je 0x14001d3c2
lea rcx, str.HitSound
call fcn.14006b640
cmp byte [0x140208b40], 0
je 0x14001d3d7
lea rcx, str.Money_Service
call fcn.14006b640
cmp byte [0x14020900d], 0
je 0x14001d3ec
lea rcx, str.No_Smoke
call fcn.14006b640
cmp byte [0x14020900e], 0
je 0x14001d401
lea rcx, str.Radar_Hack
call fcn.14006b640
cmp byte [0x140208a20], 0
je 0x14001d416
lea rcx, [0x14011f50c]
call fcn.14006b640
cmp byte [0x14020900f], 0
je 0x14001d42b
lea rcx, str.Smoke_Color
call fcn.14006b640
cmp byte [0x140208bc4], 0
je 0x14001d440
lea rcx, str.Spec_List
call fcn.14006b640
cmp byte [0x140208a40], 0
je 0x14001d46f
cmp byte [0x140208a50], 0
jne 0x14001d463
mov ecx, dword [0x140208a60]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001d46f
lea rcx, str.TriggerBot__Toggle_
call fcn.14006b640
call fcn.140043620
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14001dd90
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp byte [0x140208b00], 0
je 0x14001df8c
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001df8c
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001df8c
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001de32
cmp byte [0x140208fe0], 0
je 0x14001de3c
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x44
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x44
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x44
xor edx, edx
call rdi
mov cl, 0x44
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001de35
mov sil, 1
mov byte [0x140208fe0], sil
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001dea2
cmp byte [0x140208fe1], 0
je 0x14001deac
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x41
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x41
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x41
xor edx, edx
call rdi
mov cl, 0x41
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001dea5
mov sil, 1
mov byte [0x140208fe1], sil
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001df12
cmp byte [0x140208fe2], 0
je 0x14001df1c
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x53
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x53
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x53
xor edx, edx
call rdi
mov cl, 0x53
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001df15
mov sil, 1
mov byte [0x140208fe2], sil
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14001df82
cmp byte [0x140208fe3], 0
je 0x14001df8c
mov rdi, qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor esi, esi
mov ecx, 0x57
xor edx, edx
call rdi
mov rbx, qword [sym.imp.USER32.dll_keybd_event]
mov cl, 0x57
mov edx, eax
mov r8d, 8
xor r9d, r9d
call rbx
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x57
xor edx, edx
call rdi
mov cl, 0x57
mov edx, eax
mov r8d, 2
xor r9d, r9d
call rbx
jmp 0x14001df85
mov sil, 1
mov byte [0x140208fe3], sil
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001e8e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
cmp byte [0x140208ad0], 0
je 0x14001e993
mov rdi, rcx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov si, ax
mov edi, dword [rdi + 0x100]
lea rcx, [0x140207f18]
lea rdx, [rbp - 0xc]
call fcn.1400214f0
and edi, 1
test si, si
je 0x14001e958
test edi, edi
je 0x14001e958
mov qword [rbp - 0x18], 0x11
lea rcx, [rbp - 0x18]
call fcn.140012170
lea rcx, [0x140207f18]
mov edx, 0x10001
call fcn.140021470
jmp 0x14001e993
test si, si
je 0x14001e974
test edi, edi
jne 0x14001e974
lea rcx, [0x140207f18]
mov edx, 0x100
call fcn.140021470
jmp 0x14001e993
test si, si
jne 0x14001e993
cmp dword [rbp - 0xc], 0x10001
jne 0x14001e993
lea rcx, [0x140207f18]
mov edx, 0x100
call fcn.140021470
nop
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400210f0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x458
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x3c0], xmm6
mov rsi, rdx
mov dword [rbp - 0x78], 0x438
mov edx, dword [rcx + 0x10]
sub rsp, 0x20
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
lea rdx, [rbp - 0x78]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
add rsp, 0x20
lea r14, [rbp - 0x48]
movabs r13, 0x100000000
vxorps xmm6, xmm6, xmm6
mov rbx, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop word cs:[rax + rax]
cmp qword [rsi + 0x18], 0x10
mov r15, rsi
jb 0x14002117d
mov r15, qword [rsi]
sub rsp, 0x20
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add rsp, 0x20
mov rcx, rax
shl rcx, 0x20
add rcx, r13
sar rcx, 0x1f
mov rax, rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.1400f4eb0
sub rsp, rax
mov r12, rsp
mov byte [r12], 0
sub rsp, 0x40
vmovups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r12
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call rbx
add rsp, 0x40
test eax, eax
mov ecx, 0
cmovne rcx, r12
sub rsp, 0x20
mov rdx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
sub rsp, 0x20
test eax, eax
je 0x140021230
mov rcx, rdi
lea rdx, [rbp - 0x78]
call sub.KERNEL32.dll_Module32NextW
add rsp, 0x20
test eax, eax
jne 0x140021170
sub rsp, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
xor edi, edi
jmp 0x140021241
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
mov rdi, qword [rbp - 0x50]
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x140021283
mov rcx, qword [rsi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140021276
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400212b5
add rax, 0x28
mov rdx, rax
mov rcx, r8
sub rsp, 0x20
call fcn.1400f4d38
add rsp, 0x20
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, rdi
vmovaps xmm6, xmmword [rbp + 0x3c0]
lea rsp, [rbp + 0x3d8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140026470
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x150
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc8], 0xfffffffffffffffe
mov rsi, rcx
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rcx, [0x14011f41c]
lea r9, [rbp + 0xc4]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rcx, [rbp - 0x38]
mov edx, 1
call fcn.14001e510
lea rcx, [rbp - 0x28]
mov edx, dword [rbp + 0xc4]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, [rbp - 0x38]
mov rdx, rsi
call fcn.14001e6c0
mov rax, qword [rbp - 0x38]
movsxd rax, dword [rax + 4]
lea rcx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rax - 0x38], rcx
mov rax, qword [rbp - 0x38]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x98]
mov dword [rbp + rax - 0x3c], ecx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x20], rax
test byte [rbp + 0x50], 1
je 0x14002657d
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov ecx, 0x70
test rax, rax
jne 0x140026542
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
mov ecx, 0x68
mov rcx, qword [rbp + rcx - 0x38]
movsxd rdx, dword [rcx]
add rdx, rax
mov rax, qword [rbp - 8]
mov rcx, qword [rax]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140026578
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x1400265ee
add rdx, 0x27
mov rcx, rax
call fcn.1400f4d38
lea rcx, [rbp - 0x20]
lea rdi, [rbp + 0x60]
mov rax, qword [rbp - 8]
mov qword [rax], 0
mov rax, qword [rbp + 0x18]
mov qword [rax], 0
mov rax, qword [rbp + 0x30]
mov dword [rax], 0
mov rax, qword [rbp]
mov qword [rax], 0
mov rax, qword [rbp + 0x20]
mov qword [rax], 0
mov rax, qword [rbp + 0x38]
mov dword [rax], 0
mov qword [rbp + 0x48], 0
and byte [rbp + 0x50], 0xfe
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::ios_base::destructor_void____ptr64]
mov rax, rsi
add rsp, 0x150
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 0x1400266a0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x258
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x1c0], xmm6
mov rsi, rdx
mov dword [rbp - 0x78], 0x238
sub rsp, 0x20
mov ecx, 0xf
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
add rsp, 0x20
mov rdi, rax
sub rsp, 0x20
lea rdx, [rbp - 0x78]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
add rsp, 0x20
lea r14, [rbp - 0x4c]
movabs r12, 0x100000000
vxorps xmm6, xmm6, xmm6
mov r13, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop word cs:[rax + rax]
cmp qword [rsi + 0x18], 0x10
mov r15, rsi
jb 0x14002672d
mov r15, qword [rsi]
sub rsp, 0x20
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add rsp, 0x20
mov rcx, rax
shl rcx, 0x20
add rcx, r12
sar rcx, 0x1f
mov rax, rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.1400f4eb0
sub rsp, rax
mov rbx, rsp
mov byte [rbx], 0
sub rsp, 0x40
vmovups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r13
add rsp, 0x40
test eax, eax
mov ecx, 0
cmovne rcx, rbx
sub rsp, 0x20
mov rdx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add rsp, 0x20
sub rsp, 0x20
test eax, eax
je 0x1400267de
mov rcx, rdi
lea rdx, [rbp - 0x78]
call sub.KERNEL32.dll_Process32NextW
add rsp, 0x20
test eax, eax
jne 0x140026720
sub rsp, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
xor edi, edi
jmp 0x1400267ee
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
mov edi, dword [rbp - 0x70]
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x140026830
mov rcx, qword [rsi]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140026823
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140026861
add rax, 0x28
mov rdx, rax
mov rcx, r8
sub rsp, 0x20
call fcn.1400f4d38
add rsp, 0x20
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov eax, edi
vmovaps xmm6, xmmword [rbp + 0x1c0]
lea rsp, [rbp + 0x1d8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140028b90
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x140206880]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x140028cbd
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140028bed
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x140028bed
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x140028d02
cmp qword [rdi + 0x80], 0
je 0x140028cc1
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x140028c27
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140028cc8
mov byte [rsp + 0x5f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x5f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x140028ce1
mov r15, qword [rsp + 0x48]
sub r15, r14
je 0x140028cad
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140028d00
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rbx
mov eax, 0xffffffff
jmp 0x140028cfb
xor esi, esi
jmp 0x140028d02
mov esi, 0xffffffff
jmp 0x140028d02
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x140028d02
cmp eax, 3
jne 0x140028d00
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400f4f10
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140029170
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x1400291ab
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x1400291b2
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
xor esi, esi
jmp 0x1400292a9
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140029205
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x140029205
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x140029216
jmp 0x1400292a6
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x1400292a6
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140029242
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [rax]
cmp r14, 0x1000
jb 0x140029281
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r15
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x140029250
jmp 0x1400292a6
test r14, r14
je 0x1400292a3
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
jmp 0x1400292a6
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400292c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x1400292f6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
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 [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140029343
test rsi, rsi
jle 0x140029343
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jle 0x140029343
cmp r15, rsi
cmovae r15, rsi
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jg 0x14002934b
jmp 0x14002936b
mov r14, rsi
test r14, r14
jle 0x14002936b
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x14002936b
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret