joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059080
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [rsp + 0x18], r8b
push rbp
sub rsp, 0x40
mov rcx, rdx
mov rbp, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
test eax, eax
jle 0x140059176
mov r8, qword [0x14018fbd8]
mov rcx, qword [0x14018fbe0]
cmp r8, rcx
je 0x140059176
mov qword [rsp + 0x38], rdi
sub rcx, r8
mov qword [rsp + 0x30], r14
xor r14d, r14d
sar rcx, 3
mov edi, r14d
test rcx, rcx
je 0x140059164
mov qword [rsp + 0x50], rbx
mov ebx, r14d
mov qword [rsp + 0x58], rsi
movsxd rsi, eax
nop word [rax + rax]
mov edx, dword [rbx + r8]
lea rax, [rsp + 0x60]
mov rcx, qword [0x14018fb28]
mov r8, rsi
mov r9d, 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [0x14018fbd8]
mov r9, rsi
mov rcx, qword [0x14018fb28]
mov r8, rbp
mov qword [rsp + 0x20], r14
mov rdx, qword [rbx + rdx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14018fbe0]
lea rbx, [rbx + 8]
mov r8, qword [0x14018fbd8]
inc edi
sub rcx, r8
movsxd rax, edi
sar rcx, 3
cmp rax, rcx
jb 0x1400590f0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov al, 1
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop rbp
ret
xor al, al
add rsp, 0x40
pop rbp
ret

Function at 0x140059180
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [rsp + 0x18], r8b
push rbp
sub rsp, 0x40
mov rcx, rdx
mov rbp, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
test eax, eax
jle 0x140059276
mov r8, qword [0x14018fbf0]
mov rcx, qword [0x14018fbf8]
cmp r8, rcx
je 0x140059276
mov qword [rsp + 0x38], rdi
sub rcx, r8
mov qword [rsp + 0x30], r14
xor r14d, r14d
sar rcx, 3
mov edi, r14d
test rcx, rcx
je 0x140059264
mov qword [rsp + 0x50], rbx
mov ebx, r14d
mov qword [rsp + 0x58], rsi
movsxd rsi, eax
nop word [rax + rax]
mov edx, dword [rbx + r8]
lea rax, [rsp + 0x60]
mov rcx, qword [0x14018fb28]
mov r8, rsi
mov r9d, 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [0x14018fbf0]
mov r9, rsi
mov rcx, qword [0x14018fb28]
mov r8, rbp
mov qword [rsp + 0x20], r14
mov rdx, qword [rbx + rdx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14018fbf8]
lea rbx, [rbx + 8]
mov r8, qword [0x14018fbf0]
inc edi
sub rcx, r8
movsxd rax, edi
sar rcx, 3
cmp rax, rcx
jb 0x1400591f0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov al, 1
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop rbp
ret
xor al, al
add rsp, 0x40
pop rbp
ret
Function at 0x140059280
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [rsp + 0x18], r8b
push rbp
sub rsp, 0x40
mov rcx, rdx
mov rbp, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
test eax, eax
jle 0x140059376
mov r8, qword [0x14018fc68]
mov rcx, qword [0x14018fc70]
cmp r8, rcx
je 0x140059376
mov qword [rsp + 0x38], rdi
sub rcx, r8
mov qword [rsp + 0x30], r14
xor r14d, r14d
sar rcx, 3
mov edi, r14d
test rcx, rcx
je 0x140059364
mov qword [rsp + 0x50], rbx
mov ebx, r14d
mov qword [rsp + 0x58], rsi
movsxd rsi, eax
nop word [rax + rax]
mov edx, dword [rbx + r8]
lea rax, [rsp + 0x60]
mov rcx, qword [0x14018fb28]
mov r8, rsi
mov r9d, 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [0x14018fc68]
mov r9, rsi
mov rcx, qword [0x14018fb28]
mov r8, rbp
mov qword [rsp + 0x20], r14
mov rdx, qword [rbx + rdx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14018fc70]
lea rbx, [rbx + 8]
mov r8, qword [0x14018fc68]
inc edi
sub rcx, r8
movsxd rax, edi
sar rcx, 3
cmp rax, rcx
jb 0x1400592f0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov al, 1
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop rbp
ret
xor al, al
add rsp, 0x40
pop rbp
ret

Function at 0x140059380
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [rsp + 0x18], r8b
push rbp
sub rsp, 0x40
mov rcx, rdx
mov rbp, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
test eax, eax
jle 0x140059476
mov r8, qword [0x14018fba8]
mov rcx, qword [0x14018fbb0]
cmp r8, rcx
je 0x140059476
mov qword [rsp + 0x38], rdi
sub rcx, r8
mov qword [rsp + 0x30], r14
xor r14d, r14d
sar rcx, 3
mov edi, r14d
test rcx, rcx
je 0x140059464
mov qword [rsp + 0x50], rbx
mov ebx, r14d
mov qword [rsp + 0x58], rsi
movsxd rsi, eax
nop word [rax + rax]
mov edx, dword [rbx + r8]
lea rax, [rsp + 0x60]
mov rcx, qword [0x14018fb28]
mov r8, rsi
mov r9d, 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [0x14018fba8]
mov r9, rsi
mov rcx, qword [0x14018fb28]
mov r8, rbp
mov qword [rsp + 0x20], r14
mov rdx, qword [rbx + rdx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x14018fbb0]
lea rbx, [rbx + 8]
mov r8, qword [0x14018fba8]
inc edi
sub rcx, r8
movsxd rax, edi
sar rcx, 3
cmp rax, rcx
jb 0x1400593f0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov al, 1
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop rbp
ret
xor al, al
add rsp, 0x40
pop rbp
ret
Function at 0x14005b570
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x90], rdi
mov ecx, 0x24
lea rdi, [rbp - 0x38]
mov dword [rbp - 0x38], 0x3f800000
mov dword [rbp - 0x34], 0x3f800000
mov dword [rbp - 0x30], 0x3f800000
mov dword [rbp - 0x2c], 0x3f800000
mov dword [rbp - 0x28], 0x3f800000
mov dword [rbp - 0x24], 0x3e74f4f5
mov dword [rbp - 0x20], 0x3e50d0d1
mov dword [rbp - 0x1c], 0x3f800000
mov dword [rbp - 0x18], 0x3f800000
call fcn.1400d0ff0
mov r8d, Ordinal_41
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memmove
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
test eax, eax
jle 0x14005b6bd
mov rdx, qword [0x14018fc08]
mov rcx, qword [0x14018fc10]
cmp rdx, rcx
je 0x14005b6bd
mov qword [rsp + 0x88], rsi
sub rcx, rdx
mov qword [rsp + 0x60], r15
xor r15d, r15d
sar rcx, 3
mov esi, r15d
test rcx, rcx
je 0x14005b6b0
mov qword [rsp + 0x98], r14
mov edi, r15d
movsxd r14, eax
nop dword [rax]
mov edx, dword [rdi + rdx]
lea rax, [rbp + 0x18]
mov rcx, qword [0x14018fb28]
mov r9d, 0x40
mov r8, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [0x14018fc08]
mov r9, r14
mov rcx, qword [0x14018fb28]
mov r8, rbx
mov qword [rsp + 0x20], r15
mov rdx, qword [rdi + rdx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8, qword [0x14018fc10]
lea rdi, [rdi + 8]
mov rdx, qword [0x14018fc08]
inc esi
sub r8, rdx
movsxd rax, esi
sar r8, 3
cmp rax, r8
jb 0x14005b640
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x88]
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x90]
test rbx, rbx
je 0x14005b6d7
mov edx, 0x24
mov rcx, rbx
call fcn.1400d1350
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x14005cd60
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
lea rcx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rdi, qword [rbp + 0x17]
mov rbx, qword [rbp + 0x1f]
mov dword [rbp - 0x69], 0
mov qword [rbp - 0x65], 0x3f800000
mov dword [rbp - 0x5d], 0
mov dword [rbp - 0x59], 0xbf800000
mov dword [rbp - 0x55], 0
mov dword [rbp - 0x51], 0xbf800000
mov qword [rbp - 0x4d], 0
mov qword [rbp - 0x45], 0x3f800000
mov qword [rbp - 0x3d], 0
mov dword [rbp - 0x35], 0
mov qword [rbp - 0x31], 0x3f800000
mov dword [rbp - 0x29], 0
mov dword [rbp - 0x25], 0xbf800000
mov dword [rbp - 0x21], 0x7f800000
mov dword [rbp - 0x1d], 0x7f800000
mov dword [rbp - 0x19], 0x7f800000
mov dword [rbp - 0x15], 0xff800000
lea r15, [rbp - 0x69]
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 0
mov ecx, 0x58
call fcn.1400d0ff0
mov rsi, rax
mov qword [rbp - 9], rax
lea r14, [rax + 0x58]
mov qword [rbp + 7], r14
mov r8d, 0x58
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 1], r14
lea rax, [0x14018fb48]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, rbx
mov rdx, rdi
lea rcx, [0x14018fb20]
call fcn.140059480
mov edx, 0x66
call fcn.140057a10
mov byte [0x140194d6c], 1
test rsi, rsi
je 0x14005ceb6
sub r14, rsi
cmp r14, 0x1000
jb 0x14005ceab
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14005ced5
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1400d1350
mov al, 1
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14005d3a0
Capabilities:
Contain obfuscated stackstrings
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rdi, qword [rbp + 0x1f]
mov rbx, qword [rbp + 0x27]
mov dword [rbp - 0x39], 1
mov dword [rbp - 0x35], 0x3d072b02
mov dword [rbp - 0x31], 0x3f3f3f3f
mov dword [rbp - 0x2d], 0x3f3f3f3f
mov qword [rbp - 0x29], 0x3f3f3f3f
mov dword [rbp - 0x21], 0x3f3f3f3f
mov dword [rbp - 0x1d], 0x3f3f3f3f
mov dword [rbp - 0x19], 0x3f3f3f3f
mov dword [rbp - 0x15], 0x3f003f
mov dword [rbp - 0x11], 0x3f3f3f
mov dword [rbp - 0xd], 0x3f003f
mov dword [rbp - 9], 0x3f003f
mov byte [rbp - 5], 0x3f
lea r15, [rbp - 0x39]
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], 0
mov ecx, gethostname
call fcn.1400d0ff0
mov rsi, rax
mov qword [rbp - 1], rax
lea r14, [rax + 0x35]
mov qword [rbp + 0xf], r14
mov r8d, gethostname
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 7], r14
lea rax, [0x14018fc68]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, rbx
mov rdx, rdi
lea rcx, [0x14018fb20]
call fcn.140059480
mov byte [0x140194d71], 1
test rsi, rsi
je 0x14005d4c9
sub r14, rsi
cmp r14, 0x1000
jb 0x14005d4be
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14005d4e8
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.1400d1350
mov al, 1
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14005da60
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
lea rcx, [rsp + 0x40]
call fcn.1400560c0
nop
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14005db08
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400f4f70]
lea rdx, [0x1400f4f72]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x60], 1
inc rcx
cmp rcx, rdx
jne 0x14005dac0
lea rax, [rdi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x60], 0
jne 0x14005db03
cmp r8, rbx
je 0x14005db08
dec r8
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x60], 0
je 0x14005daf0
sub r8, rbx
jmp 0x14005db0f
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14004e9c0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14005db65
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14005dba5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dba0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dba0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d1350
movdqa xmm0, xmmword [0x1400f5e90]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14005dbf8
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dbf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dbf3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d1350
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
Function at 0x14005e270
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
sub rsp, 0xe8
xorps xmm0, xmm0
mov dword [rax - 0x78], 0x68
xor edx, edx
cmp qword [rcx + 0x18], 0xf
movups xmmword [rax - 0x40], xmm0
mov dword [rax - 0x3c], 1
mov word [rax - 0x38], dx
movups xmmword [rax - 0x70], xmm0
movups xmmword [rax - 0x60], xmm0
movups xmmword [rax - 0x50], xmm0
movups xmmword [rax - 0x30], xmm0
movups xmmword [rax - 0x20], xmm0
jbe 0x14005e2b3
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0xe8
ret
Function at 0x14005e320
Capabilities:
Enumerate process modules

Disassembly:
push rbx
push r12
push r15
mov eax, 0x1180
call fcn.1400d1850
sub rsp, rax
mov r15, rdx
lea r8, [rsp + 0x11b0]
mov rbx, rcx
mov edx, 0x1000
lea rcx, [rsp + 0x170]
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x14005e380
xorps xmm0, xmm0
mov rax, rbx
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
add rsp, 0x1180
pop r15
pop r12
pop rbx
ret
mov eax, dword [rsp + 0x11b0]
mov qword [rsp + 0x11a0], rbp
mov ebp, r12d
shr eax, 2
mov qword [rsp + 0x11a8], rsi
mov qword [rsp + 0x1178], rdi
mov qword [rsp + 0x1170], r14
mov dword [rsp + 0x11b0], eax
test eax, eax
je 0x14005e4f7
nop dword [rax]
mov eax, ebp
mov r8d, dword [rsp + rax*4 + 0x170]
test r8d, r8d
je 0x14005e4e8
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14005e4e8
lea r9, [rsp + 0x11b8]
mov r8d, 8
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14005e4df
mov rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x14005e4df
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x14005e450
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14004e9c0
cmp qword [r15 + 0x18], 0xf
mov r9, r15
mov rax, qword [r15 + 0x10]
jbe 0x14005e479
mov r9, qword [r15]
mov r14, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
cmp r14, 0xf
mov rdx, qword [rsp + 0x40]
cmova rcx, rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call fcn.14004e8f0
cmp rax, 0xffffffffffffffff
jne 0x14005e543
cmp r14, 0xf
jbe 0x14005e4df
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005e4d7
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e53c
mov rcx, rdi
call fcn.1400d1350
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
cmp ebp, dword [rsp + 0x11b0]
jb 0x14005e3c0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r12b
mov rdi, qword [rsp + 0x1178]
mov rax, rbx
mov rsi, qword [rsp + 0x11a8]
mov rbp, qword [rsp + 0x11a0]
mov r14, qword [rsp + 0x1170]
add rsp, 0x1180
pop r15
pop r12
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x14005e50c
Function at 0x14005ea70
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub rsp, 0x2b8
mov r8d, 0x104
lea rdx, [rsp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x50]
call fcn.14004ded0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14005e9c0
nop
lea rcx, [rsp + 0x50]
call fcn.14001f4c0
lea rdx, str.C:WindowsSystemdeleteApp.bat
lea rcx, [rsp + 0x30]
call fcn.140068230
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.1400674f0
nop
lea rdx, str._echo_off_n
lea rcx, [rsp + 0x90]
call fcn.140069c50
lea rdx, str.timeout__T_6_n
lea rcx, [rsp + 0x90]
call fcn.140069c50
lea rdx, str.del__F__Q__
lea rcx, [rsp + 0x90]
call fcn.140069c50
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.140069e40
mov rcx, rax
lea rdx, [0x1400f5104]
call fcn.140069c50
lea rdx, str.del__F__Q__
lea rcx, [rsp + 0x90]
call fcn.140069c50
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140069e40
mov rcx, rax
lea rdx, [0x1400f5104]
call fcn.140069c50
lea rcx, [rsp + 0x90]
call fcn.1400674b0
lea rcx, [rsp + 0x30]
call fcn.140068220
mov r8, rax
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [0x1400f5128]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.You_Are_Banned___
lea rdx, str.You_Are_Banned_From_This_Panel__By_NINJA_HEX
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140067270
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x140067292
xor eax, eax
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400672d1
mov r8, qword [rcx + 0x58]
movsxd r9, dword [r8]
lea rcx, [rdx + r9*2]
cmp rdx, rcx
jae 0x1400672d1
lea eax, [r9 - 1]
mov dword [r8], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 2]
mov qword [rcx], rax
movzx eax, di
mov word [rdx], di
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x90], rbp
je 0x1400673ed
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140067318
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140067326
movzx ecx, di
jmp 0x140067380
lea rax, [rsp + 0xa0]
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400673a7
sub eax, 1
je 0x1400673a7
cmp eax, 2
jne 0x1400673ed
movzx ecx, word [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
mov rbp, qword [rsp + 0x90]
cmp ax, si
cmove di, si
movzx eax, di
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov rbp, qword [rsp + 0xa0]
lea rax, [rsp + 0x48]
sub rbp, rax
je 0x1400673d8
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x1400673ed
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0xa8], rax
cmovne si, di
mov rbp, qword [rsp + 0x90]
movzx eax, si
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400678d0
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 case.default.0x1400678f1
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 0x14006791e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140067920
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140067979
test ecx, ecx
jle 0x140067959
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 0x140067979
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140067979
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
pop rdx
sbb ch, ah
add eax, 0x1b81a5b
movabs al, byte [0x6a074716aa013019]
adc dl, byte [rbx + 0xe]
jne 0x1401de232
mov cs, word [rdi]
Function at 0x1400679a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400679d1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400679e8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140067a0b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140067a0d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140067a49
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140067ade
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140067a84
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 0x140067abe
nop dword [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 0x140067ade
cmp rbx, rax
ja 0x140067a90
test rbx, rbx
je 0x140067ade
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
invalid