joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011d20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15, rdx
lea r14, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov rsi, r12
mov rbp, r12
test r14, r14
je 0x140011f36
mov rdx, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + 0xff]
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140011de4
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140011da0
mov ecx, dword [r10]
jmp 0x140011ec7
cmp ecx, 0x4e0
jb 0x140011ec7
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [r11 + 0x634]
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140011e00
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140011e50
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
mov r8, qword [rdi + 0x10]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, r8
ja 0x140011d80
mov rdx, qword [rdi + 8]
or rsi, rax
lea ecx, [rdx + 0xff]
shl rbp, cl
add rbp, rbp
or rbp, r8
cmp rbp, r14
jb 0x140011d70
xor edx, edx
mov rax, rbp
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, rsi
div r15
cmp rax, rcx
jb 0x140011f5a
cmp r8, r14
jne 0x140011d50
mov rbx, qword [rsp + 0x20]
mov rax, rsi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15
mov rax, rdx
pop r15
pop r14
pop r12
ret
Function at 0x140001250
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
xor edx, edx
mov ecx, 0x5c
call fcn.140001110
lea edx, [rcx - 0x5b]
mov word [rsp + 0x40], ax
call fcn.140001110
lea ecx, [rdx + 0x2d]
mov word [rsp + 0x42], ax
lea edx, [rcx - 0x2c]
call fcn.140001110
lea ecx, [rdx + 0x5a]
mov word [rsp + 0x44], ax
lea edx, [rcx - 0x59]
call fcn.140001110
lea ecx, [rdx + 0x42]
mov word [rsp + 0x46], ax
lea edx, [rcx - 0x41]
call fcn.140001110
lea ecx, [rdx + 0x45]
mov word [rsp + 0x48], ax
lea edx, [rcx - 0x44]
call fcn.140001110
lea ecx, [rdx + 0x4c]
mov word [rsp + 0x4a], ax
lea edx, [rcx - 0x4b]
call fcn.140001110
lea ecx, [rdx + 0x3e]
mov word [rsp + 0x4c], ax
lea edx, [rcx - 0x3d]
call fcn.140001110
lea ecx, [rdx + 0x4f]
mov word [rsp + 0x4e], ax
lea edx, [rcx - 0x4e]
call fcn.140001110
xor ecx, ecx
mov word [rsp + 0x50], ax
lea edx, [rcx + 9]
call fcn.140001110
lea edx, [rcx + 0xa]
mov word [rsp + 0x52], ax
movzx ecx, word [0x14004089c]
call fcn.140001110
movzx ecx, word [0x14004089e]
mov edx, 0xb
mov word [rsp + 0x54], ax
call fcn.140001110
movzx ecx, word [str.Unknown_exception]
mov edx, 0xc
mov word [rsp + 0x56], ax
call fcn.140001110
movzx ecx, word [0x1400408a2]
mov edx, 0xd
mov word [rsp + 0x58], ax
call fcn.140001110
movzx ecx, word [0x1400408a4]
mov edx, 0xe
mov word [rsp + 0x5a], ax
call fcn.140001110
movzx ecx, word [0x1400408a6]
mov edx, 0xf
mov word [rsp + 0x5c], ax
call fcn.140001110
movzx ecx, word [0x1400408a8]
mov edx, 0x10
mov word [rsp + 0x5e], ax
call fcn.140001110
movzx ecx, word [0x1400408aa]
mov edx, 0x11
mov word [rsp + 0x60], ax
call fcn.140001110
movzx ecx, word [0x1400408ac]
mov edx, 0x12
mov word [rsp + 0x62], ax
call fcn.140001110
mov word [rsp + 0x64], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x66], ax
xor r10d, r10d
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x1400013e0
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r10d
mov edx, 0xc0000000
mov word [rsp + 0x66], r10w
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000def0
add rsp, 0x70
pop rbx
ret
Function at 0x140003390
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rdx + 0x18], 8
mov rbx, rdx
mov rdi, rcx
mov r9, rdx
jb 0x1400033c1
mov r9, qword [rdx]
cmp qword [rcx + 0x18], 8
mov r8, rdi
jb 0x1400033ce
mov r8, qword [rcx]
mov ecx, 0x72
xor edx, edx
call fcn.140001110
lea ecx, [rdx + 0x75]
mov word [rsp + 0x30], ax
lea edx, [rcx - 0x74]
call fcn.140001110
lea ecx, [rdx + 0x6d]
mov word [rsp + 0x32], ax
lea edx, [rcx - 0x6c]
call fcn.140001110
lea ecx, [rdx + 0x5f]
mov word [rsp + 0x34], ax
lea edx, [rcx - 0x5e]
call fcn.140001110
lea ecx, [rdx + 0x70]
mov word [rsp + 0x36], ax
lea edx, [rcx - 0x6f]
call fcn.140001110
xor ecx, ecx
mov word [rsp + 0x38], ax
lea edx, [rcx + 5]
call fcn.140001110
lea edx, [rcx + 6]
mov word [rsp + 0x3a], ax
movzx ecx, word [0x140040a2c]
call fcn.140001110
movzx ecx, word [0x140040a2e]
mov edx, 7
mov word [rsp + 0x3c], ax
call fcn.140001110
movzx ecx, word [0x140040a30]
mov edx, 8
mov word [rsp + 0x3e], ax
call fcn.140001110
movzx ecx, word [0x140040a32]
mov edx, 9
mov word [rsp + 0x40], ax
call fcn.140001110
movzx ecx, word [0x140040a34]
mov edx, 0xa
mov word [rsp + 0x42], ax
call fcn.140001110
mov word [rsp + 0x44], ax
mov r10d, 0x133
xor eax, eax
mov word [rsp + 0x46], ax
xor esi, esi
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r10 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0xb
jb 0x1400034b0
mov dword [rsp + 0x28], esi
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x46], si
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003520
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000351b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003596
mov rcx, r8
call fcn.14000e4e0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000356a
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003565
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003596
mov rcx, r8
call fcn.14000e4e0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000def0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.140014f48
int3
Function at 0x1400035a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x1400035c2
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140003656
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003635
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003630
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400036ff
mov rcx, r8
call fcn.14000e4e0
mov al, 1
mov rsi, qword [rsp + 0x78]
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14000369b
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003697
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003692
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400036ff
mov rcx, r8
call fcn.14000e4e0
xor al, al
jmp 0x140003637
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x41200
mov qword [rsp + 0x20], rbp
lea rdx, [0x14004a090]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x1400036e8
cmp rax, 8
jb 0x140003697
lea rdx, [rax*2 + 2]
jmp 0x14000366e
cmp rax, 8
jb 0x140003635
lea rdx, [rax*2 + 2]
jmp 0x140003608
call fcn.140014f48
int3
Function at 0x140003710
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x140003732
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400037c6
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400037a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400037a0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000386f
mov rcx, r8
call fcn.14000e4e0
mov al, 1
mov rsi, qword [rsp + 0x78]
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14000380b
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003807
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003802
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000386f
mov rcx, r8
call fcn.14000e4e0
xor al, al
jmp 0x1400037a7
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x2400
mov qword [rsp + 0x20], rbp
lea rdx, [0x140047c90]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x140003858
cmp rax, 8
jb 0x140003807
lea rdx, [rax*2 + 2]
jmp 0x1400037de
cmp rax, 8
jb 0x1400037a5
lea rdx, [rax*2 + 2]
jmp 0x140003778
call fcn.140014f48
int3
Function at 0x140003dc0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140003e01
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x50], rbx
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov edx, eax
mov r8d, 0x3000
mov ebx, eax
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x140003e5b
cmp dword [rdi], 0x905a4d
je 0x140003e6c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x140004990
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rcx
mov rsi, r8
mov rbp, rdx
sub r14, qword [r8 + 0x30]
je 0x140004af8
test byte [r8 + 0x5e], 0x40
jne 0x1400049bd
xor eax, eax
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx eax, word [rsi + 0x14]
lea rdx, [rsi + 0x18]
mov r8d, dword [r8 + 0xb0]
add rdx, rax
movzx eax, word [rsi + 6]
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x28], r15
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140004a0f
nop word [rax + rax]
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140004a06
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140004b06
add rdx, 0x28
cmp rdx, r9
jb 0x1400049f0
xor ebx, ebx
mov r15d, dword [rsi + 0xb4]
add r15, rbx
test rbx, rbx
je 0x140004aee
cmp rbx, r15
jae 0x140004aee
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x140004ae9
lea ecx, [rax - 8]
shr ecx, 1
je 0x140004add
lea r11, [rbx + 8]
mov edi, ecx
nop
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x140004a72
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x140004a7e
cmp ax, 0xa
jne 0x140004acc
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x140004abb
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x140004ab2
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x140004b17
add rax, 0x28
cmp rax, r10
jb 0x140004aa0
xor ecx, ecx
test rcx, rcx
movzx eax, r8w
cmove rcx, rbp
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x140004a50
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x140004a32
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov eax, 1
pop r14
pop rsi
ret
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
add rbx, r8
add rbx, rbp
jmp 0x140004a11
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jmp 0x140004abd
Function at 0x140006960
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.140006380
lea rcx, [0x14008bac0]
call fcn.140009e10
mov ecx, 0x68
xor edx, edx
call fcn.140001110
lea ecx, [rdx + 0x78]
mov word [rbp - 0x30], ax
lea edx, [rcx - 0x77]
call fcn.140001110
lea ecx, [rdx + 0x63]
mov word [rbp - 0x2e], ax
lea edx, [rcx - 0x62]
call fcn.140001110
lea ecx, [rdx + 0x2c]
mov word [rbp - 0x2c], ax
lea edx, [rcx - 0x2b]
call fcn.140001110
lea ecx, [rdx + 0x61]
mov word [rbp - 0x2a], ax
lea edx, [rcx - 0x60]
call fcn.140001110
lea ecx, [rdx + 0x68]
mov word [rbp - 0x28], ax
lea edx, [rcx - 0x67]
call fcn.140001110
lea edx, [rcx - 0x66]
mov word [rbp - 0x26], ax
call fcn.140001110
xor ecx, ecx
mov word [rbp - 0x24], ax
lea edx, [rcx + 7]
call fcn.140001110
lea edx, [rcx + 8]
mov word [rbp - 0x22], ax
movzx ecx, word [str.pause]
call fcn.140001110
movzx ecx, word [0x140040a8a]
mov edx, 9
mov word [rbp - 0x20], ax
call fcn.140001110
movzx ecx, word [0x140040a8c]
mov edx, 0xa
mov word [rbp - 0x1e], ax
call fcn.140001110
movzx ecx, word [0x140040a8e]
mov edx, 0xb
mov word [rbp - 0x1c], ax
call fcn.140001110
movzx ecx, word [0x140040a90]
mov edx, 0xc
mov word [rbp - 0x1a], ax
call fcn.140001110
movzx ecx, word [0x140040a92]
mov edx, 0xd
mov word [rbp - 0x18], ax
call fcn.140001110
movzx ecx, word [0x140040a94]
mov edx, 0xe
mov word [rbp - 0x16], ax
call fcn.140001110
mov word [rbp - 0x14], ax
mov r10d, 0x133
xor eax, eax
xor r8d, r8d
mov word [rbp - 0x12], ax
mov r9d, r8d
movsxd rax, r9d
lea rcx, [rbp - 0x30]
lea rcx, [rcx + rax*2]
lea eax, [r10 + r9]
inc r9d
xor word [rcx], ax
cmp r9d, 0xf
jb 0x140006aa0
xor edx, edx
mov word [rbp - 0x12], r8w
mov cl, 0x55
call fcn.140002100
mov edx, 1
mov byte [rbp - 0x40], al
mov cl, 0x6e
call fcn.140002100
mov edx, 2
mov byte [rbp - 0x3f], al
mov cl, 0x72
call fcn.140002100
mov edx, 3
mov byte [rbp - 0x3e], al
mov cl, 0x65
call fcn.140002100
mov edx, 4
mov byte [rbp - 0x3d], al
mov cl, 0x61
call fcn.140002100
mov edx, 5
mov byte [rbp - 0x3c], al
mov cl, 0x6c
call fcn.140002100
mov edx, 6
mov byte [rbp - 0x3b], al
mov cl, 0x57
call fcn.140002100
mov edx, 7
mov byte [rbp - 0x3a], al
mov cl, 0x69
call fcn.140002100
mov edx, 8
mov byte [rbp - 0x39], al
mov cl, 0x6e
call fcn.140002100
mov edx, 9
mov byte [rbp - 0x38], al
mov cl, 0x64
call fcn.140002100
mov edx, 0xa
mov byte [rbp - 0x37], al
mov cl, 0x6f
call fcn.140002100
mov edx, 0xb
mov byte [rbp - 0x36], al
mov cl, 0x77
call fcn.140002100
mov byte [rbp - 0x35], al
xor eax, eax
mov byte [rbp - 0x34], al
nop word [rax + rax]
movsxd rax, r8d
lea rdx, [rbp - 0x40]
add rdx, rax
lea eax, [r8 + 0x13]
inc r8d
xor byte [rdx], al
cmp r8d, 0xc
jb 0x140006b80
lea rdx, [rbp - 0x30]
mov byte [rbp - 0x34], 0
lea rcx, [rbp - 0x40]
call fcn.140005060
lea rcx, [0x14008bac0]
call fcn.140009e10
lea rcx, str.pause
call fcn.1400149a8
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000def0
add rsp, 0x60
pop rbp
ret

Function at 0x14001a574
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001a3a0
Function at 0x140006060
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x140067010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400060d0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000614a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400060fb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140053930
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000614a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14000614d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14000615a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140006172
inc rbx
test eax, eax
jne 0x140006160
test ecx, ecx
mov rcx, rsi
je 0x1400061d2
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400060c1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400061ce
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400061c9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006249
mov rcx, r8
call fcn.140052d14
xor eax, eax
jmp 0x140006215
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140006212
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000620d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006249
mov rcx, r8
call fcn.140052d14
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.140052700
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140006420
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140067010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400064a0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000651a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400064cb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140053930
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000651a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14000651d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14000652a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140006542
inc rbx
test eax, eax
jne 0x140006530
test ecx, ecx
mov rcx, rsi
je 0x1400065a2
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006490
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000659e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006599
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006623
mov rcx, r8
call fcn.140052d14
xor eax, eax
jmp 0x1400065e3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x1400065e1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400065dc
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006623
mov rcx, r8
call fcn.140052d14
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140052700
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
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