joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ef90
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
lea rdx, [0x140041980]
nop dword [rax]
mov eax, ecx
shr eax, 1
test cl, 1
je 0x14000efae
xor eax, 0xedb88320
test al, 1
je 0x14000efbb
shr eax, 1
xor eax, 0xedb88320
jmp 0x14000efbd
shr eax, 1
test al, 1
je 0x14000efca
shr eax, 1
xor eax, 0xedb88320
jmp 0x14000efcc
shr eax, 1
test al, 1
je 0x14000efd9
shr eax, 1
xor eax, 0xedb88320
jmp 0x14000efdb
shr eax, 1
test al, 1
je 0x14000efe8
shr eax, 1
xor eax, 0xedb88320
jmp 0x14000efea
shr eax, 1
test al, 1
je 0x14000eff7
shr eax, 1
xor eax, 0xedb88320
jmp 0x14000eff9
shr eax, 1
test al, 1
je 0x14000f006
shr eax, 1
xor eax, 0xedb88320
jmp 0x14000f008
shr eax, 1
test al, 1
je 0x14000f015
shr eax, 1
xor eax, 0xedb88320
jmp 0x14000f017
shr eax, 1
inc ecx
mov dword [rdx], eax
add rdx, 4
cmp ecx, 0x100
jl 0x14000efa0
ret

Function at 0x140010880
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rsi, rdx
lea rdx, [rsp + 0x40]
mov rbp, r8
mov rdi, rcx
xor ebx, ebx
call fcn.1400110b0
test eax, eax
je 0x140010979
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x140010979
lea rdx, [rsp + 0xa4]
mov rcx, rbp
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x140010979
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140010979
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140010970
test eax, eax
jle 0x140010970
lea ecx, [rdi + 1]
movsxd rcx, ecx
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
je 0x140010970
lea r9, [rsp + 0x138]
mov r8d, edi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140010970
cmp dword [rsp + 0x138], edi
jne 0x140010970
mov rcx, rsi
mov byte [rdi + rsi], bl
call fcn.140010d90
mov ebx, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x110]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400113d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x270
lea r9, [rsp + 0x20]
xor edi, edi
mov rbp, r8
sub r9, rcx
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r9 + rcx - 1], al
test al, al
jne 0x140011400
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140011420
movzx eax, word [0x140031134]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x140011440
lea rbx, [rsp + 0x20]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
add rbx, rax
mov eax, 0x2a
mov word [rbx], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140011552
lea rax, [rsp + 0x15c]
sub rbx, rax
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x15c]
nop dword [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rbx + rax - 1], cl
test cl, cl
jne 0x1400114a0
test byte [rsp + 0x130], 0x10
je 0x140011510
movzx edx, byte [rsp + 0x15c]
movzx ecx, byte [rsp + 0x15d]
cmp dl, byte [0x140031138]
jne 0x1400114e9
cmp cl, byte [0x140031139]
jne 0x1400114e9
movzx eax, byte [rsp + 0x15e]
cmp al, byte [0x14003113a]
je 0x140011529
cmp dl, byte [0x140030c44]
jne 0x1400114f9
cmp cl, byte [0x140030c45]
je 0x140011529
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
mov r8, rbp
call fcn.1400113d0
jmp 0x140011525
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
mov r8, rbp
call fcn.140010880
test eax, eax
jne 0x140011544
lea rdx, [rsp + 0x130]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140011490
jmp 0x140011549
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x270]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400175f0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.PureBasic_Console_Debugger__press_CtrlC_to_stop_program_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, 0x1f4
mov ecx, 0xfffffff5
mov word [rsp + 0x22], ax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140031100]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x140041dc0], rax
call sub.msvcrt.dll_setvbuf
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140033bd0]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x140041dc8], rax
call sub.msvcrt.dll_setvbuf
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140033bd0]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x140041dd0], rax
call sub.msvcrt.dll_setvbuf
mov rax, qword [0x140041dc8]
mov qword [0x140056280], rax
call fcn.140013780
add rsp, 0x48
ret
Function at 0x14001cd20
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push r12
sub rsp, 0x48
xor ebx, ebx
mov r12d, edx
mov ebp, 1
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov edx, 0x80000000
mov r8d, ebp
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001cef9
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
je 0x14001cdac
test eax, eax
jle 0x14001cdac
mov rdx, qword [0x1400467c0]
lea r9, [rsp + 0x80]
mov r8d, eax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001cdac
cmp dword [rsp + 0x80], edi
cmove ebx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14001cef4
mov rdx, qword [0x1400467c0]
mov rax, rdx
cmp dword [rdx], 0x50555245
jne 0x14001cef4
mov esi, dword [rdx + 8]
add rax, 0xc
lea ecx, [rsi - 0x52455331]
cmp ecx, 8
ja 0x14001cef4
lea ecx, [rdi - 8]
mov qword [rsp + 0x40], r15
movsxd r15, ecx
lea rcx, [r15 + rdx]
cmp rax, rcx
jae 0x14001ceef
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x88], r14
lea r13, [0x14001d010]
nop word [rax + rax]
cmp dword [rax], 0x434e5354
movsxd rdi, dword [rax + 4]
lea r14, [rax + 8]
jne 0x14001cecb
test edi, edi
jle 0x14001cecb
mov rcx, qword [0x140041120]
lea r8, [rdi + 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14001cecb
lea rcx, [rax + 0x28]
mov r8, rdi
mov rdx, r14
mov dword [rax + 0x10], edi
mov dword [rax + 0x14], r12d
mov qword [rax + 8], rcx
call sub.msvcrt.dll_memcpy
cmp esi, 0x52455331
je 0x14001cea4
jle 0x14001ceba
cmp esi, 0x52455333
jle 0x14001ce90
mov qword [rbx + 0x18], r13
lea rax, [0x14001faa0]
jmp 0x14001ceb6
lea rax, [0x14001cf20]
mov qword [rbx + 0x18], rax
lea rax, [0x14001fa70]
jmp 0x14001ceb6
lea rax, [0x14001cf10]
mov qword [rbx + 0x18], rax
lea rax, [0x14001fa60]
mov qword [rbx + 0x20], rax
mov rax, qword [0x1400421b0]
mov qword [0x1400421b0], rbx
mov qword [rbx], rax
mov rdx, qword [0x1400467c0]
lea rax, [r14 + rdi]
add rdx, r15
cmp rax, rdx
jb 0x14001ce20
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x70]
add rsp, 0x48
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x140021e50
Capabilities:
Encode data using xor
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov edi, 1
lea rcx, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov r9d, edi
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
xor ebx, ebx
test eax, eax
je 0x140021eb5
mov rcx, qword [rsp + 0xd0]
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x1f]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0xd0]
test eax, eax
cmovne edi, ebx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test edi, edi
je 0x140021f21
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
call fcn.14001fc00
mov rcx, rbx
movups xmm0, xmmword [0x14003fb30]
mov dword [rsp + 0x34], eax
mov eax, dword [0x140042858]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 6
xor byte [rsp + rcx + 0x2b], al
movzx eax, byte [rsp + rcx + 0x2b]
xor byte [rsp + rcx + 0x2c], al
movzx eax, byte [rsp + rcx + 0x2c]
xor byte [rsp + rcx + 0x2d], al
movzx eax, byte [rsp + rcx + 0x2d]
xor byte [rsp + rcx + 0x2e], al
movzx eax, byte [rsp + rcx + 0x2e]
xor byte [rsp + rcx + 0x2f], al
movzx eax, byte [rsp + rcx + 0x2f]
xor byte [rsp + rcx + 0x30], al
cmp rcx, 0x1e
jl 0x140021ee1
lea rcx, [rsp + 0x60]
call fcn.140029364
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov r8d, 0x20
call fcn.140029bf4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140029288
lea rdx, [0x140000000]
nop word [rax + rax]
movzx ecx, byte [rsp + rbx + 0x50]
inc rbx
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx + 0x38398]
mov byte [rdx + rbx*2 + 0x42a96], al
movzx eax, byte [rcx + rdx + 0x38398]
mov byte [rdx + rbx*2 + 0x42a97], al
cmp rbx, 0x10
jl 0x140021f60
lea r8, [0x140042b28]
lea rdx, [rsp + 0x30]
lea rcx, [0x1400428b0]
mov r9d, 0x20
call fcn.14002b650
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140022b10
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
mov rbp, rcx
test edx, edx
jle 0x140022b6b
nop
mov rcx, qword [0x140042878]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rbp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140022b65
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bb
test eax, 0xfffffffa
je 0x140022b85
add ebx, esi
cmp ebx, edi
jl 0x140022b30
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x140022b70
Function at 0x14002a960
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14002ab90
xor r10d, r10d
lea edx, [rax*4]
mov r11d, eax
movsxd r9, edx
test edx, edx
jle 0x14002a9d9
lea r8, [rbx + 8]
lea rcx, [rbx + 8]
lea r8, [r8 + r9*4]
nop
mov eax, dword [r8 - 8]
mov edx, dword [rcx - 8]
add r10, 4
mov dword [rcx - 8], eax
mov eax, dword [r8 - 4]
mov dword [r8 - 8], edx
mov edx, dword [rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8]
mov dword [r8 - 4], edx
mov edx, dword [rcx]
mov dword [rcx], eax
mov eax, dword [r8 + 4]
mov dword [r8], edx
mov edx, dword [rcx + 4]
mov dword [rcx + 4], eax
sub r9, 4
mov dword [r8 + 4], edx
lea r8, [r8 - 0x10]
lea rcx, [rcx + 0x10]
cmp r10, r9
jl 0x14002a990
cmp r11d, 1
jle 0x14002ab7d
mov qword [rsp + 0x30], rdi
add rbx, 2
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
nop word [rax + rax]
mov r8d, dword [rbx + 0xe]
lea rbx, [rbx + 0x10]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x39db0]
movzx eax, byte [rbx - 1]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
mov r9d, dword [rdi + rdx*4 + 0x3a1b0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x3a9b0]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
movzx eax, byte [rbx]
xor r9d, dword [rdi + rcx*4 + 0x3adb0]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
movzx eax, byte [rbx + 3]
movzx edx, byte [rdi + rax*4 + 0x39db0]
xor r9d, dword [rdi + rcx*4 + 0x3a5b0]
movzx eax, byte [rbx + 4]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
mov r8d, dword [rdi + rdx*4 + 0x3a9b0]
mov dword [rbx - 2], r9d
xor r8d, dword [rdi + rcx*4 + 0x3a5b0]
mov r9d, dword [rbx + 2]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x39db0]
movzx eax, r9b
mov r9d, dword [rbx + 6]
xor r8d, dword [rdi + rcx*4 + 0x3a1b0]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
movzx eax, byte [rbx + 7]
xor r8d, dword [rdi + rcx*4 + 0x3adb0]
movzx edx, byte [rdi + rax*4 + 0x39db0]
movzx eax, byte [rbx + 8]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
mov dword [rbx + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x3a9b0]
xor r8d, dword [rdi + rcx*4 + 0x3a5b0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x39db0]
movzx eax, r9b
mov r9d, dword [rbx + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x3a1b0]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
movzx eax, byte [rbx + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x3adb0]
movzx edx, byte [rdi + rax*4 + 0x39db0]
movzx eax, byte [rbx + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
mov dword [rbx + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x3a9b0]
xor r8d, dword [rdi + rcx*4 + 0x3a5b0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x39db0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x3a1b0]
movzx ecx, byte [rdi + rax*4 + 0x39db0]
xor r8d, dword [rdi + rcx*4 + 0x3adb0]
mov dword [rbx + 0xa], r8d
dec r10
jne 0x14002aa00
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x14002b0a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rdi, rdx
mov rax, r9
mov r12, r9
cqo
mov rbx, r8
mov r13, rcx
and edx, 0xf
add rax, rdx
mov rbp, rax
and eax, 0xf
sub rax, rdx
sar rbp, 4
mov rsi, rax
test rax, rax
je 0x14002b0eb
test rbp, rbp
jne 0x14002b0e8
xor eax, eax
jmp 0x14002b2c9
dec rbp
mov qword [rsp + 0x80], r14
mov r14, qword [rsp + 0xa0]
movups xmm0, xmmword [r14]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
test rbp, rbp
je 0x14002b172
mov qword [rsp + 0x88], r15
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r13 + 4]
lea rcx, [r13 + 0xf8]
mov r9, rbx
mov r8, rdi
call fcn.140029d30
mov eax, dword [rsp + 0x20]
add rdi, 0x10
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
add rbx, 0x10
xor dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx - 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx - 4], eax
movups xmm0, xmmword [rdi - 0x10]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
dec rbp
jne 0x14002b120
mov r15, qword [rsp + 0x88]
test rsi, rsi
je 0x14002b2ba
movups xmm0, xmmword [rdi]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, [r13 + 0xf8]
movups xmmword [r14], xmm0
mov edx, dword [r13 + 4]
movups xmmword [rsp + 0x40], xmm0
call fcn.140029d30
xor r9d, r9d
test rsi, rsi
je 0x14002b285
cmp rsi, 0x10
jb 0x14002b249
lea r10, [rsi + 0xf]
lea rdx, [rsi + 0xf]
lea r8, [rbx + 0x10]
add r10, rdi
add rdx, rbx
lea rcx, [rdi + 0x10]
cmp r8, r10
ja 0x14002b1d7
cmp rdx, rcx
jae 0x14002b249
lea rax, [rsp + rsi + 0x2f]
cmp r8, rax
ja 0x14002b1eb
lea r8, [rsp + 0x30]
cmp rdx, r8
jae 0x14002b249
lea rdx, [rsp + 0x30]
cmp rdx, r10
ja 0x14002b1fa
cmp rax, rcx
jae 0x14002b249
mov rax, rsi
mov rdx, rsi
lea r8, [rsp + 0x30]
and eax, 0xf
sub r8, rdi
sub rdx, rax
mov rax, rbx
sub rax, rdi
nop dword [rax]
nop dword [rax + rax]
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [r8 + rcx - 0x10]
add r9, 0x10
lea rcx, [rcx + 0x10]
pxor xmm0, xmm1
movdqu xmmword [rax + rcx - 0x10], xmm0
movdqu xmmword [r8 + rcx - 0x20], xmm1
cmp r9, rdx
jb 0x14002b220
cmp r9, rsi
jae 0x14002b285
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov r10, rbx
sub rdi, rax
sub r10, rcx
lea r8, [rsp + 0x30]
add r8, r9
inc r9
movzx eax, byte [r8 + rdi + 0x10]
movzx edx, al
xor dl, byte [r8]
mov byte [r8], al
mov byte [r8 + r10 + 0x10], dl
cmp r9, rsi
jb 0x14002b261
mov edx, dword [r13 + 4]
lea r8, [rsp + 0x30]
lea rcx, [r13 + 0xf8]
mov r9, rbx
call fcn.140029d30
mov eax, dword [rsp + 0x20]
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
xor dword [rbx + 4], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx + 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx + 0xc], eax
jmp 0x14002b2be
movups xmmword [r14], xmm1
mov r14, qword [rsp + 0x80]
mov rax, r12
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x100007084
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100009c68], rdi
je 0x1000070d2
cmp rax, rdi
jne 0x1000070c5
mov edi, 1
mov r12d, edi
jmp 0x1000070d7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000070a9
mov edi, 1
mov eax, dword [0x100009c60]
cmp eax, edi
jne 0x1000070ed
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x10000714a
mov eax, dword [0x100009c60]
test eax, eax
jne 0x100007144
mov dword [0x100009c60], edi
lea r13, [0x100001420]
lea rsi, [0x100001408]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100007136
test eax, eax
jne 0x100007136
mov rcx, qword [rsi]
test rcx, rcx
je 0x10000712b
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x100007114
test eax, eax
je 0x10000714a
mov eax, 0xff
jmp 0x10000721c
mov dword [0x1000096cc], edi
mov eax, dword [0x100009c60]
cmp eax, edi
jne 0x100007171
lea rdx, [0x100001400]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100009c60], 2
test r12d, r12d
jne 0x10000717f
xor eax, eax
xchg qword [0x100009c68], rax
cmp qword [0x100009c70], 0
je 0x1000071a8
lea rcx, [0x100009c70]
call fcn.10000751c
test eax, eax
je 0x1000071a8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100009c70]
mov r8, qword [0x1000096b0]
mov rdx, qword [0x1000096b8]
mov ecx, dword [0x1000096a8]
call fcn.1000028a8
mov dword [0x1000096c8], eax
cmp dword [0x1000096ac], 0
jne 0x1000071d8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000096cc], 0
jne 0x1000071ed
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000096c8]
jmp 0x10000721c
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.100007630
add rsp, 0x28
jmp 0x100007084
Function at 0x140001250
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
call section..text
test al, al
jne 0x14000136f
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.not_found_notepad.exe
call fcn.140001440
mov rcx, rax
lea rdx, [0x140001400]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
lea rdx, str.notepad.exe
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0xd0], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, str.C:Windows_system32
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Create_process_notepad.exe_.._continue
call fcn.140001440
mov rcx, rax
lea rdx, [0x140001400]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call section..text
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001620
add rsp, 0xf8
ret

Function at 0x140001efc
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003cc4
cmp word [rcx], 0x5a4d
jne 0x140003cc4
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003cc4
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003cc4
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003bd0
test eax, eax
jne 0x140003ce0
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003c40
test rax, rax
je 0x140003cd5
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004495
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004390
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004330
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400047f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x14055f698]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x14055f694]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004842
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000483a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004929
inc ebx
add rax, 0x28
jmp 0x14000481a
mov rcx, r12
call fcn.140005021
mov rbp, rax
test rax, rax
jne 0x140004861
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004790
movsxd rbx, ebx
mov rax, qword [0x14055f698]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.1400050cf
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14055f698]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400048c3
mov rax, qword [0x14055f698]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004790
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004923
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004923
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14055f698]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
invalid
invalid
invalid
cld
invalid