joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000197c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x200
movsxd r14, dword [rdx + 0x3c]
mov r12, r9
mov rbx, rdx
mov eax, dword [r14 + rdx + 0x88]
test eax, eax
je 0x140001a55
lea rdi, [rdx + rax]
mov esi, dword [rdi + 0x18]
test esi, esi
je 0x140001a55
mov eax, dword [rdi + 0x1c]
xor ecx, ecx
mov r8d, dword [rdi + 0xc]
add rax, rdx
mov qword [rsp + 0x28], rax
add r8, rdx
mov eax, dword [rdi + 0x20]
add rax, rdx
mov qword [rbp + 0x148], rax
mov eax, dword [rdi + 0x24]
add rax, rdx
mov qword [rsp + 0x20], rax
mov al, byte [r8]
test al, al
je 0x140001a14
xor edx, edx
inc ecx
or al, 0x20
mov byte [rbp + rdx - 0x10], al
mov edx, ecx
mov al, byte [rcx + r8]
test al, al
jne 0x140001a02
mov byte [rbp + rcx - 0x10], 0
mov rdx, r12
lea rcx, [rbp - 0x10]
call fcn.140003f10
mov r13, rax
mov rax, qword [rbp + 0x148]
lea ecx, [rsi - 1]
mov esi, ecx
mov r15d, ecx
mov rdx, r12
mov ecx, dword [rax + rcx*4]
add rcx, rbx
call fcn.140003f10
xor rax, r13
cmp rax, qword [rbp + 0x150]
je 0x140001a72
test esi, esi
jne 0x140001a28
xor eax, eax
mov rbx, qword [rsp + 0x258]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rax + r15*2]
mov r8d, dword [rcx + rax*4]
add r8, rbx
cmp r8, rdi
jb 0x140001b3b
mov eax, dword [r14 + rbx + 0x8c]
add rax, rdi
cmp r8, rax
jae 0x140001b3b
xor r10d, r10d
mov r9d, r10d
cmp byte [r8], r10b
je 0x140001acf
cmp r9d, 0x3c
jae 0x140001acf
mov eax, r9d
mov cl, byte [rax + r8]
mov byte [rsp + rax + 0x30], cl
cmp cl, 0x2e
je 0x140001acf
inc r9d
cmp byte [r9 + r8], r10b
jne 0x140001ab0
lea eax, [r9 + 1]
mov edx, eax
mov byte [rsp + rax + 0x30], 0x64
lea eax, [r9 + 2]
mov byte [rsp + rax + 0x30], 0x6c
lea eax, [r9 + 3]
mov byte [rsp + rax + 0x30], 0x6c
lea eax, [r9 + 4]
lea r9, [rdx + r8]
mov byte [rsp + rax + 0x30], r10b
mov edx, r10d
cmp byte [r9], r10b
je 0x140001b18
cmp edx, 0x7f
jae 0x140001b18
mov ecx, edx
inc edx
mov al, byte [rcx + r9]
mov byte [rsp + rcx + 0x70], al
cmp byte [rdx + r9], r10b
jne 0x140001b01
mov rcx, qword [rbp + 0x140]
lea r9, [rsp + 0x70]
mov eax, edx
lea r8, [rsp + 0x30]
mov rdx, rbx
mov byte [rsp + rax + 0x70], r10b
call fcn.140001b44
mov r8, rax
mov rax, r8
jmp 0x140001a57
Function at 0x140001b44
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x30]
xor r11d, r11d
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov r10, qword [rax + 0x60]
mov rax, qword [r10 + 0x18]
mov rbx, qword [rax + 0x10]
cmp qword [rbx + 0x30], r11
je 0x140001bb5
test r11, r11
jne 0x140001bd6
mov rdx, qword [rbx + 0x30]
cmp rdx, rbp
je 0x140001ba6
xor r9d, r9d
mov r8, rsi
mov rcx, rdi
call fcn.140003cf4
mov r11, rax
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
jne 0x140001b87
test r11, r11
jne 0x140001bd6
mov rdx, r14
mov rcx, rdi
call fcn.140003c0c
test rax, rax
je 0x140001bd3
mov rdx, rsi
mov rcx, rax
call qword [rdi + 0x38]
mov r11, rax
jmp 0x140001bd6
xor r11d, r11d
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400039b0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword gs:[0x30]
mov rsi, rcx
add rcx, 0x348
mov rbp, rdx
mov r15, qword [rax + 0x60]
call qword [rsi + 0x40]
xor ecx, ecx
movsxd r9, dword [rax + 0x3c]
add r9, rax
movzx r10d, word [r9 + 0x14]
movzx edx, word [r9 + 6]
add r10, r9
test edx, edx
je 0x140003a1e
mov r8d, dword [rsi + 0x340]
lea rbx, [rcx + rcx*4]
cmp dword [r10 + rbx*8 + 0x18], r8d
je 0x140003a53
inc ecx
cmp ecx, edx
jb 0x140003a0d
mov ebx, dword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe0]
call qword [rsi + 0xc0]
xor edx, edx
test ebx, ebx
je 0x140003a73
mov r8, rdi
lea rcx, [r8 + 8]
mov r14, r8
mov r8, rcx
cmp qword [rcx], rax
je 0x140003a65
inc edx
cmp edx, ebx
jb 0x140003a3c
jmp 0x140003a7b
mov edi, dword [r10 + rbx*8 + 0x24]
mov ebx, dword [r10 + rbx*8 + 0x20]
add rdi, rax
shr ebx, 3
jmp 0x140003a2d
mov rdx, rbp
mov rcx, r14
call qword [rsi + 0x1f0]
jmp 0x140003a7b
mov r14, qword [rsp + 0xe0]
call qword [rsi + 0xb8]
xor ebp, ebp
lea r9d, [rbp + 1]
test ebx, ebx
je 0x140003acc
lea rcx, [rdi + 8]
cmp qword [rcx], rax
je 0x140003aa1
add ebp, r9d
add rcx, 8
cmp ebp, ebx
jb 0x140003a8f
jmp 0x140003acc
mov r8b, r9b
lea rcx, [rsp + 0x20]
mov rdx, r14
call qword [rsi + 0x1d0]
lea rcx, [rdi + rbp*8]
mov r8d, 0x10
lea rdx, [rsp + 0x20]
call fcn.140004470
mov r9d, 1
mov rax, qword [r15 + 0x18]
mov rdi, qword [rax + 0x10]
jmp 0x140003bdb
lea r12, [rsi + 0x370]
mov cl, byte [r12]
xor ebp, ebp
xor edx, edx
mov r15d, r9d
test cl, cl
je 0x140003bd8
xor r8d, r8d
cmp cl, 0x3b
je 0x140003b29
cmp edx, 0x80
jae 0x140003b29
xor eax, eax
mov byte [rsp + r8 + 0x30], cl
cmp cl, 0x77
cmovne eax, r15d
cmp cl, 0x70
mov r15d, eax
cmove ebp, r9d
add edx, r9d
mov r8d, edx
mov cl, byte [rdx + r12]
test cl, cl
jne 0x140003af6
test edx, edx
je 0x140003bd8
lea ecx, [rdx + 1]
mov byte [rsp + rdx + 0x30], 0
mov rdx, qword [rdi + 0x30]
lea r8, [rsp + 0x30]
add r12, rcx
xor r9d, r9d
mov rcx, rsi
call fcn.140003cf4
mov rbx, rax
mov r9d, 1
test rax, rax
je 0x140003ae0
test r15d, r15d
je 0x140003b9b
test ebp, ebp
je 0x140003b7b
call rbx
mov rbx, rax
mov r9d, 1
test rax, rax
je 0x140003ae0
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.140002114
mov r9d, 1
test eax, eax
je 0x140003ae0
mov rax, qword [rsp + 0x28]
jmp 0x140003bd0
test ebp, ebp
je 0x140003bb3
call rbx
mov rbx, rax
mov r9d, 1
test rax, rax
je 0x140003ae0
mov rdx, qword [rbx]
mov rcx, rsi
call fcn.140002114
mov r9d, 1
test eax, eax
je 0x140003ae0
mov rax, qword [r14 + 8]
mov qword [rbx], rax
jmp 0x140003ae0
mov rdi, qword [rdi]
cmp qword [rdi + 0x30], 0
jne 0x140003ad9
lea r11, [rsp + 0xb0]
mov eax, r9d
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140003c0c
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
or r10d, 0xffffffff
xor r8d, r8d
mov rsi, rcx
cmp byte [rdx], r8b
je 0x140003c43
cmp r8d, 0x40
jae 0x140003c43
mov al, byte [r8 + rdx]
mov byte [rsp + r8 + 0x20], al
inc r8d
cmp byte [r8 + rdx], 0
jne 0x140003c2a
lea eax, [r8 - 4]
mov byte [rsp + r8 + 0x20], 0
cmp byte [rsp + rax + 0x20], 0x2e
je 0x140003c7e
mov byte [rsp + r8 + 0x20], 0x2e
inc r8d
mov byte [rsp + r8 + 0x20], 0x64
inc r8d
mov byte [rsp + r8 + 0x20], 0x6c
inc r8d
lea eax, [r8 + 1]
mov byte [rsp + r8 + 0x20], 0x6c
mov byte [rsp + rax + 0x20], 0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov rdi, qword [rax + 0x10]
mov rbx, qword [rdi + 0x30]
test rbx, rbx
je 0x140003cd5
movsxd rax, dword [rbx + 0x3c]
mov ecx, dword [rax + rbx + 0x88]
xor eax, eax
test ecx, ecx
je 0x140003cc8
mov edx, dword [rcx + rbx + 0xc]
lea rcx, [rsp + 0x20]
add rdx, rbx
call fcn.1400044cc
mov r10d, eax
xor eax, eax
test r10d, r10d
je 0x140003ced
mov rdi, qword [rdi]
test r10d, r10d
jne 0x140003c93
test rax, rax
jne 0x140003cdd
lea rcx, [rsp + 0x20]
call qword [rsi + 0x30]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov rax, rbx
jmp 0x140003cdd
Function at 0x140003cf4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
xor r11d, r11d
mov rdi, rdx
mov r10, rcx
mov ebx, r11d
test rdx, rdx
je 0x140003e7c
movsxd r15, dword [rdx + 0x3c]
mov eax, dword [r15 + rdx + 0x88]
test eax, eax
je 0x140003e7c
lea rsi, [rdx + rax]
mov r14d, dword [rsi + 0x1c]
mov r13d, dword [rsi + 0x20]
add r14, rdx
mov r12d, dword [rsi + 0x24]
add r13, rdx
add r12, rdx
test r8, r8
je 0x140003e6c
mov ebp, dword [rsi + 0x18]
test ebp, ebp
je 0x140003e7c
lea eax, [rbp - 1]
mov rdx, r8
mov ecx, dword [r13 + rax*4]
mov ebp, eax
add rcx, rdi
mov qword [rsp + 0xe8], rax
call fcn.1400044ac
xor r11d, r11d
test eax, eax
jne 0x140003da3
mov rax, qword [rsp + 0xe8]
movzx eax, word [r12 + rax*2]
mov ebx, dword [r14 + rax*4]
add rbx, rdi
test ebp, ebp
je 0x140003db4
mov r8, qword [rsp + 0xf0]
test rbx, rbx
je 0x140003d6b
mov r10, qword [rsp + 0xe0]
cmp rbx, rsi
jb 0x140003e67
mov eax, dword [r15 + rdi + 0x8c]
add rax, rsi
cmp rbx, rax
jae 0x140003e67
mov r8d, r11d
cmp byte [rbx], r11b
je 0x140003dff
cmp r8d, 0x3c
jae 0x140003dff
mov eax, r8d
mov cl, byte [rax + rbx]
mov byte [rsp + rax + 0x20], cl
cmp cl, 0x2e
je 0x140003dff
inc r8d
cmp byte [r8 + rbx], r11b
jne 0x140003de1
lea eax, [r8 + 1]
mov edx, eax
mov byte [rsp + rax + 0x20], 0x64
lea eax, [r8 + 2]
mov byte [rsp + rax + 0x20], 0x6c
lea eax, [r8 + 3]
mov byte [rsp + rax + 0x20], 0x6c
lea eax, [r8 + 4]
lea r8, [rdx + rbx]
mov byte [rsp + rax + 0x20], r11b
mov edx, r11d
cmp byte [r8], r11b
je 0x140003e48
cmp edx, 0x3f
jae 0x140003e48
mov ecx, edx
inc edx
mov al, byte [rcx + r8]
mov byte [rsp + rcx + 0x60], al
cmp byte [rdx + r8], r11b
jne 0x140003e31
mov eax, edx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, r10
mov byte [rsp + rax + 0x60], r11b
call fcn.140001b44
mov rbx, rax
mov rax, rbx
jmp 0x140003e7e
sub r9d, dword [rsi + 0x10]
mov ebx, dword [r14 + r9*4]
add rbx, rdi
jmp 0x140003dbc
xor eax, eax
mov rbx, qword [rsp + 0xf8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140003e9c
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
xor r10d, r10d
mov r9, qword [rax + 0x60]
mov rax, qword [r9 + 0x18]
mov rbx, qword [rax + 0x10]
jmp 0x140003eef
test r10, r10
jne 0x140003ef8
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.14000197c
mov rbx, qword [rbx]
mov r10, rax
mov rax, qword [rbx + 0x30]
test rax, rax
jne 0x140003ed3
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140003fdc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x10
movups xmm0, xmmword [rcx]
mov qword [rsp + 0x28], rdx
xor ebx, ebx
mov r10d, dword [rsp + 0x2c]
mov r8d, edx
movdqu xmmword [rsp], xmm0
mov r9d, dword [rsp + 0xc]
mov esi, dword [rsp + 8]
mov edi, dword [rsp + 4]
mov r11d, dword [rsp]
mov edx, r9d
mov ecx, r8d
shl ecx, 0x18
mov eax, r8d
mov r8d, ecx
shr eax, 8
or r8d, eax
mov ecx, r10d
add r8d, r10d
shr ecx, 0x1d
xor r8d, r11d
lea eax, [r10*8]
mov r9d, edi
mov r10d, ecx
shl r9d, 0x18
mov ecx, r11d
shr edi, 8
or r10d, eax
or r9d, edi
shr ecx, 0x1d
add r9d, r11d
lea eax, [r11*8]
xor r9d, ebx
mov r11d, ecx
or r11d, eax
xor r10d, r8d
xor r11d, r9d
inc ebx
mov edi, esi
mov esi, edx
cmp ebx, 0x1b
jb 0x140004013
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x30]
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x2c], r10d
mov rax, qword [rsp + 0x28]
add rsp, 0x10
pop rdi
ret

Function at 0x14000409c
Capabilities:
Encode data using xor

Disassembly:
test r9d, r9d
je 0x1400041f2
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x10
mov r11, rcx
lea rax, [rbp - 0x10]
sub r11, rax
lea r15, [rdx + 0xf]
mov rdi, r8
mov r10, rdx
mov r13d, 0x10
lea rax, [rbp - 0x10]
cmp rax, r15
ja 0x1400040f5
lea rax, [rbp - 1]
cmp rax, r10
jb 0x1400040f5
movups xmm0, xmmword [r10]
movdqu xmmword [rbp - 0x10], xmm0
jmp 0x1400040fe
movups xmm0, xmmword [r10]
movdqu xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
mov edx, 4
mov eax, dword [r11 + rcx]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140004107
mov ebx, dword [rbp - 4]
mov r14, r13
mov edx, dword [rbp - 8]
mov esi, dword [rbp - 0xc]
mov eax, dword [rbp - 0x10]
lea r8d, [rsi + rax]
add edx, ebx
mov ecx, esi
mov eax, esi
shl eax, 5
shr ecx, 0x1b
mov esi, ecx
mov ecx, ebx
or esi, eax
shr ecx, 0x18
mov eax, ebx
xor esi, r8d
shl eax, 8
mov ebx, ecx
or ebx, eax
ror r8d, 0x10
xor ebx, edx
add edx, esi
ror esi, 0x19
xor esi, edx
ror edx, 0x10
lea eax, [r8 + rbx]
ror ebx, 0x13
xor ebx, eax
sub r14, 1
jne 0x140004126
mov dword [rbp - 8], edx
lea rcx, [rbp - 0x10]
lea edx, [r14 + 4]
mov dword [rbp - 4], ebx
mov dword [rbp - 0xc], esi
mov dword [rbp - 0x10], eax
mov eax, dword [r11 + rcx]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x14000417e
cmp r9d, r13d
mov ecx, r9d
cmova ecx, r13d
mov r8d, ecx
test ecx, ecx
je 0x1400041ba
lea rbx, [rbp - 0x10]
mov rdx, rdi
sub rbx, rdi
mov esi, r8d
mov al, byte [rbx + rdx]
xor byte [rdx], al
inc rdx
sub rsi, 1
jne 0x1400041ac
sub r9d, ecx
mov ecx, r13d
add rdi, r8
lea eax, [rcx - 1]
add byte [rax + r10], 1
jne 0x1400041d3
dec ecx
test ecx, ecx
jg 0x1400041c3
test r9d, r9d
jne 0x1400040d8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x10
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x1400041f4
Capabilities:
Decompress data using aplib

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov al, byte [rcx]
or r14d, 0xffffffff
and dword [rbp - 0xc], 0
xor r9d, r9d
mov byte [rdx], al
xor edi, edi
lea rax, [rdx + 1]
mov rbx, rdx
mov qword [rbp - 0x18], rax
mov r11d, r14d
lea rax, [rcx + 1]
mov qword [rbp - 0x20], rax
lea esi, [rdi + 1]
lea rcx, [rbp - 0x20]
call fcn.140004438
test eax, eax
je 0x1400043f4
lea rcx, [rbp - 0x20]
call fcn.140004438
test eax, eax
je 0x1400042fa
lea rcx, [rbp - 0x20]
call fcn.140004438
test eax, eax
je 0x1400042b6
xor r9d, r9d
lea r10d, [r9 + 4]
lea rcx, [rbp - 0x20]
call fcn.140004438
lea r9d, [rax + r9*2]
sub r10d, esi
jne 0x14000426f
test r9d, r9d
je 0x1400042a3
mov rdx, qword [rbp - 0x18]
mov rax, rdx
mov ecx, r9d
sub rax, rcx
mov al, byte [rax]
mov byte [rdx], al
add rdx, rsi
mov qword [rbp - 0x18], rdx
jmp 0x14000440e
mov rax, qword [rbp - 0x18]
mov byte [rax], 0
add rax, rsi
mov qword [rbp - 0x18], rax
jmp 0x14000440e
mov rax, qword [rbp - 0x20]
movzx r11d, byte [rax]
add rax, rsi
mov ecx, r11d
mov qword [rbp - 0x20], rax
and ecx, esi
add ecx, 2
shr r11d, 1
je 0x1400042f3
mov rdx, qword [rbp - 0x18]
mov r8d, r11d
neg r8
mov al, byte [r8 + rdx]
mov byte [rdx], al
add rdx, rsi
add ecx, r14d
jne 0x1400042dc
mov qword [rbp - 0x18], rdx
jmp 0x1400043ef
mov edi, esi
jmp 0x1400043ef
mov r10d, esi
lea rcx, [rbp - 0x20]
call fcn.140004438
lea rcx, [rbp - 0x20]
lea r10d, [rax + r10*2]
call fcn.140004438
test eax, eax
jne 0x1400042fd
test r9d, r9d
jne 0x140004364
cmp r10d, 2
jne 0x140004364
mov r9d, esi
lea rcx, [rbp - 0x20]
call fcn.140004438
lea rcx, [rbp - 0x20]
lea r9d, [rax + r9*2]
call fcn.140004438
test eax, eax
jne 0x140004325
test r9d, r9d
je 0x1400043ef
mov rcx, qword [rbp - 0x18]
mov edx, r11d
neg rdx
mov al, byte [rdx + rcx]
mov byte [rcx], al
add rcx, rsi
add r9d, r14d
jne 0x140004352
jmp 0x1400043eb
mov rcx, qword [rbp - 0x20]
xor r9d, esi
sub r10d, r9d
mov r9d, esi
shl r10d, 8
movzx r11d, byte [rcx]
add r11d, 0xfffffe00
add r11d, r10d
add rcx, rsi
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.140004438
lea rcx, [rbp - 0x20]
lea r9d, [rax + r9*2]
call fcn.140004438
test eax, eax
jne 0x14000438a
cmp r11d, 0x7d00
lea eax, [r9 + 1]
cmovb eax, r9d
cmp r11d, 0x500
lea ecx, [rax + 1]
cmovb ecx, eax
cmp r11d, 0x80
lea r8d, [rcx + 2]
cmovae r8d, ecx
test r8d, r8d
je 0x1400043ef
mov rcx, qword [rbp - 0x18]
mov edx, r11d
neg rdx
mov al, byte [rdx + rcx]
mov byte [rcx], al
add rcx, rsi
add r8d, r14d
jne 0x1400043de
mov qword [rbp - 0x18], rcx
mov r9d, esi
jmp 0x140004411
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
mov al, byte [rdx]
mov byte [rcx], al
add rcx, rsi
add rdx, rsi
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x20], rdx
xor r9d, r9d
test edi, edi
je 0x140004239
mov eax, dword [rbp - 0x18]
mov rsi, qword [rsp + 0x58]
sub eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140132000
add rsp, 0x28
jmp 0x14000c43c
Function at 0x140003e80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003edd
lea rbx, [0x1400bf760]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003ec4
cmp r10, 2
jb 0x140003ec4
cmp byte [r9], r8b
jne 0x140003ec4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003ea0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003f1f
lea rbx, [0x1400bf760]
cmp r8b, 0x23
jne 0x140003f03
cmp byte [r9], r8b
jne 0x140003f03
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003ef0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400040e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000410f
mov r8d, 0x78f
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffximgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000411b
mov qword [rdi], 0
lea rdx, [0x1400befa8]
mov rcx, rbx
call fcn.140003f30
mov rbx, rax
test rax, rax
jne 0x14000413d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140004216
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004216
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140004216
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004216
cmp rsi, 0xffffffffffffffff
je 0x140004216
mov rax, qword [0x140157730]
test rax, rax
je 0x1400041b3
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140004216
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140004203
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140157730]
test rax, rax
je 0x1400041f8
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000421f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140004211
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140004221
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400078e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140007917
mov r8d, 0x705
lea rdx, str.C:UsersdeleaDesktopgray_menu_for_ilzyffximgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x1400bf760]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x140157730]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140007996
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001d5b0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret