joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dee4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000df68
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140011680]
cmp byte [rcx + rax], 0
je 0x14000df68
dec r8
sub rdx, 1
jne 0x14000df4e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000f4fc
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400028c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400028c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400028c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400028c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400028c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400028c8
xor al, al
add rsp, 0x28
ret
Function at 0x140005eb0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rbx, qword [rcx + 0x88]
mov r15, rcx
mov rdi, qword [rcx + 0x68]
call fcn.1400076b0
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x30], 0xb
mov rcx, rax
call fcn.140002e80
mov qword [rsp + 0x58], 0
lea rdx, str.BUTTON
mov qword [rsp + 0x50], rbx
mov r9d, 0x50000000
mov qword [rsp + 0x48], 0x3ec
mov r8, rax
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0x140
mov dword [rsp + 0x28], 0x1b8
mov dword [rsp + 0x20], 0xc8
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rdx, [rbp + 0x38]
mov dword [rbp + 0x38], 0x3ec
lea rcx, [r15 + 0x38]
mov rbx, rax
call fcn.140007740
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x30], 4
lea rcx, [r15 + 0x48]
mov qword [rax], rbx
call fcn.140007740
lea rdx, [rbp + 0x38]
lea rcx, [r15 + 0x38]
mov rbx, qword [rax]
mov dword [rbp + 0x38], 0x3ec
call fcn.140007740
mov r9d, 1
mov r8, rbx
mov rcx, qword [rax]
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [r15 + 0x88]
mov rdi, qword [r15 + 0x68]
call fcn.1400076b0
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x30], 0xc
mov rcx, rax
call fcn.140002e80
mov qword [rsp + 0x58], 0
lea rdx, str.BUTTON
mov qword [rsp + 0x50], rbx
mov r9d, 0x50000000
mov qword [rsp + 0x48], 0x3ed
mov r8, rax
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0x140
mov dword [rsp + 0x28], 0x1b8
mov dword [rsp + 0x20], 0x22b
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rdx, [rbp + 0x38]
mov dword [rbp + 0x38], 0x3ed
lea rcx, [r15 + 0x38]
mov rbx, rax
call fcn.140007740
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x30], 4
lea rcx, [r15 + 0x48]
mov qword [rax], rbx
call fcn.140007740
lea rdx, [rbp + 0x38]
lea rcx, [r15 + 0x38]
mov rbx, qword [rax]
mov dword [rbp + 0x38], 0x3ed
call fcn.140007740
mov r9d, 1
mov r8, rbx
mov rcx, qword [rax]
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [r15 + 0x88]
mov rdi, qword [r15 + 0x68]
call fcn.1400076b0
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x30], 0xd
mov rcx, rax
call fcn.140002e80
mov qword [rsp + 0x58], 0
lea rdx, str.BUTTON
mov qword [rsp + 0x50], rbx
mov r9d, 0x50000000
mov qword [rsp + 0x48], 0x3ee
mov r8, rax
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], 0x19
mov dword [rsp + 0x30], 0x3c
mov dword [rsp + 0x28], 0x18b
mov dword [rsp + 0x20], 0x2a3
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rdx, [rbp + 0x38]
mov dword [rbp + 0x38], 0x3ee
lea rcx, [r15 + 0x38]
mov rbx, rax
call fcn.140007740
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x30], 4
lea rcx, [r15 + 0x48]
mov qword [rax], rbx
call fcn.140007740
lea rdx, [rbp + 0x38]
lea rcx, [r15 + 0x38]
mov rbx, qword [rax]
mov dword [rbp + 0x38], 0x3ee
call fcn.140007740
mov r9d, 1
mov r8, rbx
mov rcx, qword [rax]
lea edx, [r9 + 0x2f]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400087a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400087ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400087ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400087ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400087ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400087ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400087f0
xor al, al
add rsp, 0x28
ret
Function at 0x140005a40
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140005a68
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140005a8e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140005a90
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005ae9
test ecx, ecx
jle 0x140005ac9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140005ae9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005ae9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140005b10
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005b32
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140005b48
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005b64
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005b66
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005ba2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140005c3e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140005bdd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140005c1e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140005c3e
cmp rbx, rax
ja 0x140005bf0
test rbx, rbx
je 0x140005c3e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400060a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400060cd
xor eax, eax
jmp 0x140006239
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006107
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006107
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140006239
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000622c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000614a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140006175
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006231
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400061e4
sub eax, 1
je 0x1400061e4
cmp eax, 2
jne 0x14000622c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006231
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006212
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000622c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140006231
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140011af0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x1400066a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400066d4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400066c0
ret
Function at 0x140006c50
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006d23
cmp byte [rcx + 0x71], 0
je 0x140006d23
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140006d1f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006ce4
sub eax, 1
je 0x140006ce8
cmp eax, 2
jne 0x140006d1f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011af0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006d16
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140006d1f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140006ccc
xor al, al
jmp 0x140006ccc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011af0
add rsp, 0x60
pop rbx
ret
Function at 0x14000eaf0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000ebbc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000ebbc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000ebd5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000ebac
cmp byte [rax], 0x5c
jne 0x14000eba6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14000eba6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000eb92
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14000eba3
test r8b, 0x10
jne 0x14000eba6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14000eba6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000a1e0
test edi, edi
jne 0x14000eb10
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000a1d0
int3

Function at 0x1400110ac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400110e6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400110eb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140011134
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140014650]
cmp byte [rcx + rax], 0
je 0x140011134
dec r8
sub rdx, 1
jne 0x14001111a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140012694
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400126de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400126de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400126de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400126de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400126de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400126e0
xor al, al
add rsp, 0x28
ret
Function at 0x140004d54
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
xor edx, edx
mov r8d, 0x120
mov rbx, rcx
call fcn.140020540
mov r11, rbx
not r11
inc r11
and r11d, 0x3f
lea rax, [r11 + rbx]
mov qword [rbx + 0xf0], rax
sub rax, 0xffffffffffffff80
mov qword [rbx + 0xf8], rax
add rax, 0x20
mov qword [rbx + 0x100], rax
add rax, 8
xor edx, edx
mov qword [rbx + 0x108], rax
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14002ca50]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140004db3
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
shl edi, 0x10
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
xor dword [rax + 0xc], edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005df0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x140005e37
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140005e05
inc r9d
mov dword [r8], r10d
add r8, 4
cmp r9d, 0x100
jb 0x140005dfc
repz ret

Function at 0x140005eb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, r8
mov rbx, rdx
mov r11d, ecx
lea rsi, [0x1400358a0]
test r8, r8
je 0x140005ef9
test bl, 7
je 0x140005ef9
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x140005ed4
cmp r10, 8
jb 0x140005fa6
mov rdi, r10
shr rdi, 3
mov rax, rdi
imul rax, rax, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x10
movzx edx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr eax, 0x18
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4]
shr eax, 8
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr eax, 0x18
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1000]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
xor r8d, dword [rsi + rcx*4 + 0x1400]
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x140005f14
test r10, r10
je 0x140005fcb
movzx ecx, byte [rbx]
movzx eax, r11b
inc rbx
xor rcx, rax
mov eax, r11d
mov r11d, dword [rsi + rcx*4]
shr eax, 8
xor r11d, eax
sub r10, 1
jne 0x140005fab
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, r11d
ret
Function at 0x1400063b8
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x1f0
mov r13d, 0x40
mov rbp, r9
mov r12, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, r13
jbe 0x14000642a
lea rcx, [rax - 0x88]
call fcn.140013c5c
lea rcx, [rsp + 0x180]
mov r8, rbx
mov rdx, rsi
call fcn.140013f38
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x180]
call fcn.140013ffc
lea rsi, [rsp + 0x80]
lea ebx, [r13 - 0x20]
xor edi, edi
mov dl, 0x36
mov r8, rdi
cmp rbx, rdi
jbe 0x140006456
lea rax, [rsp + 0x20]
mov r9, rsi
sub r9, rax
lea rcx, [rsp + r8 + 0x20]
inc r8
mov al, byte [r9 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x140006441
cmp rbx, r13
jae 0x14000646b
mov r8, r13
lea rcx, [rsp + rbx + 0x20]
sub r8, rbx
call fcn.140020540
lea rcx, [rsp + 0xa0]
call fcn.140013c5c
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
mov r8, r13
call fcn.140013f38
lea rcx, [rsp + 0xa0]
mov r8, rbp
mov rdx, r12
call fcn.140013f38
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.140013ffc
lea rcx, [rsp + 0x110]
call fcn.140013c5c
mov dl, 0x5c
cmp rbx, rdi
jbe 0x1400064e2
lea rax, [rsp + 0x20]
sub rsi, rax
lea rcx, [rsp + rdi + 0x20]
inc rdi
mov al, byte [rsi + rcx]
xor al, dl
mov byte [rcx], al
cmp rdi, rbx
jb 0x1400064ce
cmp rbx, r13
jae 0x1400064f7
mov r8, r13
lea rcx, [rsp + rbx + 0x20]
sub r8, rbx
call fcn.140020540
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x110]
mov r8, r13
call fcn.140013f38
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x110]
mov r8d, 0x20
call fcn.140013f38
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x110]
call fcn.140013ffc
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x140006558
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x110
mov rax, r8
mov r8d, 0x40
mov r13, rcx
cmp r9, r8
mov r12, rdx
lea rcx, [r11 - 0x88]
cmovb r8, r9
mov rdx, rax
mov rbx, r9
call fcn.140020900
lea rax, [rsp + 0x40]
lea r9, [rbx + 4]
lea r8, [rsp + 0xa0]
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x20], rax
mov byte [rsp + rbx + 0xa0], 0
mov byte [rsp + rbx + 0xa1], 0
mov byte [rsp + rbx + 0xa2], 0
mov byte [rsp + rbx + 0xa3], 1
call fcn.1400063b8
mov r14d, 0x20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
mov r8, r14
call fcn.140020900
mov r11d, dword [rsp + 0x168]
lea eax, [r14 - 0x10]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x158]
dec r11d
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x160]
mov dword [rsp + 0x30], r11d
lea rsi, [rsp + 0x60]
lea rdi, [rsp + 0x30]
lea ebp, [r14 - 0x1d]
mov qword [rsp + 0x70], rax
cmp dword [rdi], 0
jbe 0x1400066a5
mov ebx, dword [rdi]
lea rax, [rsp + 0xf0]
lea r8, [rsp + 0x40]
mov r9, r14
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x20], rax
call fcn.1400063b8
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x40]
mov r8, r14
call fcn.140020900
xor r11d, r11d
mov rcx, r14
mov al, byte [rsp + r11 + 0x40]
inc r11
xor byte [rsp + r11 + 0x77], al
sub rcx, 1
jne 0x14000668c
sub rbx, 1
jne 0x140006651
mov rcx, qword [rsi]
lea rdx, [rsp + 0x78]
mov r8, r14
call fcn.140020900
add rdi, 4
add rsi, 8
sub rbp, 1
jne 0x14000664a
lea edx, [rbp + 0x44]
lea rcx, [rsp + 0xa0]
call fcn.14000f3c4
lea rcx, [rsp + 0x78]
mov rdx, r14
call fcn.14000f3c4
lea rcx, [rsp + 0x40]
mov rdx, r14
call fcn.14000f3c4
lea rcx, [rsp + 0xf0]
mov rdx, r14
call fcn.14000f3c4
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret