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

Disassembly:
cld
pop r11
jmp 0x14031c54d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14031c55d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14031c545
lea eax, [rcx + 1]
jmp 0x14031c56b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14031c57e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14031c564
sub eax, 3
jb 0x14031c59e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14031c5ed
sar eax, 1
movsxd rbp, eax
jb 0x14031c5d4
jmp 0x14031c5ac
add ebx, ebx
jne 0x14031c5aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14031c5d4
inc ecx
add ebx, ebx
jne 0x14031c5ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14031c5d4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14031c5cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14031c5bc
add ecx, 2
jmp 0x14031c5d9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14031c502
jmp 0x14031c54d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5a00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14031c639
cmp rsi, rcx
jae 0x14031c641
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14031c620
cmp al, 0x8f
ja 0x14031c620
cmp byte [rsi - 2], 0xf
je 0x14031c626
sub al, 0xe8
cmp al, 1
ja 0x14031c60a
cmp rsi, rcx
jae 0x14031c641
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14031c610
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14031c641
lodsb al, byte [rsi]
jmp 0x14031c620
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x31a000]
mov eax, dword [rdi]
or eax, eax
je 0x14031c6aa
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x31c1dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14031c64e
jns 0x14031c683
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14031c68d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14031c6a4
mov qword [rbx], rax
add rbx, 8
jmp 0x14031c66e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14031c6e4
cmp al, 0xef
ja 0x14031c6d6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14031c6b6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14031c6c5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14031c738
sub rsp, 0xffffffffffffff80
jmp 0x140005d70
Function at 0x401030
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
push rsi
mov esi, ecx
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x10]
lea rdi, [rax + 0x10]
cmp rbx, rdi
je 0x401073
movzx edx, word [rbx + 0x58]
mov rcx, qword [rbx + 0x60]
call fcn.00401502
cmp eax, esi
jne 0x40106e
mov rax, qword [rbx + 0x30]
jmp 0x401075
mov rbx, qword [rbx]
jmp 0x401052
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x40107d
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x401097
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x401097
xor eax, eax
ret

Function at 0x401502
Capabilities:
Hash data using djb2

Disassembly:
xor r9d, r9d
test rcx, rcx
je 0x401551
mov r8, rcx
mov r9d, 0x1505
mov al, byte [r8]
test rdx, rdx
jne 0x401521
test al, al
jne 0x401535
jmp 0x401551
mov r10, r8
sub r10, rcx
cmp r10, rdx
jae 0x401551
test al, al
jne 0x401535
inc r8
jmp 0x40153c
cmp al, 0x60
jbe 0x40153c
sub eax, 0x20
mov r10d, r9d
movzx eax, al
inc r8
shl r10d, 5
add eax, r10d
add r9d, eax
jmp 0x401513
mov eax, r9d
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
lea r9, str._J_ms8m
mov r8d, 3
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140002060
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 case.default.0x140002081
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 0x1400020ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400020b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002109
test ecx, ecx
jle 0x1400020e9
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 0x140002109
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002109
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
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002130
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 0x140002152
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140002161
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 0x140002184
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002186
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400021c2
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 0x14000225e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400021fd
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 0x14000223e
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 0x14000225e
cmp rbx, rax
ja 0x140002210
test rbx, rbx
je 0x14000225e
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
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x1400026c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400026ed
xor eax, eax
jmp 0x140002859
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002727
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002727
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 0x140002859
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000284c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000276a
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 0x140002795
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 0x140002851
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 0x140002804
sub eax, 1
je 0x140002804
cmp eax, 2
jne 0x14000284c
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 0x140002851
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002832
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 0x14000284c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002851
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003bd0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002db0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002e83
cmp byte [rcx + 0x71], 0
je 0x140002e83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002e7f
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 0x140002e44
sub eax, 1
je 0x140002e48
cmp eax, 2
jne 0x140002e7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003bd0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002e76
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 0x140002e7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002e2c
xor al, al
jmp 0x140002e2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003bd0
add rsp, 0x60
pop rbx
ret

Function at 0x140004550
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x18
call fcn.1402bb640
sub rsp, rax
mov rax, qword [0x140615e68]
xor rax, rsp
mov qword [rsp + 8], rax
mov r10, r9
mov r11, rcx
mov r9d, edx
test edx, edx
jne 0x1400049cd
xor eax, eax
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1402ba950
add rsp, 0x18
ret
mov r8, qword [r8]
xor edx, edx
mov qword [rsp], r8
movzx eax, byte [rsp + 1]
movzx ecx, r8b
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [rsp + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
mov eax, ecx
div r9d
mov rax, qword [r11 + rdx*8]
lea rdx, [r11 + rdx*8]
test rax, rax
je 0x140004a64
cmp qword [rax + 8], r8
je 0x140004a64
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x140004a53
test r10, r10
je 0x140004a6c
mov dword [r10], ecx
mov rax, rdx
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1402ba950
add rsp, 0x18
ret
Function at 0x140004f10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x420
call fcn.1402bb640
sub rsp, rax
mov rax, qword [0x140615e68]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rbx, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x3c0
call fcn.1402bd780
xor eax, eax
xor edx, edx
mov qword [rsp + 0x3e0], rax
mov qword [rsp + 0x3e8], rax
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x3f8], rax
mov qword [rsp + 0x400], rax
mov qword [rsp + 0x408], rax
lea r8, [0x140386fa0]
nop dword [rax]
movzx ecx, byte [rdx + r8]
inc rdx
movzx eax, cl
xor cl, 0x5c
xor al, 0x36
mov byte [rsp + rdx + 0x3df], cl
mov byte [rsp + rdx + 0x1f], al
cmp rdx, 0x10
jb 0x140004f90
lea rdx, [0x140005540]
lea rcx, [0x140668610]
call fcn.14000dad0
mov rax, qword [0x140668600]
mov dword [rsp + 0x34], 0x2b0c
mov ecx, dword [rax + 0x60]
mov dword [rsp + 0x30], ecx
call fcn.14000db30
mov dword [rsp + 0x38], eax
call fcn.14000d970
lea rdx, [0x140005540]
lea rcx, [0x140668610]
mov dword [rsp + 0x3c], eax
call fcn.14000dad0
mov rax, qword [0x140668600]
mov qword [rsp + 0x48], rbx
mov rcx, qword [rax + 0x38]
xor ebx, ebx
lea rdi, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
nop dword [rax + rax]
lea rdx, [0x140005540]
lea rcx, [0x140668610]
call fcn.14000dad0
mov rax, qword [0x140668600]
mov rcx, qword [rax + 0x28]
movsxd rax, dword [rcx]
cmp rbx, rax
jae 0x1400050da
lea rdx, [0x140005540]
lea rcx, [0x140668610]
call fcn.14000dad0
mov rax, qword [0x140668600]
xor edx, edx
mov r9, qword [rax + 0x28]
movsxd r8, dword [r9]
test r8, r8
jle 0x140005089
lea rax, [r9 + 8]
mov rcx, qword [rax]
cmp dword [rcx], ebx
je 0x140005093
inc rdx
add rax, 8
cmp rdx, r8
jl 0x140005076
mov eax, 0x65
jmp 0x14000513e
mov rcx, qword [r9 + rdx*8 + 8]
inc rbx
add rdi, 0x1c
mov rax, qword [rcx + 0x148]
mov qword [rdi - 0x2c], rax
mov rax, qword [rcx + 0x150]
mov qword [rdi - 0x24], rax
mov eax, dword [rcx + 0x298]
mov dword [rdi - 0x1c], eax
mov eax, dword [rcx + 0x290]
mov dword [rdi - 0x18], eax
mov eax, dword [rcx + 0x294]
mov dword [rdi - 0x14], eax
cmp rbx, 0x20
jb 0x140005020
movabs rcx, 0xb3b3b3b3b3b3b3b3
lea rdx, [rsp + 0x20]
mov r8d, 0x3c0
mov qword [rsp + 0x3d0], rcx
mov qword [rsp + 0x3d8], rcx
lea rcx, [rsp + 0x3f0]
call fcn.140005270
movabs rcx, 0x2020202020202020
lea rdx, [rsp + 0x3e0]
mov qword [rsp + 0x3f0], rcx
mov qword [rsp + 0x3f8], rcx
mov r8d, 0x30
mov rcx, rsi
call fcn.140005270
xor eax, eax
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1402ba950
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140005170
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x50
call fcn.1402bb640
sub rsp, rax
mov rax, qword [0x140615e68]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ecx, ecx
call fcn.1402d3d8c
lea rdx, [0x140386e90]
lea rcx, [rsp + 0x20]
mov rbx, rax
call qword [0x140669308]
test eax, eax
jne 0x1400051dc
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140004f10
test eax, eax
jne 0x140005256
mov rax, qword [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rdx, rbx
mov ecx, 0x2b0c
call qword [rax + 8]
test eax, eax
je 0x1400051f6
mov ecx, eax
call fcn.1400045a0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ba950
add rsp, 0x50
pop rbx
ret
xor r8b, r8b
xor eax, eax
nop dword [rax + rax]
movzx edx, byte [rsp + rax + 0x3b]
movzx ecx, byte [rsp + rax + 0x3a]
add rax, 4
xor cl, byte [rsp + rax + 0x26]
xor dl, byte [rsp + rax + 0x27]
or dl, cl
movzx ecx, byte [rsp + rax + 0x35]
xor cl, byte [rsp + rax + 0x25]
or dl, cl
movzx ecx, byte [rsp + rax + 0x24]
xor cl, byte [rsp + rax + 0x34]
or dl, cl
or r8b, dl
cmp rax, 0x10
jb 0x140005200
test r8b, r8b
je 0x140005254
mov eax, 0x67
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ba950
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ba950
add rsp, 0x50
pop rbx
ret
Function at 0x140005270
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x78
call fcn.1402bb640
sub rsp, rax
mov rax, qword [0x140615e68]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov r10, r8
mov r9, rdx
mov r11, rcx
cmp rax, 0x10
jae 0x140005464
mov byte [rsp + rax + 0x50], 0
inc rax
cmp rax, 0x10
jb 0x1400052a1
xor r8b, r8b
xor edx, edx
mov qword [rsp + 0x70], rbx
lea rbx, str._.C
test r10, r10
je 0x1400052f4
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
movzx eax, r8b
xor rcx, rax
mov rax, rdx
inc rdx
movzx r8d, byte [rcx + rbx]
and eax, 0xf
mov byte [rsp + rax + 0x50], r8b
cmp rdx, r10
jb 0x1400052d0
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
test r10, r10
je 0x1400053da
lea rax, [rsp + 0x30]
sub r9, rax
add r9, 2
dec r10
shr r10, 4
inc r10
nop word [rax + rax]
xor r8d, r8d
lea rdx, [rsp + 0x30]
add rdx, r8
add r8, 4
movzx ecx, byte [rdx + r9 - 2]
movzx eax, byte [rdx - 0x10]
xor al, cl
mov byte [rdx], cl
movzx ecx, byte [rdx + r9 - 1]
mov byte [rdx + 0x10], al
movzx eax, byte [rdx - 0xf]
mov byte [rdx + 1], cl
xor al, cl
movzx ecx, byte [rdx + r9]
mov byte [rdx + 0x11], al
movzx eax, byte [rdx - 0xe]
mov byte [rdx + 2], cl
xor al, cl
movzx ecx, byte [rdx + r9 + 1]
mov byte [rdx + 0x12], al
movzx eax, byte [rdx - 0xd]
mov byte [rdx + 3], cl
xor al, cl
mov byte [rdx + 0x13], al
cmp r8, 0x10
jb 0x140005343
xor ecx, ecx
xor r8d, r8d
xor eax, eax
movzx edx, byte [rcx + rbx]
movzx ecx, byte [rsp + rax + 0x20]
inc rax
xor edx, ecx
mov byte [rsp + rax + 0x1f], dl
movzx ecx, dl
cmp rax, 0x2f
jb 0x1400053a2
lea rax, [rcx + r8]
inc r8
movzx ecx, al
cmp r8, 0x11
jb 0x1400053a0
add r9, 0x10
dec r10
jne 0x140005340
xor edx, edx
nop dword [rax]
movzx ecx, byte [rsp + rdx + 0x50]
movzx eax, byte [rsp + rdx + 0x20]
inc rdx
xor al, cl
mov byte [rsp + rdx + 0x2f], cl
mov byte [rsp + rdx + 0x3f], al
cmp rdx, 0x10
jb 0x1400053e0
xor eax, eax
xor r8d, r8d
nop word [rax + rax]
xor edx, edx
movzx ecx, byte [rax + rbx]
movzx eax, byte [rsp + rdx + 0x20]
inc rdx
xor ecx, eax
mov byte [rsp + rdx + 0x1f], cl
movzx eax, cl
cmp rdx, 0x2f
jb 0x140005412
add rax, r8
inc r8
movzx eax, al
cmp r8, 0x11
jb 0x140005410
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x70]
mov qword [r11], rax
mov rax, qword [rsp + 0x28]
mov qword [r11 + 8], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402ba950
add rsp, 0x78
ret
call fcn.1402bb11c
int3