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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140217b8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140217b8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140217b8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140217b8e
cmp dword [rcx + 0x84], 0xe
jbe 0x140217b8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140217b90
xor al, al
add rsp, 0x28
ret

Function at 0x14021cb04
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14021c963
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14021c963
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14021c963
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14021c963
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14021c963
cmp dword [rcx + 0x84], 0xe
jbe 0x14021c963
cmp dword [rcx + 0xf8], 0
je 0x14021c963
mov ecx, ebx
call fcn.14021ca20
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14021c7f0
nop
cmp dword [rbp + 0x20], 0
je 0x14021c9b1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14021c9bc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14021c8f4
Function at 0x14022e5d4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14022e65b
mov rsi, rbx
cmp word [rax], bp
je 0x14022e61a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14022e604
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14022e600
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140229be4
mov rdi, rax
test rax, rax
je 0x14022e648
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140217e70
mov rbp, rdi
xor ecx, ecx
call fcn.14022a704
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
mov esi, eax
movabs eax, dword [0xda8b088900409214]
test ebx, ebx
jle 0x1400070a1
mov eax, 0xff
call fcn.140002680
xor byte [rsi], al
jne 0x140007091
pop rsi
pop rbx
ret

Function at 0x140011010
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x140011038
add rsp, 0x30
pop rbx
ret
lea rax, [rsp + 0x40]
lea r8, [0x14000e2e0]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140011079
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x50], rdi
mov rax, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret

Function at 0x140011500
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [0x14004f0d9], 0
mov esi, edx
mov rdi, rcx
je 0x140011526
or eax, 0xffffffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x140011568
cmp eax, 0x80010106
jne 0x1400115a4
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14001156c
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov byte [rdi + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov rdx, rax
call fcn.14000ec50
cmp al, 1
jne 0x140011594
mov edx, esi
mov rcx, rdi
call fcn.1400108b0
mov ebx, eax
jmp 0x140011598
mov ebx, dword [rsp + 0x40]
cmp byte [rdi + 0x62], 0
je 0x1400115a4
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140012240
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
lea r8, str.EM47D2CDD9E9E7
xor ecx, ecx
lea edx, [rbx + 1]
mov esi, r9d
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140012292
lea ecx, [rbx + 1]
call fcn.14000e110
test al, al
je 0x140012292
lea rcx, [0x14004f210]
mov edx, esi
call fcn.140011500
mov ebx, eax
test rdi, rdi
je 0x1400122a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400092e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x1401bb660]
xor r15d, r15d
mov r14d, ecx
mov ebp, r15d
mov rsi, qword [rdi + 0x12c0]
test cl, 0x10
jne 0x140009476
mov ebx, dword [rdi + 0x1c30]
test ebx, ebx
je 0x140009358
cmp dword [rdi + 0x1324], ebx
jne 0x14000946f
mov eax, dword [rdi + 0x134c]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0x108], bpl
je 0x14000946f
cmp byte [rsi + 0xc3], bpl
jmp 0x140009418
cmp byte [rdi + 0x108], bpl
je 0x14000946f
cmp byte [rsi + 0xc3], bpl
jne 0x14000946f
test byte [rdi + 0x1c38], 1
jne 0x140009394
cmp dword [rdi + 0x1324], ebp
je 0x14000946f
cmp qword [rdi + 0x1340], rsi
jne 0x14000946f
test r14b, 8
je 0x14000946f
lea rdx, [rdi + 0x1c3c]
mov rcx, rsi
call fcn.1400102c0
mov ebx, eax
mov dword [rdi + 0x1c30], eax
mov rax, qword [0x1401bb660]
cmp dword [rax + 0x1324], ebx
jne 0x1400093ca
mov dword [rax + 0x1328], ebx
cmp dword [rax + 0x1350], ebx
jne 0x1400093d9
mov byte [rax + 0x1354], 1
mov r8d, dword [rdi + 0x1c34]
lea rcx, [rdi + 0x1c3c]
mov edx, ebx
call fcn.1400167e0
movzx ebp, al
test al, al
je 0x140009412
cmp byte [rdi + 0xb20], r15b
je 0x140009412
mov rdx, rsi
mov ecx, ebx
call fcn.1400227a0
xor edx, edx
mov rcx, rsi
call fcn.14000f0a0
cmp dword [rdi + 0x1324], ebx
jne 0x14000946f
mov byte [rdi + 0x1331], bpl
movsxd rcx, dword [rsi + 0x100]
mov rax, qword [rsi + 0x108]
mov ebp, dword [rax + rcx*4 - 4]
mov rax, qword [0x1401bb660]
movsxd rcx, r15d
cmp byte [rcx + rax + 0x108], 0
jne 0x14000944c
xor sil, sil
jmp 0x140009465
movss xmm1, dword [rax + 0x6c]
movss xmm0, dword [rax + rcx*4 + 0xb78]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae sil
call fcn.1400228a0
test sil, sil
jne 0x1400094c2
xor al, al
jmp 0x14000957f
mov r9d, 0xffffffff
lea rdx, [0x1401404c9]
mov ebx, r9d
lea r10, [0x14013f1d0]
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1400094a3
cmp byte [rdx], r8b
jne 0x1400094a3
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 0x140009490
not ebx
cmp byte [rdi + 0x1fa8], 0
jne 0x140009500
call fcn.14000b700
mov dword [rdi + 0x1fc4], ebx
mov dword [rdi + 0x1fc8], ebp
mov byte [rdi + 0x1fa8], 1
mov dword [rdi + 0x1fac], r14d
mov dword [rdi + 0x1fb4], r15d
cmp ebx, dword [rdi + 0x1324]
jne 0x140009500
mov byte [rdi + 0x1332], 1
mov eax, dword [rdi + 0x1218]
mov dword [rdi + 0x1fb0], eax
mov byte [rdi + 0x1fa9], 1
test r14b, 1
jne 0x140009570
cmp dword [rdi + 0x2018], 0
je 0x140009567
test dword [rdi + 0x200c], 0x1000
je 0x140009567
mov rbx, qword [0x1401bb660]
lea rcx, str.Tooltip_Hidden
xor edx, edx
mov r8d, 0x2030347
call fcn.1400067e0
mov rax, qword [rbx + 0x12c0]
mov byte [rax + 0xc3], 1
mov byte [rax + 0xc5], 1
mov byte [rax + 0xe4], 1
jmp 0x140009570
xor edx, edx
xor ecx, ecx
call fcn.140009d50
test r14b, 0x12
jne 0x14000957d
and dword [rdi + 0x1c38], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009d50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401b83f8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401bb660]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x1fa9], 0
jne 0x140009db8
cmp byte [rbx + 0x1faa], 0
jne 0x140009db8
movsx r9d, word [rbx + 0x30f0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400128f0
test sil, 2
je 0x140009ef0
jmp 0x140009e51
movss xmm1, dword [rbx + 0xc7c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140140674]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x140140670]
addss xmm0, dword [rbx + 0x100]
addss xmm1, dword [rbx + 0x104]
or dword [rbx + 0x1c70], 1
mov qword [rbx + 0x1c88], rax
movss dword [rbx + 0x1c80], xmm0
mov dword [rbx + 0x1c74], 1
movss dword [rbx + 0x1c84], xmm1
movss xmm0, dword [rbx + 0xcd8]
mov rax, qword [0x1401bb660]
mulss xmm0, dword [0x140140618]
or dword [rax + 0x1c70], 0x40
movss dword [rax + 0x1cd0], xmm0
movsx r9d, word [rbx + 0x30f0]
call fcn.1400128f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140009ea1
lea r11, [0x14013f1d0]
cmp r9b, 0x23
jne 0x140009e84
cmp byte [r8], r9b
jne 0x140009e84
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 0x140009e71
not ecx
call fcn.14000ebe0
test rax, rax
je 0x140009ef0
cmp byte [rax + 0xbe], 0
je 0x140009ef0
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x30f0]
movsx r9d, word [rbx + 0x30f0]
call fcn.1400128f0
or edi, 0x2030347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.1400067e0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140133970
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000eb40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401bb660]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14000eba3
mov qword [rsp], rbx
lea rbx, [0x14013f1d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000eb83
cmp byte [r8], r9b
jne 0x14000eb83
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14000eb70
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x31b8]
not eax
mov r8, qword [r10 + 0x31c0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14000ebcf
cmp dword [r8 + 8], eax
je 0x14000ebd6
add r8, 0x48
cmp r8, rcx
jne 0x14000ebc0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14000ec60
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14000ecb0
lea r11, [0x14013f1d0]
cmp r9b, 0x23
jne 0x14000ec93
cmp byte [r8], r9b
jne 0x14000ec93
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 0x14000ec80
not ecx
jmp fcn.14000ebe0

Function at 0x1400100f0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1401bb660]
mov rax, qword [rax + 0x12c0]
movsxd rdx, dword [rax + 0x100]
mov rax, qword [rax + 0x108]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
jmp fcn.1400136d0

Function at 0x1400101c0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x108]
mov r9, r8
movsxd r8, dword [rcx + 0x100]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [rax + r8*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.1400136d0

Function at 0x1400102c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x108]
lea r9, [0x14013f1d0]
movss xmm2, dword [rcx + 0x120]
movss xmm3, dword [rcx + 0x124]
movsxd rcx, dword [rcx + 0x100]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x1400104e0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rdx
xor r9d, r9d
sub rdx, rcx
test rax, rax
cmove rdx, r9
jmp fcn.1400136d0

Function at 0x1400136d0
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 0x14001372d
lea rbx, [0x14013f1d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140013714
cmp r10, 2
jb 0x140013714
cmp byte [r9], r8b
jne 0x140013714
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 0x1400136f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001376f
lea rbx, [0x14013f1d0]
cmp r8b, 0x23
jne 0x140013753
cmp byte [r9], r8b
jne 0x140013753
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 0x140013740
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400140b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x10
mov qword [rsp + 0x30], rbx
lea r13, [0x140000000]
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rsi
mov rax, rcx
mov qword [rsp + 8], r14
xor r12d, r12d
mov qword [rsp], r15
test rdi, rdi
je 0x1400140f0
cmp rax, rdi
jae 0x140014268
movzx r8d, byte [rax]
test r8b, r8b
je 0x140014268
xor ebx, ebx
mov ecx, r8d
shr rcx, 3
mov rdx, rdi
movsx r9, byte [rcx + r13 + 0x13fcd8]
test r9d, r9d
sete bl
add ebx, r9d
test rdi, rdi
jne 0x140014126
movsxd rdx, ebx
add rdx, rax
xor esi, esi
lea rcx, [rax + 1]
cmp rax, rdx
cmovb esi, r8d
cmp rcx, rdx
jae 0x14001413e
movzx r15d, byte [rcx]
jmp 0x140014141
xor r15b, r15b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x140014150
movzx r14d, byte [rcx]
jmp 0x140014153
xor r14b, r14b
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x140014161
movzx ebp, byte [rcx]
jmp 0x140014164
xor bpl, bpl
lea r11, [r9*4]
movzx ecx, sil
mov r9d, dword [r11 + r13 + 0x13fcf8]
and r9d, ecx
movzx r8d, r15b
shl r9d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, r14b
or r9d, ecx
movzx r10d, bpl
shl r9d, 6
and r8d, 0xc0
mov ecx, edx
and edx, 0xc0
and ecx, 0x3f
or r9d, ecx
mov ecx, r10d
shr r10d, 2
and ecx, 0x3f
or r10d, edx
shl r9d, 6
shr r10d, 2
or r9d, ecx
mov ecx, dword [r11 + r13 + 0x13fd28]
or r10d, r8d
shr r9d, cl
shr r10d, 2
mov edx, r9d
cmp r9d, dword [r11 + r13 + 0x13fd10]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, pe_nt_image_headers64
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r9d, 0xffff
cmova edx, ecx
mov ecx, dword [r11 + r13 + 0x13fd40]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x14001425a
xor edx, edx
test bpl, bpl
setne dl
xor ecx, ecx
test r14b, r14b
setne cl
add edx, ecx
xor ecx, ecx
test r15b, r15b
setne cl
add edx, ecx
xor ecx, ecx
test sil, sil
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
movsxd rcx, ebx
add rax, rcx
inc r12d
jmp 0x1400140e2
mov r15, qword [rsp]
mov eax, r12d
mov r14, qword [rsp + 8]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x10
pop r13
pop r12
pop rdi
ret
Function at 0x140014380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x140014597
mov qword [r11 + 0x18], rbp
lea rbp, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x1400143de
cmp r8, rsi
jae 0x140014574
movzx edx, byte [r8]
test dl, dl
je 0x140014574
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x13fcd8]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x140014412
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x14001442b
movzx r13d, byte [rax]
jmp 0x14001442e
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x14001443d
movzx r12d, byte [rax]
jmp 0x140014440
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x14001444f
movzx r15d, byte [rax]
jmp 0x140014452
xor r15b, r15b
lea r11, [r9*4]
movzx eax, r14b
mov ebp, dword [r11 + rbp + 0x13fcf8]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r10d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r10d
and eax, 0x3f
shr r10d, 2
or r10d, edx
shl ebp, 6
or ebp, eax
shr r10d, 2
or r10d, r9d
lea rax, [0x140000000]
mov ecx, dword [r11 + rax + 0x13fd28]
shr r10d, 2
shr ebp, cl
mov ecx, 0x100
cmp ebp, dword [r11 + rax + 0x13fd10]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r10d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, pe_nt_image_headers64
cmove edx, eax
mov eax, r9d
or r10d, edx
cmp ebp, 0xffff
cmova eax, ecx
or r10d, eax
lea rax, [0x140000000]
mov ecx, dword [r11 + rax + 0x13fd40]
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x140014556
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x140000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x1400143d0
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x1400145ad
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14001db20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401bb660]
lea rdx, [0x14013f1d0]
mov r8d, ecx
mov rbx, qword [rax + 0x12c0]
add rbx, 0x100
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14001dbd7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14001dbc3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001dbc8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14002bb80
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003d680
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
movzx r9d, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul r8d
mov ebx, r8d
mov esi, r8d
shr edx, 0xb
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x14003d7be
mov qword [rsp + 0x20], rdi
xor edx, edx
cmp ebx, 7
jbe 0x14003d729
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add r9d, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
add r10, 8
add ecx, r9d
cmp r8d, ebx
jb 0x14003d6c2
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x14003d786
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x14003d773
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop dword [rax]
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add r8d, r9d
add r10, 2
add r9d, eax
add r11d, r9d
sub rdi, 1
jne 0x14003d750
cmp edx, ebx
jae 0x14003d780
movzx eax, byte [r10]
add r9d, eax
add ecx, r9d
inc r10
lea eax, [r11 + r8]
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
sub esi, ebx
mov ebx, 0x15b0
jne 0x14003d6b7
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl ecx, 0x10
lea eax, [r9 + rcx]
pop rsi
ret