joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400de080]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.140047ed0
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x17
jb 0x140048079
lea rsi, [rcx + 0x17]
mov qword [rbx + 0x10], rsi
mov rdi, rbx
cmp rdx, 7
jbe 0x14004805d
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x2e
lea rdx, str._trainer_settingsdebug
call fcn.1400a0dc0
mov word [rdi + rsi*2], bp
jmp 0x14004809f
mov qword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea r9, str._trainer_settingsdebug
movzx r8d, byte [rsp + 0x30]
mov edx, reloc.OLEAUT32.dll_SafeArrayUnaccessData
mov rcx, rbx
call fcn.1400247c0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14004812f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004812a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400481af
call fcn.14007c830
movdqa xmm0, xmmword [0x1400cd4f0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140048180
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004817b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400481a9
call fcn.14007c830
movzx eax, bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007c810
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140083744
nop
call fcn.140083744
nop
int3
Function at 0x140056860
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400de080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx edi, r8b
xor ebp, ebp
lea rcx, [rsp + 0x60]
call fcn.140019100
mov rsi, rax
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400e24f0]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140019100
mov byte [rsp + 0xa0], dil
mov qword [rsp + 0xa8], rbx
lea ecx, [rbp + 0x30]
call fcn.14007c864
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x90]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x80], bpl
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rbx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x1400424d0]
xor edx, edx
xor ecx, ecx
call fcn.14008cbfc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400569e4
cmp dword [rsp + 0x48], ebp
je 0x1400569d9
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.14007bba0
test eax, eax
jne 0x1400569d9
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400569a1
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14005699c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400569f3
mov rcx, r8
call fcn.14007c830
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsi], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14007c810
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 1
call fcn.14007b36c
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.14007b36c
nop
call fcn.140083744
int3
Function at 0x140058760
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
sub rsp, 0x58
mov rcx, qword [0x1400e24f0]
test rcx, rcx
je 0x140058858
mov rcx, qword [rcx + 8]
lea r9, [rax + 8]
mov qword [rax - 8], rbx
lea rdx, [rax + 0x10]
xor ebx, ebx
mov dword [rax + 0x10], 0xa
mov dword [rax + 8], ebx
mov qword [rax - 0x38], rbx
lea r8d, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x1400cb5a0]
lea rdx, [rsp + 0x30]
movsd xmm0, qword [str.SAVE_SETTINGS]
mov rcx, qword [0x1400e24f0]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1400cb5a4]
mov byte [rsp + 0x3c], al
mov word [rsp + 0x3e], bx
mov qword [rsp + 0x40], SafeArrayDestroy
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd qword [rsp + 0x30], xmm0
mov byte [rsp + 0x3d], bl
call fcn.1400352b0
mov rcx, qword [0x1400e24f0]
lea r9, [rsp + 0x68]
lea r8d, [rbx + 4]
mov dword [rsp + 0x60], ebx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x60], 1
jne 0x140058853
mov rcx, qword [0x1400e24f0]
lea r9, [rsp + 0x70]
lea r8d, [rbx + 4]
mov dword [rsp + 0x78], ebx
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x14005c9a0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400de080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov rax, qword [0x1400e1ce8]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x14005cb30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14005d6c0
nop
lea r8, [0x1400e2160]
cmp qword [0x1400e2178], 7
cmova r8, qword [0x1400e2160]
mov r9, qword [0x1400e2170]
mov rcx, rax
call fcn.140034c30
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x1400e1f40]
cmp qword [0x1400e1f58], 7
cmova r8, qword [0x1400e1f40]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14005cad8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cad3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cb79
call fcn.14007c830
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x14005cb2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cb27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005cb73
call fcn.14007c830
xor al, al
jmp 0x14005cb52
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14007c810
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.140083744
nop
call fcn.140083744
nop
int3
Function at 0x140067410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x140067463
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x140067457
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdx + rdi]
test al, al
jne 0x140067441
test rdi, rdi
jne 0x14006748f
xor eax, eax
jmp 0x140067512
mov rdx, rcx
test r8, r8
je 0x140067457
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14006748a
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x140067470
jmp 0x140067457
mov ecx, 0x11
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14006750a
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x1400674f9
cmp dword [rbx + 0x14], ebp
jne 0x1400674f9
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x1400674ea
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.1400a0cc0
test eax, eax
je 0x140067501
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400674d1
test rbx, rbx
je 0x14006750a
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14006fd50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400de080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x14006fe43
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x14006fdd8
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x14006fdb0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14006f610
mov dword [r14], eax
test eax, eax
jne 0x14006fe6b
mov rcx, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rcx + 0x48]
call fcn.140075280
mov dword [r14], eax
test eax, eax
jne 0x14006fe6b
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14006fae0
test eax, eax
je 0x14006fe43
mov ecx, dword [rsi]
test eax, ecx
jne 0x14006fe64
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.140075310
cmp al, 2
jne 0x14006fe43
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x14006fd90
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007c810
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x14006fe48
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.140075310
cmp al, 2
jne 0x14006fee2
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x14006fee2
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x14006feca
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x14006fea0
lea rcx, [rsp + 0x20]
call fcn.14006fae0
cmp eax, 0x10
jne 0x14006fee2
or dword [rsi], eax
xor eax, eax
jmp 0x14006fe48
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x14006fe48
Function at 0x14007a340
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007a37a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007a37f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007a3c8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400ba020]
cmp byte [rcx + rax], 0
je 0x14007a3c8
dec r8
sub rdx, 1
jne 0x14007a3ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14007d71c
Capabilities:
Parse pe header

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

Function at 0x14008d1c4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14008d057
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008d057
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008d057
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008d057
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008d057
cmp dword [rcx + 0x84], 0xe
jbe 0x14008d057
cmp dword [rcx + 0xf8], 0
je 0x14008d057
mov ecx, ebx
call fcn.14008d0f8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14008cee8
cmp dword [rbp + 0x20], 0
je 0x14008d0a4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008d0ac
int3
xor r8d, r8d
xor edx, edx
jmp 0x14008cff0
Function at 0x1400a09e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a0a08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a0a08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001178f
Capabilities:
Terminate process

Disassembly:
jmp 0x14002d830
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011960
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002e360
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002e380
xor al, al
jmp 0x14002e401
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002e393
xor al, al
jmp 0x14002e401
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002e3bd
xor al, al
jmp 0x14002e401
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002e3d1
xor al, al
jmp 0x14002e401
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002e3e3
xor al, al
jmp 0x14002e401
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002e3ff
xor al, al
jmp 0x14002e401
mov al, 1
add rsp, 0x38
ret
Function at 0x140011c49
Capabilities:
Enumerate processes
Terminate process

Disassembly:
jmp 0x140023290
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x508]
mov rax, qword [0x140041040]
xor rax, rbp
mov qword [rbp + 0x4b8], rax
lea rcx, [0x14004a106]
call fcn.140011d9d
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.140011668
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x140023323
lea rdx, str.Failed_to_create_process_snapshot._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001118b
nop
xor al, al
jmp 0x1400234b6
mov byte [rbp + 0x284], 0
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14001184d
test eax, eax
je 0x1400234a1
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x488]
call fcn.140011483
nop
lea rdx, [rbp + 0x488]
lea rcx, [rbp + 0x2a8]
call fcn.140011654
nop
lea rcx, [rbp + 0x488]
call fcn.140011be0
nop
xor r8d, r8d
mov rdx, qword [rbp + 0x4e0]
lea rcx, [rbp + 0x2a8]
call fcn.140011618
cmp rax, 0xffffffffffffffff
je 0x14002347c
mov r8d, dword [rbp + 0x18]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x2e8], rax
cmp qword [rbp + 0x2e8], 0
je 0x140023468
xor edx, edx
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rbp + 0x284], 1
lea rdx, str.Killed_process:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400116e5
lea rdx, [rbp + 0x2a8]
mov rcx, rax
call fcn.1400117bc
lea rdx, str.__PID:
mov rcx, rax
call fcn.1400116e5
mov edx, dword [rbp + 0x18]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140039800]
mov rcx, rax
call fcn.1400116e5
nop
mov rcx, qword [rbp + 0x4e8]
call fcn.140011924
movzx eax, al
test eax, eax
jne 0x140023466
mov rcx, qword [rbp + 0x4f0]
call fcn.140011924
movzx eax, al
test eax, eax
jne 0x140023466
mov rdx, qword [rbp + 0x4f0]
mov rcx, qword [rbp + 0x4e8]
call fcn.1400115d7
nop
jmp 0x14002347c
lea rdx, str.Failed_to_open_process_for_termination._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001118b
nop
lea rcx, [rbp + 0x2a8]
call fcn.140011be0
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011bef
test eax, eax
jne 0x140023342
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movzx eax, byte [rbp + 0x284]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400379c0]
call fcn.140011b7c
mov rax, rdi
mov rcx, qword [rbp + 0x4b8]
xor rcx, rbp
call fcn.14001168b
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret
Function at 0x140011e33
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140022a00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [0x140041040]
xor rax, rbp
mov qword [rbp + 0x488], rax
mov dword [rbp + 0x474], 1
lea rcx, [0x14004a106]
call fcn.140011d9d
nop
mov edx, 0x18
mov rcx, qword [rbp + 0x4b0]
call fcn.140011d84
mov rcx, qword [rbp + 0x4b0]
call fcn.14001160e
nop
mov eax, dword [rbp + 0x474]
or eax, 1
mov dword [rbp + 0x474], eax
mov dword [rbp + 0x40], 0x238
xor edx, edx
mov ecx, 2
call fcn.140011668
mov qword [rbp + 0x298], rax
cmp qword [rbp + 0x298], 0xffffffffffffffff
jne 0x140022af0
lea rdx, str.Failed_to_create_process_snapshot._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001118b
nop
mov dword [rbp + 0x474], 0
mov eax, dword [rbp + 0x474]
and eax, 1
test eax, eax
je 0x140022ae4
and dword [rbp + 0x474], 0xfffffffe
mov rcx, qword [rbp + 0x4b0]
call fcn.1400115e6
nop
mov rax, qword [rbp + 0x4b0]
jmp 0x140022b7c
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp + 0x298]
call fcn.14001184d
test eax, eax
je 0x140022b3c
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x438]
mov rcx, qword [rbp + 0x4b0]
call fcn.14001133e
lea rcx, [rbp + 0x438]
call fcn.140011172
nop
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp + 0x298]
call fcn.140011bef
test eax, eax
jne 0x140022b04
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x474], 0
mov eax, dword [rbp + 0x474]
and eax, 1
test eax, eax
je 0x140022b75
and dword [rbp + 0x474], 0xfffffffe
mov rcx, qword [rbp + 0x4b0]
call fcn.1400115e6
nop
mov rax, qword [rbp + 0x4b0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140037360]
call fcn.140011b7c
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.14001168b
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret
Function at 0x14001b5b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140041040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14004a101]
call fcn.140011d9d
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140027980
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.14001d4e0
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140014e90
nop
lea rcx, [rbp + 0x108]
call fcn.140020d50
nop
lea rax, [0x14001ad00]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140028ef0
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x14001b6b3
lea rcx, [rbp + 8]
call fcn.140029b60
nop
jmp 0x14001b6cc
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140011320
nop
lea rcx, [rbp + 8]
call fcn.140020d50
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140038970]
call fcn.140011b7c
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14001168b
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x14001b760
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140041040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14004a101]
call fcn.140011d9d
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1400279c0
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.14001d5f0
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.140015000
nop
lea rcx, [rbp + 0x108]
call fcn.140020dc0
nop
lea rax, [0x14001ae10]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.140028f40
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x14001b863
lea rcx, [rbp + 8]
call fcn.140029bc0
nop
jmp 0x14001b87c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140011320
nop
lea rcx, [rbp + 8]
call fcn.140020dc0
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140038c70]
call fcn.140011b7c
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14001168b
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret