joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e1754
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd r13, dword [rdx + 0x1c]
lea r9, [0x140000000]
mov r14, qword [rdx]
xor ebx, ebx
mov r11, qword [rdx + 8]
or esi, 0xffffffff
mov dword [rsp + 0x70], esi
mov ebp, 0x23d
mov dword [0x1401bbd74], ebx
mov r12, rcx
mov dword [0x1401bbd78], ebp
mov r15, rdx
lea r10d, [rsi + 2]
mov edi, ebx
mov r8d, ebx
mov ecx, ebx
test r13d, r13d
jle 0x1400e17ff
cmp word [r14 + rcx*4], bx
je 0x1400e17e5
add edi, r10d
mov dword [rsp + 0x70], r8d
movsxd rax, edi
mov esi, r8d
mov dword [0x1401bbd74], edi
mov dword [r9 + rax*4 + 0x1bb480], r8d
cmp rcx, rbp
jae 0x1400e19d5
mov byte [rcx + r9 + 0x1bbd80], bl
jmp 0x1400e17eb
mov word [r14 + rcx*4 + 2], bx
add r8d, r10d
add rcx, r10
cmp rcx, r13
jl 0x1400e17af
cmp edi, 2
jge 0x1400e1895
mov r9d, dword [0x1401bc3b8]
mov r8d, dword [0x1401dc3c0]
movsxd rdx, esi
cmp esi, 2
jge 0x1400e1827
add esi, r10d
add rdx, r10
mov dword [rsp + 0x70], esi
mov rcx, rdx
mov r10d, esi
jmp 0x1400e182d
mov r10d, ebx
mov rcx, rbx
inc edi
lea rbx, [0x140000000]
movsxd rax, edi
mov dword [0x1401bbd74], edi
mov dword [rbx + rax*4 + 0x1bb480], r10d
mov r10d, 1
mov word [r14 + rcx*4], r10w
lea ebx, [r10 - 1]
cmp rcx, rbp
jae 0x1400e19db
dec r9d
lea rax, [0x140000000]
mov byte [rcx + rax + 0x1bbd80], bl
mov dword [0x1401bc3b8], r9d
test r11, r11
je 0x1400e188c
movzx eax, word [r11 + rcx*4 + 2]
sub r8d, eax
mov dword [0x1401dc3c0], r8d
cmp edi, 2
jl 0x1400e1810
mov eax, edi
mov dword [r15 + 0x24], esi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
cmp eax, r10d
jl 0x1400e18c3
mov r8d, ebx
mov rdx, r14
mov rcx, r12
call fcn.1400e2b3c
mov r10d, 1
sub ebx, r10d
cmp ebx, r10d
jge 0x1400e18a7
lea rsi, [0x140000000]
jmp 0x1400e18cf
mov r10, r15
movsxd rbx, dword [0x1401bb484]
mov r8d, r10d
movsxd rax, edi
mov rdx, r14
sub edi, r10d
mov rcx, r12
mov dword [0x1401bbd74], edi
mov eax, dword [rsi + rax*4 + 0x1bb480]
mov dword [0x1401bb484], eax
call fcn.1400e2b3c
movsxd rcx, dword [0x1401bb484]
mov r15d, 1
mov r9, rcx
movsxd rdx, r13d
sub ebp, r15d
mov r8d, r15d
movsxd rax, ebp
sub ebp, r15d
mov dword [rsi + rax*4 + 0x1bb480], ebx
movsxd rax, ebp
mov dword [rsi + rax*4 + 0x1bb480], ecx
movzx eax, word [r14 + rcx*4]
add ax, word [r14 + rbx*4]
mov word [r14 + rdx*4], ax
mov al, byte [rcx + rsi + 0x1bbd80]
cmp byte [rbx + rsi + 0x1bbd80], al
cmova ecx, ebx
movsxd rax, ecx
mov cl, byte [rax + rsi + 0x1bbd80]
add cl, r15b
mov word [r14 + r9*4 + 2], r13w
mov byte [rdx + rsi + 0x1bbd80], cl
mov rdx, r14
mov word [r14 + rbx*4 + 2], r13w
mov rcx, r12
mov dword [0x1401bb484], r13d
add r13d, r15d
call fcn.1400e2b3c
cmp edi, 2
jge 0x1400e18cc
mov eax, dword [0x1401bb484]
sub ebp, r15d
mov rdx, qword [rsp + 0x68]
movsxd rcx, ebp
mov dword [0x1401bbd78], ebp
mov dword [rsi + rcx*4 + 0x1bb480], eax
mov rcx, r12
call fcn.1400e27d4
mov r8d, dword [rsp + 0x70]
mov rdx, r14
mov rcx, r12
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400e2a10
call fcn.1400ee84c
int3
call fcn.1400ee84c
int3
Function at 0x1400e4de0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2fa0]
mov eax, 0x30a0
call fcn.1400eea70
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x30e0], rbx
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rbp + 0x2f90], rax
mov rsi, r8
mov rdi, rdx
mov r12, rcx
mov rax, rdx
mov r9, r8
sub r9, rdx
movzx edx, word [rax]
movzx r8d, word [rax + r9]
sub edx, r8d
jne 0x1400e4e4b
add rax, 2
test r8d, r8d
jne 0x1400e4e35
test edx, edx
je 0x1400e5050
xor r14b, r14b
lea rdx, [rbp + 0x1f90]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [rbp + 0x1f90]
call fcn.1400f5d18
mov r15d, eax
mov r13d, 1
cmp word [rbp + 0x1f90], 0x5c
je 0x1400e4ec1
cmp word [rsi], 0x5c
je 0x1400e4ec1
cmp word [rdi], 0x5c
je 0x1400e4ec1
movzx ecx, word [rsi]
call fcn.1400f5d18
mov ebx, eax
movzx ecx, word [rdi]
call fcn.1400f5d18
cmp word [rsi + 2], 0x3a
cmovne ebx, r15d
cmp word [rdi + 2], 0x3a
cmovne eax, r15d
movzx r14d, r14b
cmp ebx, eax
cmovne r14d, r13d
mov rcx, rdi
call fcn.140068f88
test al, al
je 0x1400e4f26
lea rcx, [rsp + 0x30]
call fcn.1400678f4
nop
mov r8d, r13d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140067ec8
test al, al
je 0x1400e4f12
lea rcx, [rsp + 0x30]
call fcn.1400679e4
test al, al
je 0x1400e4f12
mov rcx, rdi
call fcn.140068c94
test al, al
je 0x1400e4f12
lea rcx, [rsp + 0x30]
call fcn.140067930
jmp 0x1400e4f26
lea rcx, [rsp + 0x30]
call fcn.140067930
mov eax, 0xf
jmp 0x1400e5052
test r14b, r14b
jne 0x1400e4f43
mov rdx, rdi
mov rcx, rsi
call fcn.1400696c4
test al, al
sete al
test al, al
je 0x1400e5050
lea rcx, [rsp + 0x30]
call fcn.1400678f4
nop
lea rcx, [rbp + 0xf60]
call fcn.1400678f4
nop
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140067ec8
test al, al
jne 0x1400e4f88
mov rdx, rsi
lea rcx, [0x14017d200]
call fcn.140063144
mov ebx, 0xa
jmp 0x1400e5015
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rbp + 0xf60]
call fcn.140067b98
test al, al
jne 0x1400e4fa8
mov ebx, 0xf
jmp 0x1400e5015
xor edx, edx
lea rcx, [0x14017d200]
call fcn.140063250
or r9, 0xffffffffffffffff
lea r8, [rbp + 0xf60]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400e4860
mov r14d, eax
lea rcx, [rsp + 0x30]
call fcn.1400679e4
lea rcx, [rbp + 0xf60]
call fcn.1400679e4
mov dl, r13b
lea rcx, [0x14017d200]
call fcn.140063250
test r14d, r14d
je 0x1400e5030
mov rcx, rdi
call fcn.140068c94
mov eax, 0xe
lea ebx, [rax - 4]
cmp r14d, ebx
cmove r14d, eax
mov ebx, r14d
lea rcx, [rbp + 0xf60]
call fcn.140067930
nop
lea rcx, [rsp + 0x30]
call fcn.140067930
mov eax, ebx
jmp 0x1400e5052
mov rcx, rsi
call fcn.140068c94
nop
lea rcx, [rbp + 0xf60]
call fcn.140067930
nop
lea rcx, [rsp + 0x30]
call fcn.140067930
xor eax, eax
mov rcx, qword [rbp + 0x2f90]
xor rcx, rsp
call fcn.1400eeae0
mov rbx, qword [rsp + 0x30e0]
add rsp, 0x30a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e53a8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xd0
mov rax, qword [0x14013f2b0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
inc dword [rcx + 0x1f4]
mov r14d, r8d
cmp dword [rcx + 0x1f4], 1
mov rdi, rdx
mov rsi, rcx
jne 0x1400e53fd
xor ecx, ecx
call fcn.1400fb458
mov rbx, rax
call sub.KERNEL32.dll_GetCurrentProcessId
xor eax, ebx
mov ecx, eax
call fcn.1400fb3a8
mov r8d, 0x80
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14008b2ec
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400e5554
xor ebp, ebp
mov r12d, 0xfffd
call fcn.1400fb37c
mov ebx, dword [rsi + 0x1f0]
mov rcx, rsi
sar eax, 7
and ebx, r12d
movzx edi, al
or ebx, 2
mov edx, edi
call fcn.1400e55b0
mov eax, ebx
xor eax, 1
imul eax, ebx
shr eax, 8
xor al, dil
mov byte [rsp + rbp + 0x30], al
inc rbp
cmp rbp, 0xa
jl 0x1400e5425
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400e5554
xor ebp, ebp
mov edi, dword [rsi + 0x1f0]
mov rcx, rsi
movzx ebx, byte [rsp + rbp + 0x30]
and edi, r12d
mov edx, ebx
or edi, 2
call fcn.1400e55b0
mov eax, edi
xor eax, 1
imul eax, edi
shr eax, 8
xor al, bl
mov byte [rsp + rbp + 0x30], al
inc rbp
cmp rbp, 0xa
jl 0x1400e5470
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.14008b55c
mov edi, dword [rsi + 0x1f0]
mov ebx, r14d
shr ebx, 0x10
and edi, r12d
movzx edx, bl
mov rcx, rsi
or edi, 2
call fcn.1400e55b0
mov eax, edi
shr r14d, 0x18
xor eax, 1
mov edx, r14d
imul eax, edi
mov rcx, rsi
shr eax, 8
xor al, bl
mov ebx, dword [rsi + 0x1f0]
and ebx, r12d
mov byte [rsp + 0x3a], al
or ebx, 2
call fcn.1400e55b0
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov eax, ebx
mov r9d, 0xc
xor eax, 1
mov rcx, rsi
imul eax, ebx
lea r8d, [r9 - 0xb]
shr eax, 8
xor al, r14b
mov byte [rsp + 0x3b], al
call fcn.1400e43e4
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400eeae0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e55b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, dword [rcx + 0x1e8]
lea rbx, [0x1401dc3f0]
mov r10, rcx
mov eax, edx
mov r11d, edx
mov r8d, r9d
xor r8, rax
shr r9d, 8
movzx eax, r8b
mov edx, dword [r10 + 0x1f0]
mov r8d, dword [rbx + rax*4]
xor r8d, r9d
mov dword [rcx + 0x1e8], r8d
movzx eax, r8b
add eax, dword [rcx + 0x1ec]
imul ecx, eax, 0x8088405
inc ecx
mov dword [r10 + 0x1ec], ecx
shr rcx, 0x18
xor rcx, rdx
shr edx, 8
movzx eax, cl
mov eax, dword [rbx + rax*4]
mov rbx, qword [rsp + 8]
xor eax, edx
mov dword [r10 + 0x1f0], eax
mov eax, r11d
ret
Function at 0x1400e562c
Capabilities:
Encode data using xor

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, 0x30
cmp byte [0x140157840], 0
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
je 0x1400e56bb
cmp byte [rcx + 4], 0
je 0x1400e5678
mov edx, ebp
lea r8, [rcx + 8]
imul edx, r14d
mov rcx, r15
call fcn.1400b5224
jmp 0x1400e56bb
mov rdi, r14
mov r12, r15
imul rdi, rbp
test rdi, rdi
je 0x1400e56bb
mov ebx, dword [rsi + 0x1f0]
mov rcx, rsi
movsx edx, byte [r12]
and ebx, 0xfffd
or ebx, 2
call fcn.1400e55b0
mov eax, ebx
xor eax, 1
imul eax, ebx
shr eax, 8
xor byte [r12], al
inc r12
sub rdi, 1
jne 0x1400e5687
and dword [rsp + 0x20], 0
mov r9, rbp
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.1400e43e4
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x1400ed62c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ed664
test al, 0x10
jne 0x1400ed660
and eax, 0xffffffdf
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400ed664
mov al, 1
jmp 0x1400ed67a
mov rdx, qword [rdi + 0x64b7d8]
mov r8, rbx
mov ecx, 0x11
call fcn.1400129f8
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400fb974
Capabilities:
Parse pe header

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, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400fb748
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fb748
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fb748
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fb748
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fb748
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fb748
cmp dword [rcx + 0xf8], esi
je 0x1400fb748
mov ecx, r14d
call fcn.1400fb890
mov ecx, 2
call fcn.140100ee8
nop
cmp byte [0x1401dd400], 0
jne 0x1400fb812
mov r15d, 1
mov eax, r15d
xchg dword [0x1401dd3f0], eax
test ebx, ebx
jne 0x1400fb7bb
mov rdi, qword [0x14013f2b0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1401dd3f8]
cmp rcx, rax
je 0x1400fb7b2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400152cc]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1401dd538]
jmp 0x1400fb7c7
cmp ebx, r15d
jne 0x1400fb7cd
lea rcx, [0x1401dd550]
call fcn.1400fc428
nop
test ebx, ebx
jne 0x1400fb7e4
lea rdx, [0x14010cff8]
lea rcx, [0x14010cfd8]
call fcn.1400fc760
lea rdx, [0x14010d008]
lea rcx, [0x14010d000]
call fcn.1400fc760
movzx eax, byte [0x1401dd400]
test esi, esi
cmove eax, r15d
mov byte [0x1401dd400], al
jmp 0x1400fb812
mov ecx, 2
call fcn.140100f3c
test esi, esi
jne 0x1400fb829
mov ecx, r14d
call fcn.1400fb844
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400fb6d8
Function at 0x1401005b0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x140100450
call fcn.1400f9090
mov dword [rax], 0x16
call fcn.1400fcf50
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140100438
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140100438
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x140100482
lock or dword [rax + 0x14], 0x10
jmp 0x140100438
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14010049f
mov rcx, qword [rbp + 0x10]
call fcn.140104e20
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400fa65c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400f7eb4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401004f6
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x140100438
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x140100562
mov rcx, qword [rbp + 0x10]
call fcn.1400fa65c
cmp eax, 0xffffffff
je 0x140100549
mov rcx, qword [rbp + 0x10]
call fcn.1400fa65c
cmp eax, 0xfffffffe
je 0x140100549
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400fa65c
movsxd rdi, eax
lea rsi, [0x1401dd5d0]
mov rcx, rbx
sar rdi, 6
call fcn.1400fa65c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x140100550
lea rax, [0x14013f6a0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140100562
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140100598
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140100594
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140100594
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14010043b
jmp 0x140100408
Function at 0x141688058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1416881df
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 0x141688089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14168806f
add dl, dl
jne 0x141688096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416880f6
xor eax, eax
add dl, dl
jne 0x1416880a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416881ad
add dl, dl
jne 0x1416880b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416880c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416880d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416880dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1416880ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14168807e
mov eax, 1
add dl, dl
jne 0x141688106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141688113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416880fb
sub eax, ebx
mov ebx, 1
jne 0x14168814c
mov ecx, 1
add dl, dl
jne 0x14168812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14168813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141688123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14168807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141688168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141688175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14168815d
cmp eax, 0x7d00
jae 0x14168819b
cmp eax, 0x500
jb 0x141688196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14168807e
cmp eax, 0x7f
ja 0x14168819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14168807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1416881d2
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 0x14168807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400034f0
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 0x14000354d
lea rbx, [0x14003ea30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003534
cmp r10, 2
jb 0x140003534
cmp byte [r9], r8b
jne 0x140003534
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 0x140003510
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000358f
lea rbx, [0x14003ea30]
cmp r8b, 0x23
jne 0x140003573
cmp byte [r9], r8b
jne 0x140003573
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 0x140003560
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003750
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000376e
mov qword [r8], r14
lea rdx, [0x14003e550]
call fcn.1400035a0
mov rbx, rax
test rax, rax
jne 0x140003793
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400038bf
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 0x1400038bf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400038bf
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 0x1400038bf
cmp rdi, 0xffffffffffffffff
je 0x1400038bf
mov rcx, rdi
call fcn.140007670
mov rbp, rax
test rax, rax
je 0x1400038bf
mov r9, rbx
mov r8, rdi
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, rdi
je 0x1400038ac
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x14004a6d8]
test r8, r8
je 0x1400038a1
movsx rdx, word [r8 + 0x60e8]
lea rcx, [r8 + 0x60ec]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003896
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ec]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60e4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400038c8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400038ba
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400038ca
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 rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140010620
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x14003ea30]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x405c], ebx
jne 0x1400106b4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001aa70
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400106d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x14003ea30]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret