joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050d5c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400390ec
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140050de6
cmp byte [rbp - 0x21], r15b
je 0x140050de1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140050e1c
call fcn.14004175c
test eax, eax
jne 0x140050e08
cmp byte [rbp - 0x21], r15b
je 0x140050e00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140050e1c
cmp byte [rbp - 0x21], r15b
je 0x140050e19
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14003f444
test eax, eax
jne 0x140050ebc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400390ec
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140050e5b
cmp byte [rbp - 0x21], r15b
je 0x140050e90
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140050e90
call fcn.14004175c
test eax, eax
jne 0x140050e7c
cmp byte [rbp - 0x21], r15b
je 0x140050e75
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140050e90
cmp byte [rbp - 0x21], r15b
je 0x140050e8d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14003f444
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140050ebc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140050ebf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140050ecd
mov rcx, rdi
call fcn.14003fffc
cmp byte [rbp + 0x3f], r15b
je 0x140050edc
mov rcx, qword [rbp + 0x27]
call fcn.14003fffc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140052c14
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.140044e14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140044e14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140052d64
cmp rax, 0xffffffffffffffff
je 0x140052d64
xor edi, edi
test rbp, rbp
jle 0x140052d0f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14003ff84
mov rbx, rax
test rax, rax
jne 0x140052c9c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140052d05
mov edx, 0x8000
mov ecx, r14d
call fcn.14003b8f0
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.1400431f0
cmp eax, 0xffffffff
je 0x140052ce5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140052cac
mov edx, r15d
mov ecx, r14d
call fcn.14003b8f0
jmp 0x140052d05
cmp byte [rsi + 0x38], dil
je 0x140052cfc
cmp dword [rsi + 0x34], 5
jne 0x140052cfc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140052d05
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14003fffc
jmp 0x140052d78
jns 0x140052d78
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140044e14
cmp rax, 0xffffffffffffffff
jne 0x140052d30
cmp byte [rsi + 0x30], dil
je 0x140052d78
mov edi, dword [rsi + 0x2c]
jmp 0x140052d78
mov ecx, r14d
call fcn.14004a120
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140052d78
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 0x140052d78
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140052d71
mov eax, dword [rsi + 0x2c]
jmp 0x140052d76
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140044e14
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 0x140053550
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140170340]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x14023a441]
test eax, eax
jne 0x14000aeab
mov rcx, qword [rsp + 0xa0]
call fcn.14000b0a0
jmp 0x14000b080
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14023a798], eax
jle 0x14000aef7
lea rcx, [0x14023a798]
call fcn.140143f08
cmp dword [0x14023a798], 0xffffffff
jne 0x14000aef7
lea rcx, [0x14023a468]
call fcn.1400068a0
nop
lea rcx, [0x14023a798]
call fcn.140143e9c
mov rax, qword [rsp + 0xa0]
mov ecx, dword [0x1401c6244]
cmp dword [rax + 0xc0], ecx
jbe 0x14000b057
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x38], rax
vmovss xmm2, dword [0x14015db10]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.14000a5d0
mov r8, qword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [0x14023a468]
call fcn.14000a580
mov r8, qword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000a530
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14000a580
mov rax, qword [rsp + 0xa0]
vmovss xmm0, dword [rax + 0x118]
vmulss xmm0, xmm0, dword [0x14015d714]
vmovss xmm1, dword [rsp + 0x7c]
vdivss xmm0, xmm1, xmm0
vmulss xmm0, xmm0, dword [0x14023ab70]
vcvttss2si eax, xmm0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa0]
vmovss xmm0, dword [rax + 0x118]
vmulss xmm0, xmm0, dword [0x14015d714]
vmovss xmm1, dword [rsp + 0x78]
vdivss xmm0, xmm1, xmm0
vmulss xmm0, xmm0, dword [0x14023ab74]
vcvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14000b021
mov eax, dword [rsp + 0x30]
neg eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x40], rax
vmovss xmm2, dword [0x14015db10]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14000a5d0
mov rax, qword [rax]
mov qword [0x14023a468], rax
jmp 0x14000b073
vxorps xmm2, xmm2, xmm2
vxorps xmm1, xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.14000a250
mov rax, qword [rax]
mov qword [0x14023a468], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000b0a0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140143e40
add rsp, 0x98
ret
Function at 0x140038a30
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.140039760
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14003ebc0
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 0x14003ebe2
mov rcx, qword [rsp + 0x40]
call fcn.14003ec90
jmp 0x14003ebf9
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14003ebf9
mov rcx, qword [rsp + 0x40]
call fcn.14003ed40
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 0x14003ec90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14003ecb1
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14003ed35
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 0x14003ed00
mov dword [rsp + 4], 0x9908b0df
jmp 0x14003ed08
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 0x14003eca4
add rsp, 0x18
ret
Function at 0x14003ed40
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 0x14003ed70
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14003edf2
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 0x14003edbe
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14003edc6
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 0x14003ed65
mov qword [rsp + 8], 0xe3
jmp 0x14003ee0a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14003ee91
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 0x14003ee5b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14003ee63
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 0x14003edfd
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 0x14003eee5
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14003eeed
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 0x140041460
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
vmovss 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 0x140041496
mov rax, qword [rsp + 0x38]
mov byte [rax], 1
jmp 0x1400414fb
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
test eax, eax
je 0x1400414fb
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, 0x32
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 0x1400429c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
movzx eax, byte [0x14023a7b6]
test eax, eax
jne 0x1400429d4
jmp 0x140042a82
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400429ee
jmp 0x140042a82
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140042a05
jmp 0x140042a82
vmovss xmm3, dword [0x14015dc40]
mov r8d, 0x44
lea rdx, [0x140239c46]
mov ecx, 0x41
call fcn.140041460
vmovss xmm3, dword [0x14015dc40]
mov r8d, 0x41
lea rdx, [0x140239c9c]
mov ecx, 0x44
call fcn.140041460
vmovss xmm3, dword [0x14015dc40]
mov r8d, 0x53
lea rdx, [0x140239c47]
mov ecx, 0x57
call fcn.140041460
vmovss xmm3, dword [0x14015dc40]
mov r8d, 0x57
lea rdx, [0x140239c45]
mov ecx, 0x53
call fcn.140041460
nop
add rsp, 0x28
ret

Function at 0x1400430a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140170340]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x14023a7a5]
test eax, eax
jne 0x1400430c8
jmp 0x14004319a
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400430df
mov byte [rsp + 0x21], 1
jmp 0x1400430e4
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x50]
call fcn.14000c310
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x30]
lea rcx, [0x14023a9e0]
call fcn.14004cf10
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140043150
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140043150
mov dword [rsp + 0x24], 0x10
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x28]
call fcn.140027020
mov rcx, rax
call fcn.140027040
mov edx, 0x10001
lea rcx, [0x14023a9e0]
call fcn.14004ced0
jmp 0x14004319a
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140043175
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140043175
mov edx, pe_nt_image_headers64
lea rcx, [0x14023a9e0]
call fcn.14004ced0
jmp 0x14004319a
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14004319a
cmp dword [rsp + 0x30], 0x10001
jne 0x14004319a
mov edx, pe_nt_image_headers64
lea rcx, [0x14023a9e0]
call fcn.14004ced0
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140143e40
add rsp, 0x48
ret
Function at 0x14004c910
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 [0x140170340]
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.14004c870
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x14004c98d
mov qword [rbp + 0x30], 0
jmp 0x14004ca2b
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 0x14004c99d
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14004c9cc
mov qword [rbp + 0x28], 0
jmp 0x14004ca23
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 0x14004c9f4
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.140145040
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.14004c880
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140024fc0
mov rcx, qword [rbp + 0x30]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14004ca51
inc rcx
test dl, dl
jne 0x14004ca3e
xor eax, eax
jmp 0x14004ca56
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004ca81
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.140007270
mov rax, qword [rbp + 0x48]
jmp 0x14004cab9
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14004c96e
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 0x4c8]
call fcn.140007270
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rbp
call fcn.140143e40
lea rsp, [rbp + 0x4b0]
pop rbp
ret
Function at 0x14004e820
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 [0x140170340]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
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.14004c870
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14004e892
mov qword [rbp + 0x38], 0
jmp 0x14004e930
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 0x14004e8a2
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14004e8d1
mov qword [rbp + 0x30], 0
jmp 0x14004e928
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 0x14004e8f9
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.140145040
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.14004c880
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.140024fc0
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14004e956
inc rcx
test dl, dl
jne 0x14004e943
xor eax, eax
jmp 0x14004e95b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004e980
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.140007270
mov eax, dword [rbp + 0x1c]
jmp 0x14004e9b6
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004e876
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.140007270
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.140143e40
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x14004fa10
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x140170340]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140159404]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, 0xf8
lea rcx, [rsp + 0x60]
call fcn.140006720
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140043f50
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
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]
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x60]
call fcn.140043e70
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x60]
call fcn.140042fb0
mov rax, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140143e40
add rsp, 0x178
ret

Function at 0x140050230
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, str._C_taskkill__F__IM_cs2.exe
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret

Function at 0x1400532b0
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret

Function at 0x1400532d0
Capabilities:
Set console window title

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x140170340]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x2c], 0x19
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz__________.____:_
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x34
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
jmp 0x140053321
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x19
je 0x14005336b
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x5f
idiv ecx
mov eax, edx
cdqe
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0x38]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
add eax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x20]
mov word [rsp + rcx*2 + 0x38], ax
jmp 0x140053317
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140143e40
add rsp, 0x80
pop rdi
ret