joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012e814
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1401e03f0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14012e872
cmp word [rdx], r12w
jne 0x14012e872
or byte [rax + r8*8 + 0x38], cl
jmp 0x14012e878
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14012e9d3
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14012e9ae
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14012e8b1
mov rcx, r9
jmp 0x14012e8d4
cmp r9, rdx
jae 0x14012e8eb
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14012e895
jmp 0x14012e9d3
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14012e9a8
cmp dword [rsp + 0x80], edi
je 0x14012e9a8
mov rdx, r14
lea r11, [0x1401e03f0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14012e981
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14012e954
mov word [rbx], r12w
jmp 0x14012e9cf
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14012e95d
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14012e9cf
cmp word [rsp + 0x70], r12w
jne 0x14012e98e
cmp rbx, rsi
je 0x14012e94e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14012e770
cmp word [rsp + 0x70], r12w
je 0x14012e9d3
mov word [rbx], r13w
jmp 0x14012e9cf
lea r11, [0x1401e03f0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14012e9cb
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14012e9d3
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140131a0c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140131a3e
call fcn.140124954
mov dword [rax], 0x16
call fcn.140118444
jmp 0x140131b5d
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140131b5d
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140131b5d
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140131a6d
lock or dword [rcx + 0x14], 0x10
jmp 0x140131b5d
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140131a81
call fcn.140131d00
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14012e0f8
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14012ecc0
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140131b4b
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140131b16
mov rcx, rsi
call fcn.14012e0f8
cmp eax, edi
je 0x140131b01
mov rcx, rsi
call fcn.14012e0f8
cmp eax, 0xfffffffe
je 0x140131b01
mov rcx, rsi
call fcn.14012e0f8
movsxd rbx, eax
lea r14, [0x1401e03f0]
mov rcx, rsi
sar rbx, 6
call fcn.14012e0f8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140131b08
lea rdx, [0x1401bb410]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140131b16
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140131b3a
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140131b3a
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140131b3a
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140131b60
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140135b40
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140135b70
xor eax, eax
jmp 0x140135c33
mov rbp, rbx
cmp word [rax], si
je 0x140135b95
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140135b7c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140135b78
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401342ec
movsxd r14, eax
test eax, eax
jne 0x140135bd3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140135b69
mov rcx, r14
call fcn.14012ceb4
mov rdi, rax
test rax, rax
jne 0x140135bec
xor ecx, ecx
call fcn.14012ce78
jmp 0x140135bc8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401342ec
test eax, eax
jne 0x140135c1d
mov rcx, rdi
call fcn.14012ce78
jmp 0x140135c27
xor ecx, ecx
call fcn.14012ce78
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14013ccfc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14011f44c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14013cd86
cmp byte [rbp - 0x21], r15b
je 0x14013cd81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14013cdbc
call fcn.14012f5c0
test eax, eax
jne 0x14013cda8
cmp byte [rbp - 0x21], r15b
je 0x14013cda0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14013cdbc
cmp byte [rbp - 0x21], r15b
je 0x14013cdb9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140129190
test eax, eax
jne 0x14013ce5c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14011f44c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14013cdfb
cmp byte [rbp - 0x21], r15b
je 0x14013ce30
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14013ce30
call fcn.14012f5c0
test eax, eax
jne 0x14013ce1c
cmp byte [rbp - 0x21], r15b
je 0x14013ce15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14013ce30
cmp byte [rbp - 0x21], r15b
je 0x14013ce2d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140129190
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14013ce5c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14013ce5f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14013ce6d
mov rcx, rdi
call fcn.14012ce78
cmp byte [rbp + 0x3f], r15b
je 0x14013ce7c
mov rcx, qword [rbp + 0x27]
call fcn.14012ce78
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14013dbcc
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14012e770
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14012e770
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14013dd1c
cmp rax, 0xffffffffffffffff
je 0x14013dd1c
xor edi, edi
test rbp, rbp
jle 0x14013dcc7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14012f228
mov rbx, rax
test rax, rax
jne 0x14013dc54
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14013dcbd
mov edx, 0x8000
mov ecx, r14d
call fcn.14012aae4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401309c0
cmp eax, 0xffffffff
je 0x14013dc9d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14013dc64
mov edx, r15d
mov ecx, r14d
call fcn.14012aae4
jmp 0x14013dcbd
cmp byte [rsi + 0x38], dil
je 0x14013dcb4
cmp dword [rsi + 0x34], 5
jne 0x14013dcb4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14013dcbd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14012ce78
jmp 0x14013dd30
jns 0x14013dd30
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14012e770
cmp rax, 0xffffffffffffffff
jne 0x14013dce8
cmp byte [rsi + 0x30], dil
je 0x14013dd30
mov edi, dword [rsi + 0x2c]
jmp 0x14013dd30
mov ecx, r14d
call fcn.140136860
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14013dd30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14013dd30
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14013dd29
mov eax, dword [rsi + 0x2c]
jmp 0x14013dd2e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14012e770
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14013e410
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013e438
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14013e438
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011244
Capabilities:
Terminate process

Disassembly:
jmp 0x1400138d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112df
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c40
xor al, al
jmp 0x140014cc1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c53
xor al, al
jmp 0x140014cc1
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 0x140014c7d
xor al, al
jmp 0x140014cc1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014c91
xor al, al
jmp 0x140014cc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014ca3
xor al, al
jmp 0x140014cc1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014cbf
xor al, al
jmp 0x140014cc1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012970
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011410
movzx eax, al
test eax, eax
jne 0x140012990
mov ecx, 7
call fcn.140011384
nop
mov byte [rsp + 0x20], 0
call fcn.140011398
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x1400129b4
mov ecx, 7
call fcn.140011384
nop
jmp 0x140012a0c
cmp dword [0x14001d868], 0
jne 0x140012a07
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111ef
test eax, eax
je 0x1400129e8
mov eax, 0xff
jmp 0x140012b11
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001138e
mov dword [0x14001d868], 2
jmp 0x140012a0c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011370
call fcn.140011302
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012a69
mov rcx, qword [rsp + 0x30]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012a69
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.140011334
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012a9d
mov rcx, qword [rsp + 0x38]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012a9d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113cf
nop
call fcn.140012bc0
mov dword [rsp + 0x28], eax
call fcn.1400112df
movzx eax, al
test eax, eax
jne 0x140012abc
mov ecx, dword [rsp + 0x28]
call fcn.140011064
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012acb
call fcn.1400113d9
nop
xor edx, edx
mov cl, 1
call fcn.14001118b
mov eax, dword [rsp + 0x28]
jmp 0x140012b11
add rsp, 0x68
ret
Function at 0x140003c50
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 0x140003cad
lea rbx, [0x14003af80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003c94
cmp r10, 2
jb 0x140003c94
cmp byte [r9], r8b
jne 0x140003c94
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 0x140003c70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003cef
lea rbx, [0x14003af80]
cmp r8b, 0x23
jne 0x140003cd3
cmp byte [r9], r8b
jne 0x140003cd3
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 0x140003cc0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003eb0
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 0x140003edf
mov r8d, 0x791
lea rdx, str.C:UsersxxxDesktopencryptserverfile_nyteinstallerimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140003eeb
mov qword [rdi], 0
lea rdx, [0x140044588]
mov rcx, rbx
call fcn.140003d00
mov rbx, rax
test rax, rax
jne 0x140003f0d
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 0x140003fe6
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 0x140003fe6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003fe6
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 0x140003fe6
cmp rsi, 0xffffffffffffffff
je 0x140003fe6
mov rax, qword [0x1403ace30]
test rax, rax
je 0x140003f83
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 0x140003fe6
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 0x140003fd3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1403ace30]
test rax, rax
je 0x140003fc8
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003fef
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003fe1
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003ff1
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 0x140007250
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 0x140007287
mov r8d, 0x708
lea rdx, str.C:UsersxxxDesktopencryptserverfile_nyteinstallerimgui.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, [0x14003af80]
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 [0x1403ace30]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140007306
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001c5e0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400155b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1403ace30]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140015602
cmp byte [rbx + 0x4a5e], 0
jne 0x140015602
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003bd0
test dil, 1
je 0x140015778
jmp 0x1400156d9
movss xmm3, dword [rbx + 0xdfc]
lea r8, str.Tooltip__02d
movss xmm1, dword [rbx + 0xe00]
xor ecx, ecx
movss xmm2, dword [rbx + 0x3898]
mov edx, 0x10
movss xmm4, dword [rbx + 0x18]
movaps xmm0, xmm2
mulss xmm0, dword [0x140046b70]
mulss xmm4, dword [0x140046b60]
mulss xmm2, dword [0x140046b58]
subss xmm3, xmm0
subss xmm1, xmm2
subss xmm3, dword [0x1403aceb8]
subss xmm1, dword [0x1403acebc]
mulss xmm3, xmm4
addss xmm3, dword [0x1403aceb8]
mulss xmm1, xmm4
addss xmm1, dword [0x1403acebc]
movss dword [0x1403aceb8], xmm3
movss dword [0x1403acebc], xmm1
mov eax, dword [rbx + 0x47a8]
or eax, 1
mov dword [rbx + 0x47a8], eax
or eax, 0x40
movsd xmm0, qword [0x1403aceb8]
mov qword [rbx + 0x47c0], rcx
movsd qword [rbx + 0x47b8], xmm0
mov dword [rbx + 0x47a8], eax
mov dword [rbx + 0x47ac], 1
mov dword [rbx + 0x4808], ecx
lea rcx, [rsp + 0x20]
movsx r9d, word [rbx + 0x5b5a]
call fcn.140003bd0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015730
lea r11, [0x14003af80]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015713
cmp byte [r8], r9b
jne 0x140015713
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140015700
not ecx
call fcn.14000b150
test rax, rax
je 0x140015778
cmp byte [rax + 0xae], 0
je 0x140015778
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b5a]
call fcn.140003bd0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000dbf0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001ac40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ace7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ac9a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001d4b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004380
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1403ace28]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001acef
mov rcx, rbx
call fcn.140004380
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b390
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1403ace30]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001b3f4
lea r10, [0x14003af80]
cmp r8b, 0x23
jne 0x14001b3d7
cmp byte [rdx], r8b
jne 0x14001b3d7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001b3c4
mov eax, dword [r14 + 0x5bb8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001b455
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001b41a
cmp edi, eax
jl 0x14001b434
mov r8d, 0x6ff
lea rdx, str.C:UsersxxxDesktopencryptserverfile_nyteinstallerimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bc0]
cmp dword [rax + rbp + 8], ebx
je 0x14001b472
mov eax, dword [r14 + 0x5bb8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001b411
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001b47f
cmp edi, dword [r14 + 0x5bb8]
jl 0x14001b499
mov r8d, 0x6ff
lea rdx, str.C:UsersxxxDesktopencryptserverfile_nyteinstallerimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bc0]
lea rax, [rax + rcx*8]
jmp 0x14001b457
Function at 0x140035190
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400351b1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400351de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400351e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140035239
test ecx, ecx
jle 0x140035219
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140035239
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140035239
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
xor dword [0x1712640f6], ebx
invalid