joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039924
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.1400312a4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400312a4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140039a74
cmp rax, 0xffffffffffffffff
je 0x140039a74
xor edi, edi
test rbp, rbp
jle 0x140039a1f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002c610
mov rbx, rax
test rax, rax
jne 0x1400399ac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140039a15
mov edx, 0x8000
mov ecx, r14d
call fcn.14002a424
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.14002ed44
cmp eax, 0xffffffff
je 0x1400399f5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400399bc
mov edx, r15d
mov ecx, r14d
call fcn.14002a424
jmp 0x140039a15
cmp byte [rsi + 0x38], dil
je 0x140039a0c
cmp dword [rsi + 0x34], 5
jne 0x140039a0c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140039a15
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002d378
jmp 0x140039a88
jns 0x140039a88
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400312a4
cmp rax, 0xffffffffffffffff
jne 0x140039a40
cmp byte [rsi + 0x30], dil
je 0x140039a88
mov edi, dword [rsi + 0x2c]
jmp 0x140039a88
mov ecx, r14d
call fcn.140034464
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140039a88
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 0x140039a88
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140039a81
mov eax, dword [rsi + 0x2c]
jmp 0x140039a86
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400312a4
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 0x140039f60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140039f88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140039f88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140006a40
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140006ab4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140006ad0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140006aad
mov qword [rsi], rdi
call fcn.140006670
mov rbx, rax
mov r15, qword [rsp + 0x58]
call sym.plugin_container.exe_GetHandleVerifier
mov rbp, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [rbp + 8]
mov ecx, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ch, 0xe3
leave
xchg edx, eax
cli
xor eax, 0x984a7eef
pop rdi
push qword [rdx + 0x2b1d3161]
add al, 0xee
retf
xlatb
in al, dx
fnstenv [rax]
invalid
invalid
add bl, byte [rdx]
mov sil, 0x88
in eax, 0x6d
adc al, 0xf5
xlatb
jo 0x140078cee
insb byte [rdi], dx
js 0x140078c73
push rsi
and eax, 0x938cafeb
invalid
mov ecx, gs
stosb byte [rdi], al
jmp rax

Function at 0x140006b40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140006bd0
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
jmp 0x140006b98
add rdi, rbx
sub rsi, rbx
je 0x140006bd0
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140006b90
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.1400016f0
mov rcx, r12
call fcn.1400017f0
jmp 0x140006b90
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400365a0
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400259a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140026400
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14002a820
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14002a842
mov rcx, qword [rsp + 0x40]
call fcn.14002a8f0
jmp 0x14002a859
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14002a859
mov rcx, qword [rsp + 0x40]
call fcn.14002a9a0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14002a8f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14002a911
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14002a995
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14002a960
mov dword [rsp + 4], 0x9908b0df
jmp 0x14002a968
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002a904
add rsp, 0x18
ret
Function at 0x14002a9a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14002a9d0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14002aa52
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14002aa1e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14002aa26
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002a9c5
mov qword [rsp + 8], 0xe3
jmp 0x14002aa6a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14002aaf1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14002aabb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14002aac3
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002aa5d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14002ab45
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14002ab4d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x14002c9d0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14002ca06
mov rax, qword [rsp + 0x38]
mov byte [rax], 1
jmp 0x14002ca6b
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
test eax, eax
je 0x14002ca6b
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
add rsp, 0x28
ret

Function at 0x14002caa0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x48
movzx eax, byte [0x140206a2c]
test eax, eax
jne 0x14002cab1
jmp 0x14002cb03
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.https:__discord.gg_WPbtZddPyk
lea rdx, [0x1401a37f8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
movzx eax, byte [0x140206a2c]
test eax, eax
jne 0x14002caf0
mov dword [rsp + 0x30], 1
jmp 0x14002caf8
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [0x140206a2c], al
add rsp, 0x48
ret
Function at 0x14002cb10
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
movzx eax, byte [0x140206a2f]
test eax, eax
jne 0x14002cb24
jmp 0x14002cd5f
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
movss xmm0, dword [0x1401d15bc]
call fcn.140076a30
xorps xmm2, xmm2
movss xmm1, dword [0x1401d1838]
lea rcx, [rsp + 0x24]
call fcn.14000c600
xor edx, edx
mov rcx, rax
call fcn.140076920
mov r8d, dword [rsp + 0x20]
xor edx, edx
lea rcx, str.Cheats_List
call fcn.140071810
movzx eax, byte [0x140206731]
test eax, eax
je 0x14002cb9e
movzx eax, byte [0x140206745]
test eax, eax
jne 0x14002cb92
mov ecx, dword [0x1401eb4ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14002cb9e
lea rcx, str.Aimbot__Toggle_
call fcn.1400b5460
movzx edx, byte [0x140206744]
lea rcx, [0x1401a3820]
call fcn.14002c950
movzx edx, byte [0x140206a2a]
lea rcx, [0x1401a382c]
call fcn.14002c950
movzx edx, byte [0x140206a34]
lea rcx, [0x1401a3838]
call fcn.14002c950
movzx edx, byte [0x140206717]
lea rcx, str.Crosshair
call fcn.14002c950
movzx edx, byte [0x140206a30]
lea rcx, [0x1401a3858]
call fcn.14002c950
movzx edx, byte [reloc.WS2_32.dll_accept]
lea rcx, [0x1401a3868]
call fcn.14002c950
movzx edx, byte [0x140206a38]
lea rcx, str.External_Radar
call fcn.14002c950
movzx edx, byte [0x140206a29]
lea rcx, [0x1401a3880]
call fcn.14002c950
movzx edx, byte [0x140206a36]
lea rcx, [0x1401a3890]
call fcn.14002c950
movss xmm0, dword [0x140206a24]
ucomiss xmm0, dword [0x1401d1538]
je 0x14002cc66
lea rcx, str.Flash_Immunity
call fcn.1400b5460
movzx edx, byte [0x140206a31]
lea rcx, [0x1401a38b0]
call fcn.14002c950
cmp dword [0x1401eb48c], 0x5a
je 0x14002cc8e
lea rcx, str.Fov_Changer
call fcn.1400b5460
movzx edx, byte [0x140206727]
lea rcx, [0x1401a38d0]
call fcn.14002c950
movzx edx, byte [0x140206a2e]
lea rcx, [0x1401a38e0]
call fcn.14002c950
movzx edx, byte [0x140206a2d]
lea rcx, str.Money_Service
call fcn.14002c950
movzx edx, byte [0x140206a20]
lea rcx, [0x1401a3900]
call fcn.14002c950
movzx edx, byte [0x140206a2b]
lea rcx, [0x1401a3910]
call fcn.14002c950
movzx edx, byte [0x140206730]
lea rcx, [0x1401a391c]
call fcn.14002c950
movzx edx, byte [0x140206a33]
lea rcx, [0x1401a3920]
call fcn.14002c950
movzx edx, byte [0x140206a32]
lea rcx, [0x1401a3930]
call fcn.14002c950
movzx eax, byte [0x140206724]
test eax, eax
je 0x14002cd59
movzx eax, byte [0x140206728]
test eax, eax
jne 0x14002cd4d
mov ecx, dword [0x140206748]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14002cd59
lea rcx, str.TriggerBot__Toggle_
call fcn.1400b5460
call fcn.140075260
nop
add rsp, 0x38
ret
Function at 0x14002d0b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
movzx eax, byte [0x140206a36]
test eax, eax
jne 0x14002d0c4
jmp 0x14002d172
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14002d0de
jmp 0x14002d172
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14002d0f5
jmp 0x14002d172
movss xmm3, dword [0x1401d17d4]
mov r8d, 0x44
lea rdx, [0x1402045aa]
mov ecx, 0x41
call fcn.14002c9d0
movss xmm3, dword [0x1401d17d4]
mov r8d, 0x41
lea rdx, [0x1402045b0]
mov ecx, 0x44
call fcn.14002c9d0
movss xmm3, dword [0x1401d17d4]
mov r8d, 0x53
lea rdx, [0x1402045ab]
mov ecx, 0x57
call fcn.14002c9d0
movss xmm3, dword [0x1401d17d4]
mov r8d, 0x57
lea rdx, [0x1402045a9]
mov ecx, 0x53
call fcn.14002c9d0
nop
add rsp, 0x28
ret

Function at 0x14002db50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x1401eb3c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x140206a2a]
test eax, eax
jne 0x14002db78
jmp 0x14002dc4a
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14002db8f
mov byte [rsp + 0x21], 1
jmp 0x14002db94
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x50]
call fcn.14000dd20
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x30]
lea rcx, [0x140206c60]
call fcn.14002fb90
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14002dc00
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14002dc00
mov dword [rsp + 0x24], reloc.WS2_32.dll_recvfrom
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x28]
call fcn.140023a90
mov rcx, rax
call fcn.140023ab0
mov edx, 0x10001
lea rcx, [0x140206c60]
call fcn.14002fb50
jmp 0x14002dc4a
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14002dc25
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x14002dc25
mov edx, 0x100
lea rcx, [0x140206c60]
call fcn.14002fb50
jmp 0x14002dc4a
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14002dc4a
cmp dword [rsp + 0x30], 0x10001
jne 0x14002dc4a
mov edx, 0x100
lea rcx, [0x140206c60]
call fcn.14002fb50
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401819a0
add rsp, 0x48
ret
Function at 0x14002f610
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x4d0
lea rbp, [rsp + 0x20]
mov rax, qword [0x1401eb3c0]
xor rax, rbp
mov qword [rbp + 0x4a0], rax
mov dword [rbp + 0x60], 0x438
mov rax, qword [rbp + 0x4c0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
call fcn.14002f570
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x14002f68d
mov qword [rbp + 0x30], 0
jmp 0x14002f72b
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x38], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x14002f69d
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14002f6cc
mov qword [rbp + 0x28], 0
jmp 0x14002f723
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x40], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x14002f6f4
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.140182580
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.14002f580
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140021460
mov rcx, qword [rbp + 0x30]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14002f751
inc rcx
test dl, dl
jne 0x14002f73e
xor eax, eax
jmp 0x14002f756
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14002f781
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.1400090d0
mov rax, qword [rbp + 0x48]
jmp 0x14002f7b9
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14002f66e
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 0x4c8]
call fcn.1400090d0
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rbp
call fcn.1401819a0
lea rsp, [rbp + 0x4b0]
pop rbp
ret
Function at 0x140031280
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x20]
mov rax, qword [0x1401eb3c0]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
call fcn.14002f570
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400312f2
mov qword [rbp + 0x38], 0
jmp 0x140031390
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140031302
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140031331
mov qword [rbp + 0x30], 0
jmp 0x140031388
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x48], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140031359
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.140182580
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov r8d, ecx
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.14002f580
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.140021460
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x1400313b6
inc rcx
test dl, dl
jne 0x1400313a3
xor eax, eax
jmp 0x1400313bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400313e0
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x1c], eax
mov rcx, qword [rbp + 0x2b8]
call fcn.1400090d0
mov eax, dword [rbp + 0x1c]
jmp 0x140031416
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400312d6
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.1400090d0
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.1401819a0
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x140038120
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140038159
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x140038247
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400381ef
cmp qword [rsp + 0x20], 0
jle 0x1400381ef
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140038199
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400099a0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140038237
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140038237
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret