joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026310
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec3e7]
call fcn.14013fbf0
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
lea rax, str.OllyDbg____CPU_
mov qword [rbp + 0x48], rax
lea rax, str.Immunity_Debugger____CPU_
mov qword [rbp + 0x68], rax
mov rdx, qword [rbp + 0x48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002636e
mov dword [rbp + 4], 1
mov rdx, qword [rbp + 0x68]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002638c
mov dword [rbp + 4], 1
cmp dword [rbp + 4], 0
je 0x14002639a
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140026570
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec3e7]
call fcn.14013fbf0
mov dword [rbp + 4], 0
cmp dword [rbp + 4], 0
je 0x1400265a5
call fcn.140026d40
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400296d0
Capabilities:
Execute command

Disassembly:
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x72
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401d3f80]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x1401ec3e7]
call fcn.14013fbf0
lea rax, str..kdstinker
mov qword [rbp + 8], rax
lea rax, str..NiGgEr
mov qword [rbp + 0x10], rax
lea rax, str..KsDumper
mov qword [rbp + 0x18], rax
lea rax, str..kprocesshacker
mov qword [rbp + 0x20], rax
mov eax, 4
mov word [rbp + 0x44], ax
mov dword [rbp + 0x64], 0
jmp 0x140029753
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
movzx eax, word [rbp + 0x44]
cmp dword [rbp + 0x64], eax
jge 0x1400297da
movsxd rax, dword [rbp + 0x64]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rbp + rax*8 + 8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x88], rax
movzx eax, byte [0x14014ac52]
mov byte [rbp + 0xb0], al
lea rax, [rbp + 0xb1]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
cmp qword [rbp + 0x88], 0xffffffffffffffff
je 0x1400297d5
lea rcx, str.start_cmd__c_START_CMD__C__COLOR_C__TITLE_Protection__ECHO_KsDumper_Detected.__TIMEOUT_10__nul
call qword [sym.imp.ucrtbased.dll_system]
call fcn.140026d40
jmp 0x14002974b
lea rcx, [rbp - 0x40]
lea rdx, [0x140151f80]
call fcn.14013f9c0
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.14013fe30
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret

Function at 0x14002aae0
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec3e7]
call fcn.14013fbf0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14002ab20
call fcn.140026d40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14002ab90
Capabilities:
Check for outputdebugstring error
Print debug messages
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec3e7]
call fcn.14013fbf0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.leksa
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14002abe5
call fcn.140026d40
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14002c740
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec3e3]
call fcn.14013fbf0
movsx eax, byte [rbp + 0xe8]
mov ecx, dword [rbp + 0xe0]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140050b40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec579]
call fcn.14013fbf0
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140050ba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec579]
call fcn.14013fbf0
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140051690
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec579]
call fcn.14013fbf0
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x1401555a0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x14005170f
mov dword [rbp + 0x120], 1
jmp 0x140051719
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x140051762
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1400516da
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140051780
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec579]
call fcn.14013fbf0
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1401555a0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1400518c5
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x140051819
mov dword [rbp + 0x160], 1
jmp 0x140051823
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1400518c0
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x14005189a
cmp qword [rbp + 0x198], 2
jb 0x14005189a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14005189a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14005189a
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400517e4
jmp 0x14005195f
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x14005195f
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x140051936
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140051936
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140051936
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400518c5
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140135290
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401ec823]
call fcn.14013fbf0
mov qword [rbp + 8], 0
jmp 0x1401352ce
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x140135324
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x1401352c3
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14013c140
Capabilities:
Execute command
Hide graphical window

Disassembly:
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x60]
lea rcx, [0x1401ec9e8]
call fcn.14013fbf0
lea rcx, [0x1401dbcd8]
call fcn.14000f070
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
mov dword [0x1401dbcd0], eax
mov dword [0x1401dbc10], 0x50
lea rax, [0x14013e700]
mov qword [0x1401dbc18], rax
mov rax, qword [0x1401dbca0]
mov qword [0x1401dbc28], rax
lea rax, str.CiceroUIWndFrame
mov qword [0x1401dbc50], rax
lea rcx, [0x1401dbc10]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x14013c1c5
xor eax, eax
jmp 0x14013c2f6
mov qword [rsp + 0x58], 0
mov rax, qword [0x1401dbca0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [0x1401dbcc4]
mov dword [rsp + 0x38], eax
mov eax, dword [0x1401dbcc0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x90000000
lea r8, str.CiceroUIWndFrame
lea rdx, str.CiceroUIWndFrame
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1401dbcb8], rax
cmp qword [0x1401dbcb8], 0
jne 0x14013c244
xor eax, eax
jmp 0x14013c2f6
mov r8d, 0x80088
mov edx, 0xffffffec
mov rcx, qword [0x1401dbcb8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea rdx, [0x1401b8298]
mov rcx, qword [0x1401dbcb8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x1401dbcb8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401dbcb8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x1401dbcb8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, qword [0x1401dbcb8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, qword [0x1401dbcb8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 1
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14013d330
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1a8]
mov rax, qword [0x1401d3f80]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x1401ec9e0]
call fcn.14013fbf0
mov qword [rbp + 8], 0
cmp dword [rbp + 0x170], 0
jl 0x14013d3b1
cmp dword [rbp + 0x170], 0x7c
jge 0x14013d3b1
lea r8, [rbp + 8]
mov edx, dword [rbp + 0x170]
lea rcx, str.Keybind
call fcn.14013e4a0
lea rcx, [rbp + 0x28]
call fcn.1400087e0
nop
cmp qword [rbp + 8], 0
jne 0x14013d3d4
lea rdx, str.Select_Key
lea rcx, [rbp + 0x28]
call fcn.14013bf10
jmp 0x14013d3e1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x28]
call fcn.14013bf10
cmp dword [rbp + 0x180], 1
jne 0x14013d3fa
lea rdx, str.Press_the_Key
lea rcx, [rbp + 0x28]
call fcn.14013bf10
movss xmm2, dword [0x140155580]
movss xmm1, dword [0x140194614]
lea rcx, [rbp + 0x124]
call fcn.14001aad0
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x28]
call fcn.14000f070
mov qword [rbp + 0x140], rax
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x140]
call fcn.1400fa1a0
movzx eax, al
test eax, eax
je 0x14013d476
cmp dword [rbp + 0x180], 0
jne 0x14013d476
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x178]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rbp + 0x28]
call fcn.140009e30
lea rcx, [rbp - 0x30]
lea rdx, [0x140193e80]
call fcn.14013f9c0
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.14013fe30
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x14013ea50
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 7
syscall
ret
Function at 0x140002a90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
cmp byte [0x1401302a3], 0
xorps xmm0, xmm0
mov eax, dword [0x1401302a0]
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x40], eax
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [0x140130290]
movups xmmword [rsp + 0x30], xmm0
je 0x140002c6d
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140002c2c
movdqa xmm0, xmmword [str.00000000000000008888888888888888]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x14019edd0]
movdqa xmm4, xmmword [0x14019ef50]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x14019ee00]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140002b20
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x14
jge 0x140002c6d
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x14
jl 0x140002c40
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1400041e0
add rsp, 0x98
ret
Function at 0x140004f70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140004fd7
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140004f92
mov ecx, dword [r10]
jmp 0x1400050f8
cmp ecx, 0x270
jb 0x1400050f8
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x140005010
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140005070
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x140005580
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401cc1c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x141258fe0]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x140005657
mov rax, qword [rdi]
test rax, rax
je 0x140005615
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x140005615
test rsi, rsi
je 0x140005615
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140005615
cmp dword [rsp + 0x30], ebx
je 0x140005657
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140005634
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x140005634
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
jmp 0x140005659
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140117bc0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000bcb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1412591b4], 0
lea rdi, [0x1412591b0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x14000bd88
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x14000bce0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000bdbe
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x14000bda0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000bdff
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14000bde3
cmp byte [r8], r9b
jne 0x14000bde3
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 [rdi + rdx*4]
test r9b, r9b
jne 0x14000bdd0
not eax
pop rdi
ret
Function at 0x14000c000
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x14000c019
mov qword [r8], 0
lea rdx, [0x1401313c8]
call fcn.14000be10
mov rbx, rax
test rax, rax
jne 0x14000c038
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000c0f8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14000c0f8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000c0f8
mov rax, qword [0x141223320]
mov rbp, rsi
test rax, rax
je 0x14000c095
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000c0f8
mov r9, rbx
mov r8, rbp
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, rbp
je 0x14000c0e5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x141223320]
test rax, rax
je 0x14000c0da
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000c101
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000c0f3
mov qword [rdi], rbp
mov rax, rsi
jmp 0x14000c103
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 0x14001d130
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x141223320]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2eec], esi
test rcx, rcx
je 0x14001d24a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2ef0]
mov dword [rdi + 0x2eec], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001d18a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14001e2d0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001d19e
mov edx, 8
mov rcx, rbx
call fcn.14001e2d0
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2f00], esi
jle 0x14001d1ea
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2f08]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + reloc.WLDAP32.dll_Ordinal_32]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2f00]
jl 0x14001d1c0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x14001d1f9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2ef8]
lea rdx, [0x1401313cc]
test rax, rax
movsxd rsi, esi
lea rdi, [0x141223318]
mov rcx, r15
cmovne rdi, rax
call fcn.14000be10
mov rbx, rax
test rax, rax
je 0x14001d245
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret