joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011370
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001bf50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001bf70
xor al, al
jmp 0x14001bff1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001bf83
xor al, al
jmp 0x14001bff1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001bfad
xor al, al
jmp 0x14001bff1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001bfc1
xor al, al
jmp 0x14001bff1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001bfd3
xor al, al
jmp 0x14001bff1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001bfef
xor al, al
jmp 0x14001bff1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004b2b0]
mov dword [rax], 1
mov rax, qword [0x14004b2c0]
mov dword [rax], 1
mov rax, qword [0x14004b2d0]
mov dword [rax], 1
mov rax, qword [0x14004b260]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x267aa1a60
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x267aa1a81
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sub.msvcrt.dll_fflush

Function at 0x267aa1b40
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.267abe2a0]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
ret

Function at 0x267aaddf0
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
push r12
push rbx
sub rsp, 0x150
movaps xmmword [rbp - 0x20], xmm6
cmp qword [0x267ada038], 0
mov qword [rbp + 0x10], rcx
mov byte [rbp - 0x131], 1
je 0x267aadede
mov rax, qword [0x267ada028]
lea rcx, [rbp - 0x120]
mov rdx, rbp
mov qword [rbp - 0x130], rax
lea rax, [rbp - 0x130]
mov qword [0x267ada028], rax
call sub.msvcrt.dll__setjmp
cdqe
mov qword [rbp - 0x128], rax
test rax, rax
jne 0x267aadf00
xor r12d, r12d
cmp qword [rbp + 0x10], 0
je 0x267aadeaf
mov rcx, qword [rbp + 0x10]
call sub.msvcrt.dll_strlen
mov edx, 7
lea rcx, [0x267abf020]
cmp rax, rdx
movq xmm6, rax
mov rbx, rax
cmovge rdx, rax
movq xmm0, rdx
add rdx, 0x11
punpcklqdq xmm6, xmm0
call fcn.267aaab30
mov rdx, qword [rbp + 0x10]
lea r8, [rbx + 1]
movups xmmword [rax], xmm6
lea rcx, [rax + 0x10]
mov r12, rax
call fcn.267abd928
mov rcx, r12
call qword [0x267ada038]
mov rax, qword [0x267ada028]
cmp qword [rbp - 0x128], 0
mov byte [rbp - 0x131], 0
mov rax, qword [rax]
mov qword [0x267ada028], rax
jne 0x267aadf6d
movzx eax, byte [rbp - 0x131]
test al, al
jne 0x267aadf88
movaps xmm6, xmmword [rbp - 0x20]
add rsp, 0x150
pop rbx
pop r12
pop rbp
ret
mov rax, qword [0x267ada028]
mov rax, qword [rax]
mov qword [rbp - 0x128], 0
mov qword [0x267ada028], rax
mov rax, qword [0x267ada020]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x267aadf3d
add qword [rbx - 0x10], 8
mov rax, qword [0x267ada020]
test rax, rax
je 0x267aadf58
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x267aadf58
call fcn.267aa47d0
cmp qword [rbp - 0x128], 0
mov qword [0x267ada020], rbx
je 0x267aadede
mov rcx, qword [0x267ada020]
test rcx, rcx
je 0x267aadfca
call fcn.267aae360
jmp 0x267aadede
mov ecx, 2
call qword [fcn.267abe2a0]
xor r8d, r8d
cmp qword [rbp + 0x10], 0
mov r12, rax
je 0x267aadfac
mov rcx, qword [rbp + 0x10]
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, qword [rbp + 0x10]
mov r9, r12
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
jmp 0x267aadeed
call fcn.267aadd60
nop
Function at 0x267ab15f0
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
lea rbp, [rdx + 3]
mov r12, rcx
mov rdi, rdx
cmovns rbp, rdx
lea r13, [rdx - 1]
xor ebx, ebx
xor esi, esi
and rbp, 0xfffffffffffffffc
jg 0x267ab1648
jmp 0x267ab1660
mov eax, dword [r12 + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
lea esi, [rax + rax*4 - 0x19ab949c]
cmp rbp, rbx
jle 0x267ab1668
cmp rdi, rbx
ja 0x267ab1620
mov rdx, r13
mov rcx, rbx
call fcn.267aaee10
jmp 0x267ab1620
xor ebp, ebp
nop word [rax + rax]
mov rax, rdi
sar rax, 0x3f
shr rax, 0x3e
lea r13, [rdi + rax]
and r13d, 3
sub r13, rax
test r13, r13
jle 0x267ab1760
lea r14, [r13 - 1]
lea rbx, [rbp + r14]
cmp rdi, rbx
jbe 0x267ab1730
movzx ebx, byte [r12 + rbx]
test r14, r14
je 0x267ab16d3
sub r13, 2
lea r14, [rbp + r13]
cmp r14, rdi
jae 0x267ab1748
movzx eax, byte [r12 + r14]
shl ebx, 8
or ebx, eax
test r13, r13
je 0x267ab16d3
cmp rbp, rdi
jae 0x267ab1720
movzx eax, byte [r12 + rbp]
shl ebx, 8
or ebx, eax
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor esi, edi
mov eax, esi
xor eax, ebx
mov esi, eax
shr esi, 0x10
xor esi, eax
imul esi, esi, 0x85ebca6b
mov edx, esi
shr edx, 0xd
xor edx, esi
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, [rdi - 1]
mov rcx, rbp
call fcn.267aaee10
jmp 0x267ab16c9
lea rdx, [rdi - 1]
mov rcx, rbx
call fcn.267aaee10
jmp 0x267ab1699
lea rdx, [rdi - 1]
mov rcx, r14
call fcn.267aaee10
jmp 0x267ab16b5
xor ebx, ebx
jmp 0x267ab16e2
xor edx, edx
test rcx, rcx
je 0x267ab177a
mov rdx, qword [rcx]
add rcx, 0x10
jmp 0x267ab15f0
Function at 0x267ab1770
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
lea rbp, [rdx + 3]
mov r12, rcx
mov rdi, rdx
cmovns rbp, rdx
lea r13, [rdx - 1]
xor ebx, ebx
xor esi, esi
and rbp, 0xfffffffffffffffc
jg 0x267ab1648
jmp 0x267ab1660
mov eax, dword [r12 + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
lea esi, [rax + rax*4 - 0x19ab949c]
cmp rbp, rbx
jle 0x267ab1668
cmp rdi, rbx
ja 0x267ab1620
mov rdx, r13
mov rcx, rbx
call fcn.267aaee10
jmp 0x267ab1620
xor ebp, ebp
nop word [rax + rax]
mov rax, rdi
sar rax, 0x3f
shr rax, 0x3e
lea r13, [rdi + rax]
and r13d, 3
sub r13, rax
test r13, r13
jle 0x267ab1760
lea r14, [r13 - 1]
lea rbx, [rbp + r14]
cmp rdi, rbx
jbe 0x267ab1730
movzx ebx, byte [r12 + rbx]
test r14, r14
je 0x267ab16d3
sub r13, 2
lea r14, [rbp + r13]
cmp r14, rdi
jae 0x267ab1748
movzx eax, byte [r12 + r14]
shl ebx, 8
or ebx, eax
test r13, r13
je 0x267ab16d3
cmp rbp, rdi
jae 0x267ab1720
movzx eax, byte [r12 + rbp]
shl ebx, 8
or ebx, eax
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor esi, edi
mov eax, esi
xor eax, ebx
mov esi, eax
shr esi, 0x10
xor esi, eax
imul esi, esi, 0x85ebca6b
mov edx, esi
shr edx, 0xd
xor edx, esi
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, [rdi - 1]
mov rcx, rbp
call fcn.267aaee10
jmp 0x267ab16c9
lea rdx, [rdi - 1]
mov rcx, rbx
call fcn.267aaee10
jmp 0x267ab1699
lea rdx, [rdi - 1]
mov rcx, r14
call fcn.267aaee10
jmp 0x267ab16b5
xor ebx, ebx
jmp 0x267ab16e2
xor edx, edx
test rcx, rcx
je 0x267ab177a
mov rdx, qword [rcx]
add rcx, 0x10
jmp 0x267ab15f0

Function at 0x267ab71c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.267abe2a0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.267abe2a0
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x267ab7b32
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x267adb228]
test eax, eax
je 0x267ab7bca
lea rax, [0x267adb200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x267adb230]
mov qword [rbp - 8], rax
jmp 0x267ab7bae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x267ab7ba2
cmp qword [rbp - 0x10], 0
je 0x267ab7ba2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x267ab7b68
lea rax, [0x267adb200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x267ab7bcb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x267ab7cd0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x267ab7cf8
mov eax, 0
jmp 0x267ab7d46
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x267ab7d21
mov eax, 0
jmp 0x267ab7d46
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x267ab7d41
mov eax, 0
jmp 0x267ab7d46
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x267ab7d4c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x267ab7dca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x267ab7dc1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x267ab7dc1
mov rax, qword [rbp - 8]
jmp 0x267ab7ddf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x267ab7d94
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400012f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xb0
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov r14d, r15d
xor eax, eax
lock cmpxchg qword [0x1400035e0], rbx
je 0x140001359
cmp rax, rbx
jne 0x14000134c
mov edi, 1
mov r14d, edi
jmp 0x14000135e
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001330
mov edi, 1
mov eax, dword [0x1400035e8]
cmp eax, edi
jne 0x140001376
mov esi, 0x1f
mov ecx, esi
call fcn.14011f000
jmp 0x1400013e7
mov eax, dword [0x1400035e8]
test eax, eax
jne 0x1400013dc
mov dword [0x1400035e8], edi
lea r12, [0x1400021b0]
lea rbx, [0x140002198]
mov qword [rsp + 0x30], rbx
mov eax, r15d
mov dword [rsp + 0x24], eax
cmp rbx, r12
jae 0x1400013ce
test eax, eax
jne 0x1400013d2
mov rsi, qword [rbx]
test rsi, rsi
je 0x1400013c3
mov rcx, rsi
mov rax, qword [0x140002170]
call rax
call rsi
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x1400013a0
test eax, eax
je 0x1400013e2
mov eax, 0xff
jmp 0x140001543
mov dword [0x140003024], edi
mov esi, 0x1f
mov eax, dword [0x1400035e8]
cmp eax, edi
jne 0x14000140e
lea rdx, [0x140002190]
lea rcx, [0x140002180]
call sub.msvcrt.dll__initterm
mov dword [0x1400035e8], 2
test r14d, r14d
jne 0x14000141d
mov rax, r15
xchg qword [0x1400035e0], rax
cmp qword [0x1400035f0], r15
je 0x140001454
lea rcx, [0x1400035f0]
call fcn.140001750
test eax, eax
je 0x140001454
mov rbx, qword [0x1400035f0]
mov rcx, rbx
mov rax, qword [0x140002170]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rdx, qword [rax]
test rdx, rdx
jne 0x14000146d
mov eax, 0xff
jmp 0x140001543
mov qword [rsp + 0x28], rdx
mov ecx, dword [rsp + 0x20]
cmp word [rdx], 0x20
ja 0x1400014f4
cmp word [rdx], r15w
je 0x140001486
test ecx, ecx
jne 0x1400014f4
movzx eax, word [rdx]
sub ax, di
cmp ax, si
ja 0x14000149c
add rdx, 2
mov qword [rsp + 0x28], rdx
jmp 0x140001486
mov ecx, dword [rsp + 0x7c]
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
and cl, dil
cmovne r9d, eax
mov r8, rdx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001010
mov dword [0x140003020], eax
cmp dword [0x140003040], r15d
jne 0x1400014dd
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003024], r15d
jne 0x1400014f2
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003020]
jmp 0x140001543
cmp word [rdx], 0x22
jne 0x140001508
mov eax, r15d
test ecx, ecx
sete al
mov ecx, eax
mov dword [rsp + 0x20], eax
add rdx, 2
mov qword [rsp + 0x28], rdx
jmp 0x140001476
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 r12
ret
sub rsp, 0x28
call fcn.1400017e4
add rsp, 0x28
jmp 0x1400012f0
Function at 0x14081d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14081d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14081d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081d06f
add dl, dl
jne 0x14081d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081d0f6
xor eax, eax
add dl, dl
jne 0x14081d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081d1ad
add dl, dl
jne 0x14081d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14081d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14081d07e
mov eax, 1
add dl, dl
jne 0x14081d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081d0fb
sub eax, ebx
mov ebx, 1
jne 0x14081d14c
mov ecx, 1
add dl, dl
jne 0x14081d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14081d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14081d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14081d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081d15d
cmp eax, 0x7d00
jae 0x14081d19b
cmp eax, 0x500
jb 0x14081d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081d07e
cmp eax, 0x7f
ja 0x14081d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14081d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14081d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x100074d48
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x60
and dword [rax - 0x28], 0
xor edx, edx
mov rsi, rcx
lea r8d, [rdx + 0x14]
lea rcx, [rax - 0x24]
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
and dword [rsp + 0x78], 0
lea rax, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov edx, 0x70000
mov rcx, rsi
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl]
test eax, eax
jne 0x100074dc8
call sub.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x100074e83
mov ebx, dword [rsp + 0x54]
xor ecx, ecx
mov r8d, 0x3000
add ebx, 0x1ff
lea r9d, [rcx + 4]
and ebx, 0xfffffe00
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x100074e09
call sub.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x100074e6d
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100074e46
call sub.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, 0x80310000
jne 0x100074e6d
xor ebx, ebx
jmp 0x100074e6d
mov edx, dword [rsp + 0x78]
xor r8d, r8d
mov rcx, rdi
call fcn.100074f64
cmp eax, 2
je 0x100074e42
mov ebx, 1
cmp eax, ebx
jne 0x100074e6d
mov rcx, rsi
call fcn.100074a90
mov ebx, eax
test rdi, rdi
je 0x100074e83
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x100075718
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100075765
cmp rcx, 0xffffffffffffffff
je 0x100075765
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10007575d
cmp dword [rcx + 0x3c], edx
jl 0x10007575d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10007575d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100075765
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140004140
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 0x14000419d
lea rbx, [0x14011d770]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004184
cmp r10, 2
jb 0x140004184
cmp byte [r9], r8b
jne 0x140004184
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 0x140004160
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400041df
lea rbx, [0x14011d770]
cmp r8b, 0x23
jne 0x1400041c3
cmp byte [r9], r8b
jne 0x1400041c3
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 0x1400041b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400043a0
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 0x1400043cf
mov r8d, 0x646
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_source__nightfn_zachyzachyimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400043db
mov qword [rdi], 0
lea rdx, [0x14011b748]
mov rcx, rbx
call fcn.1400041f0
mov rbx, rax
test rax, rax
jne 0x1400043fd
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 0x1400044d4
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400044d4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400044d4
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 0x1400044d4
cmp rsi, 0xffffffffffffffff
je 0x1400044d4
mov rax, qword [0x14020e490]
test rax, rax
je 0x140004471
inc dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400044d4
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 0x1400044c1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14020e490]
test rax, rax
je 0x1400044b6
dec dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400044dd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400044cf
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400044df
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 0x1400072c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rbx, rcx
mov edi, edx
jg 0x1400072f6
mov r8d, 0x6d1
lea rdx, str.C:UsersFlxxdzDesktopzachy_source_nightfn_From_Passivezachy_source__nightfn_zachyzachyimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x14011d770]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x14020e490]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1d6c], edx
jne 0x140007370
mov dword [rax + 0x1d70], edx
cmp dword [rax + 0x1da8], edx
jne 0x14000737f
mov byte [rax + 0x1dac], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret