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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rsi, rdx
mov rbp, r8
lea rdx, [rsp + 0x40]
mov rdi, rcx
xor ebx, ebx
call fcn.140098630
test eax, eax
je 0x140097e69
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140266910
test eax, eax
jne 0x140097e69
lea rdx, [rsp + 0xa4]
mov rcx, rbp
call fcn.140266910
test eax, eax
jne 0x140097e69
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140097e69
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140097e60
test eax, eax
jle 0x140097e60
lea ecx, [rdi + 1]
movsxd rcx, ecx
call fcn.14023f7c0
mov rsi, rax
test rax, rax
je 0x140097e60
lea r9, [rsp + 0x138]
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140097e60
cmp dword [rsp + 0x138], edi
jne 0x140097e60
mov rcx, rsi
mov byte [rdi + rsi], bl
call fcn.140098360
mov ebx, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x110]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140098960
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x270
xor edi, edi
lea r9, [rsp + 0x20]
sub r9, rcx
mov rbp, r8
mov r14, rdx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [r9 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140098990
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x1400989b0
movzx eax, word [0x1402cfea4]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x1400989d0
lea rbx, [rsp + 0x20]
add rbx, rax
lea rdx, [rsp + 0x130]
mov eax, 0x2a
lea rcx, [rsp + 0x20]
mov word [rbx], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140098ac3
lea rax, [rsp + 0x15c]
sub rbx, rax
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x15c]
nop dword [rax + rax]
movzx ecx, byte [rax]
mov byte [rbx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140098a30
test byte [rsp + 0x130], 0x10
je 0x140098a86
movzx ecx, byte [rsp + 0x15c]
movzx eax, byte [rsp + 0x15d]
cmp cl, 0x2e
jne 0x140098a74
cmp al, cl
jne 0x140098a6b
cmp byte [rsp + 0x15e], dil
je 0x140098a9a
cmp cl, 0x2e
jne 0x140098a74
test al, al
je 0x140098a9a
mov r8, rbp
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.140098960
jmp 0x140098a96
mov r8, rbp
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.140097d70
test eax, eax
jne 0x140098ab5
lea rdx, [rsp + 0x130]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140098a20
jmp 0x140098aba
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x270]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14009f190
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.PureBasic_Console_Debugger__press_CtrlC_to_stop_program_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, 0x1f4
mov ecx, 0xfffffff5
mov word [rsp + 0x22], ax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.140015edc
mov ecx, eax
lea rdx, [0x1402ec870]
call fcn.14027f630
xor r9d, r9d
mov qword [0x1403699b8], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.14027f8a8
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.140015edc
mov ecx, eax
lea rdx, [0x1402ef340]
call fcn.14027f630
xor r9d, r9d
mov qword [0x1403699c0], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.14027f8a8
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.140015edc
mov ecx, eax
lea rdx, [0x1402ef340]
call fcn.14027f630
xor r9d, r9d
mov qword [0x1403699c8], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.14027f8a8
mov rax, qword [0x1403699c0]
mov qword [0x140371280], rax
call fcn.14009b470
add rsp, 0x48
ret
Function at 0x1400a78e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
mov rbp, rcx
test edx, edx
jle 0x1400a793b
nop
mov rcx, qword [0x14036d248]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rbp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400a7935
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bb
test eax, 0xfffffffa
je 0x1400a7955
add ebx, esi
cmp ebx, edi
jl 0x1400a7900
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x1400a7940

Function at 0x1400b2cc0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x388], 0
mov rdi, rcx
jne 0x1400b2def
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
xor esi, esi
mov ebx, esi
nop dword [rax]
nop dword [rax + rax]
mov edx, 4
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x40]
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400b2d70
mov edx, dword [rsp + 0x40]
mov rcx, rsi
nop
cmp rbx, 4
jae 0x1400b2d31
mov eax, edx
shr eax, cl
add rcx, 8
mov byte [rsp + rbx + 0x48], al
inc rbx
cmp rcx, 0x20
jb 0x1400b2d10
cmp rbx, 4
jb 0x1400b2cf0
lea rcx, str.EXPAT_ENTROPY_DEBUG
call fcn.14026c180
mov ebx, dword [rsp + 0x48]
test rax, rax
je 0x1400b2ddf
cmp byte [rax], 0x31
jne 0x1400b2ddf
cmp byte [rax + 1], sil
jne 0x1400b2ddf
mov ecx, 2
call fcn.14001ee2c
lea r8, str.rand_s
jmp 0x1400b2dbe
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ebx, dword [rsp + 0x48]
xor ebx, dword [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, ebx
lea rcx, str.EXPAT_ENTROPY_DEBUG
imul ebx, eax, 0x7fffffff
call fcn.14026c180
test rax, rax
je 0x1400b2ddf
cmp byte [rax], 0x31
jne 0x1400b2ddf
cmp byte [rax + 1], sil
jne 0x1400b2ddf
mov ecx, 2
call fcn.14001ee2c
lea r8, str.fallback_4_
mov dword [rsp + 0x28], 4
lea rdx, str.Entropy:__s_____0x_0lx___lu_bytes__n
mov r9d, 8
mov dword [rsp + 0x20], ebx
mov rcx, rax
call fcn.140085120
mov rsi, qword [rsp + 0x58]
mov dword [rdi + 0x388], ebx
mov rbx, qword [rsp + 0x50]
cmp byte [rdi + 0x1c8], 0
je 0x1400b2e0c
lea rdx, str.xmlhttp:__www.w3.org_XML_1998_namespace
mov rcx, rdi
add rsp, 0x30
pop rdi
jmp fcn.1400b21c0
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1400cfad0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14035a4a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [rcx + 0xf8]
mov rbp, rcx
call fcn.1400de1e0
mov rsi, rax
test rax, rax
jne 0x1400cfb25
lea r8, str.Encryption_needs_passphrase
mov rcx, rbp
lea rdx, [rax - 1]
call fcn.1400ddfa0
lea eax, [rsi - 0x19]
jmp 0x1400cfc88
mov edx, reloc.WS2_32.dll_inet_addr
lea rcx, [rsp + 0x30]
call fcn.1400de360
test eax, eax
je 0x1400cfb58
lea r8, str.Cant_generate_random_number_for_encryption
mov rdx, 0xffffffffffffffff
mov rcx, rbp
call fcn.1400ddfa0
mov eax, 0xffffffe2
jmp 0x1400cfc88
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400cfb60
mov dword [rdi + 0x50], 0x12345678
mov dword [rdi + 0x54], 0x23456789
mov dword [rdi + 0x58], 0x34567890
test rbx, rbx
je 0x1400cfbe0
mov ecx, dword [rdi + 0x50]
lea rdx, [rsp + 0x20]
movzx eax, byte [rsi]
not ecx
mov r8d, 1
mov byte [rsp + 0x20], al
call fcn.1400cc480
not eax
lea rdx, [rsp + 0x28]
mov dword [rdi + 0x50], eax
mov r8d, 1
movzx eax, al
add eax, dword [rdi + 0x54]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rdi + 0x54], ecx
shr ecx, 0x18
mov byte [rsp + 0x28], cl
mov ecx, dword [rdi + 0x58]
not ecx
call fcn.1400cc480
lea rsi, [rsi + 1]
not eax
mov dword [rdi + 0x58], eax
sub rbx, 1
jne 0x1400cfb83
movzx eax, byte [rdi + 0x5d]
xor ebx, ebx
mov byte [rsp + 0x3b], al
lea esi, [rbx + 0xc]
nop dword [rax]
movzx edx, byte [rsp + rbx + 0x30]
mov r8d, 1
mov eax, dword [rdi + 0x58]
or eax, 2
mov byte [rsp + 0x28], dl
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor cl, dl
lea rdx, [rsp + 0x28]
mov byte [rsp + rbx + 0x40], cl
mov ecx, dword [rdi + 0x50]
not ecx
call fcn.1400cc480
not eax
lea rdx, [rsp + 0x20]
mov dword [rdi + 0x50], eax
mov r8d, 1
movzx eax, al
add eax, dword [rdi + 0x54]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rdi + 0x54], ecx
shr ecx, 0x18
mov byte [rsp + 0x20], cl
mov ecx, dword [rdi + 0x58]
not ecx
call fcn.1400cc480
lea rbx, [rbx + 1]
not eax
mov dword [rdi + 0x58], eax
sub rsi, 1
jne 0x1400cfbf0
lea r8d, [rsi + 0xc]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call fcn.1400d94c0
test eax, eax
jne 0x1400cfc88
add qword [rdi + 0xb0], 0xc
add qword [rdi + 0x18], 0xc
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14023f100
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400d0080
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, qword [rsp + 0x60]
mov rsi, r9
cmp r8, rbx
mov r14, rdx
mov rdi, rcx
cmovb ebx, r8d
test ebx, ebx
je 0x1400d0147
mov qword [rsp + 0x40], rbp
sub r14, r9
mov ebp, ebx
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r14 + rsi]
mov r8d, 1
mov eax, dword [rdi + 8]
or eax, 2
mov byte [rsp + 0x60], dl
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor cl, dl
lea rdx, [rsp + 0x60]
mov byte [rsi], cl
mov ecx, dword [rdi]
not ecx
call fcn.1400cc480
not eax
lea rdx, [rsp + 0x50]
mov dword [rdi], eax
mov r8d, 1
movzx eax, al
add eax, dword [rdi + 4]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rdi + 4], ecx
shr ecx, 0x18
mov byte [rsp + 0x50], cl
mov ecx, dword [rdi + 8]
not ecx
call fcn.1400cc480
lea rsi, [rsi + 1]
not eax
mov dword [rdi + 8], eax
sub rbp, 1
jne 0x1400d00c0
mov rbp, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400d3d60
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x50]
mov rdi, r9
cmp r8, rax
mov rsi, rdx
mov rbx, rcx
cmovb eax, r8d
test eax, eax
je 0x1400d3e05
mov qword [rsp + 0x30], rbp
sub rsi, r9
mov ebp, eax
mov eax, dword [rbx + 8]
lea rdx, [rsp + 0x50]
or eax, 2
mov r8d, 1
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor cl, byte [rsi + rdi]
mov byte [rdi], cl
mov byte [rsp + 0x50], cl
mov ecx, dword [rbx]
not ecx
call fcn.1400cc480
not eax
lea rdx, [rsp + 0x40]
mov dword [rbx], eax
mov r8d, 1
movzx eax, al
add eax, dword [rbx + 4]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rbx + 4], ecx
shr ecx, 0x18
mov byte [rsp + 0x40], cl
mov ecx, dword [rbx + 8]
not ecx
call fcn.1400cc480
lea rdi, [rdi + 1]
not eax
mov dword [rbx + 8], eax
sub rbp, 1
jne 0x1400d3d92
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400de360
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000000
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400de3d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x1400de3c1
mov r9d, 1
mov dword [rsp + 0x20], 8
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400de3d1
mov eax, 0xffffffe7
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor ecx, ecx
mov eax, 0xffffffe7
test ebx, ebx
mov rbx, qword [rsp + 0x40]
cmovne eax, ecx
add rsp, 0x30
pop rdi
ret
Function at 0x1400e54a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov ebx, 0xffffffff
mov rdi, rdx
cmp r8, rbx
cmovbe rbx, r8
test ecx, ecx
jns 0x1400e54da
call fcn.1400155c4
mov dword [rax], 9
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x1400e5582
call fcn.140015e64
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e5573
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
jne 0x1400e5533
call fcn.1400155c4
mov dword [rax], reloc.WS2_32.dll_inet_addr
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp eax, 0x6d
je 0x1400e5582
cmp eax, 5
jne 0x1400e555a
call fcn.1400155c4
mov dword [rax], 9
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, eax
call fcn.1400e50e0
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1400e5bc0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rdx
test ecx, ecx
jns 0x1400e5be5
call fcn.1400155c4
mov dword [rax], 9
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x48], rbx
mov ebx, 0xffffffff
cmp r8, rbx
cmovbe ebx, r8d
call fcn.140015e64
mov rcx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x1400e5c58
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400e5c44
call fcn.1400155c4
mov dword [rax], 9
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
mov ecx, eax
call fcn.1400e50e0
mov rax, 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1401171e0
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x30
mov edx, edx
mov r10, rcx
mov dword [rcx], 0x4000400
mov r9d, 0x400
mov qword [rsp + 0x58], rdx
test rdx, rdx
je 0x14011725d
lea rax, [rcx + 8]
mov ecx, edx
nop word [rax + rax]
mov dword [rax - 4], 0x4000400
mov dword [rax], 0x4000400
mov dword [rax + 4], 0x4000400
mov dword [rax + 8], 0x4000400
mov dword [rax + 0xfc], 0x4000400
mov dword [rax + 0x100], 0x4000400
mov dword [rax + 0x104], 0x4000400
mov dword [rax + 0x108], 0x4000400
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140117210
movzx eax, r9w
lea rdi, [r10 + 0x204]
mov ecx, 0x100
rep stosw word [rdi], ax
test r8b, r8b
jne 0x1401173d6
xor eax, eax
mov qword [rsp + 0x40], rax
test rdx, rdx
je 0x1401173d6
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x28], rbp
lea rbp, [0x140306970]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r12
mov qword [rsp + 0x10], r13
mov qword [rsp + 8], r14
mov qword [rsp], r15
mov esi, dword [r10 + 0x4804]
lea rdi, [0x140306970]
mov r14d, eax
xor r8d, r8d
imul r12, r14, 0x440
mov dword [r10 + r14*4 + 0x4808], esi
movzx ecx, word [r10]
add r12, 0x404
mov eax, ecx
add r12, r10
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
movzx ebp, byte [rax + rbp]
movzx edx, byte [rcx + rdi]
movzx ecx, word [r10 + 2]
mov eax, ecx
mov dword [rsp + 0x50], ebp
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
movzx r15d, byte [rax + rdi]
movzx r13d, byte [rcx + rdi]
add r15d, edx
add r13d, edx
test esi, esi
je 0x140117395
mov rbx, r12
nop dword [rax]
cmp r8d, 8
jae 0x1401173dc
xor r9d, r9d
lea edi, [r8 + 8]
lea r11, [r14*8]
lea rbp, [0x140306970]
mov ecx, edi
shr edi, 1
and ecx, 1
mov eax, edi
add rax, r11
movzx edx, word [r10 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + rbp]
add r9d, eax
cmp edi, 1
jne 0x140117350
mov eax, dword [rsp + 0x50]
inc r8d
add eax, r9d
mov dword [rbx], eax
add rbx, 4
cmp r8d, esi
jb 0x140117330
lea rbp, [0x140306970]
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
cmp rax, qword [rsp + 0x58]
jb 0x1401172b2
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp r8d, esi
jae 0x140117395
lea rbx, [r12 + r8*4]
lea rbp, [0x140306970]
nop dword [rax]
cmp r8d, 0x10
jae 0x14011744e
xor r9d, r9d
lea r11, [r14*8]
mov edi, r8d
mov ecx, edi
shr edi, 1
and ecx, 1
mov eax, edi
add rax, r11
movzx edx, word [r10 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + rbp]
add r9d, eax
cmp edi, 1
jne 0x140117404
lea eax, [r9 + r15]
inc r8d
mov dword [rbx], eax
add rbx, 4
cmp r8d, esi
jb 0x1401173f0
jmp 0x14011739c
lea r11, [r12 + r8*4]
xor r9d, r9d
lea eax, [r8 + 0xf0]
nop dword [rax]
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
shr rcx, 4
movzx edi, word [r10 + rax*2 + 0x204]
and ecx, 0x7f
shr rdi, 4
xor rdi, rcx
movzx ecx, byte [rdi + rbp]
add r9d, ecx
cmp eax, 1
jne 0x140117460
lea eax, [r9 + r13]
inc r8d
mov dword [r11], eax
add r11, 4
cmp r8d, esi
jb 0x140117452
jmp 0x14011739c
Function at 0x1401174b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
mov esi, dword [rcx + 0x4804]
lea r9, [0x140306970]
mov ebp, edx
mov r11, rcx
mov dword [rcx + rbp*4 + 0x4808], esi
lea r12, [r11 + 0x404]
movzx edx, word [rcx]
movzx ecx, word [rcx + 2]
mov eax, edx
shr rax, 4
xor rdx, 0x7f0
shr rdx, 4
movzx r14d, byte [rax + r9]
mov eax, ecx
movzx r8d, byte [rdx + r9]
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
mov dword [rsp + 0x38], r14d
movzx r15d, byte [rax + r9]
movzx r13d, byte [rcx + r9]
add r15d, r8d
imul rax, rbp, 0x440
add r13d, r8d
xor r9d, r9d
add r12, rax
test esi, esi
je 0x140117699
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdi
mov rdi, r12
cmp r9d, 8
jae 0x1401175bf
xor r10d, r10d
lea r8d, [r9 + 8]
lea rbx, [rbp*8]
lea r14, [0x140306970]
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x140117570
mov eax, dword [rsp + 0x38]
inc r9d
add eax, r10d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x140117548
jmp 0x14011768f
cmp r9d, esi
jae 0x14011768f
lea rdi, [r12 + r9*4]
lea r14, [0x140306970]
cmp r9d, 0x10
jae 0x14011763c
xor r10d, r10d
lea rbx, [rbp*8]
mov r8d, r9d
nop word [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x1401175f0
lea eax, [r10 + r15]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x1401175d3
jmp 0x14011768f
lea rbx, [r12 + r9*4]
xor r10d, r10d
lea eax, [r9 + 0xf0]
nop word [rax + rax]
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
shr rcx, 4
movzx r8d, word [r11 + rax*2 + 0x204]
and ecx, 0x7f
shr r8, 4
xor r8, rcx
movzx ecx, byte [r8 + r14]
add r10d, ecx
cmp eax, 1
jne 0x140117650
lea eax, [r10 + r13]
inc r9d
mov dword [rbx], eax
add rbx, 4
cmp r9d, esi
jb 0x140117640
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x14011b200
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp byte [0x14036d560], 0
lea rdi, [0x140387520]
mov r11, rdx
mov r10, rcx
jne 0x14011b2dc
mov qword [rsp + 0x10], rbx
xor ebx, ebx
mov byte [0x14036d560], 1
nop word [rax + rax]
mov edx, ebx
shr edx, 1
mov ecx, edx
xor ecx, 0xedb88320
test bl, 1
cmove ecx, edx
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov r9d, eax
xor r9d, 0xedb88320
test dl, 1
cmove r9d, eax
mov ecx, r9d
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test r9b, 1
cmove eax, ecx
mov dword [rdi + rbx*4], eax
inc rbx
cmp rbx, 0x100
jb 0x14011b230
mov rbx, qword [rsp + 0x10]
not r8d
test r11, r11
je 0x14011b30d
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [rdi + rcx*4]
sub r11, 1
jne 0x14011b2f0
not r8d
mov eax, r8d
pop rdi
ret

Function at 0x14011b320
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x14036d560], 0
jne 0x14011b3e5
mov byte [0x14036d560], 1
lea r9, [0x140387520]
xor r8d, r8d
nop
mov ecx, r8d
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test r8b, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
mov dword [r9 + r8*4], eax
inc r8
cmp r8, 0x100
jb 0x14011b340
ret
Function at 0x14011c8c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
cmp byte [0x14036dd70], 0
lea rbx, [0x14036d570]
mov r11, rdx
mov r10, rcx
jne 0x14011c994
mov byte [0x14036dd70], 1
xor r9d, r9d
movabs rcx, 0xc96c5795d7870f42
nop dword [rax]
nop word [rax + rax]
mov rdx, r9
mov rax, r9
shr rdx, 1
xor rdx, rcx
shr rax, 1
test r9b, 1
cmovne rax, rdx
test al, 1
je 0x14011c923
shr rax, 1
xor rax, rcx
jmp 0x14011c926
shr rax, 1
test al, 1
je 0x14011c932
shr rax, 1
xor rax, rcx
jmp 0x14011c935
shr rax, 1
test al, 1
je 0x14011c941
shr rax, 1
xor rax, rcx
jmp 0x14011c944
shr rax, 1
test al, 1
je 0x14011c950
shr rax, 1
xor rax, rcx
jmp 0x14011c953
shr rax, 1
test al, 1
je 0x14011c95f
shr rax, 1
xor rax, rcx
jmp 0x14011c962
shr rax, 1
test al, 1
je 0x14011c96e
shr rax, 1
xor rax, rcx
jmp 0x14011c971
shr rax, 1
test al, 1
je 0x14011c97d
shr rax, 1
xor rax, rcx
jmp 0x14011c980
shr rax, 1
mov qword [rbx + r9*8], rax
inc r9
cmp r9, 0x100
jb 0x14011c900
not r8
test r11, r11
je 0x14011c9bd
nop dword [rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8, 8
xor r8, qword [rbx + rcx*8]
sub r11, 1
jne 0x14011c9a0
mov rbx, qword [rsp + 8]
not r8
mov rax, r8
ret