joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d3800
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2c0
mov rax, qword [0x1401ee040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea r8, [0x1401e59e0]
lea rcx, [rsp + 0x28]
call fcn.1401d8b50
cmp qword [rax + 0x18], 7
jbe 0x1401d3852
mov rax, qword [rax]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1401d38a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d38a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d38a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e2410
movdqa xmm0, xmmword [0x1401e6e30]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r14w
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x50], r14
cmp rbp, 0xffffffffffffffff
je 0x1401d3990
nop dword [rax]
lea rdx, [rsp + 0x74]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x1401d3971
mov rax, qword [rsp + 0x74]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x8c]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1401d3920
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x1401d3961
mov rsi, rdi
cmp rax, 7
jbe 0x1401d393f
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x8c]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi], r14w
jmp 0x1401d3971
lea r9, [rsp + 0x8c]
mov rcx, rdi
call fcn.1401d9b40
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401d38f0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1401e23f0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1401d4de0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1401ee040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401d4e1f
xor al, al
jmp 0x1401d4f7b
mov qword [rsp + 0x2a0], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov qword [rsp + 0x2a8], rbp
mov dword [rsp + 0x40], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1401d4f60
xor ebp, ebp
nop
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbp
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bp
jne 0x1401d4e70
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1401d4a40
cmp qword [rdi + 0x18], 7
mov rax, rdi
jbe 0x1401d4e96
mov rax, qword [rdi]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 7
mov rdx, qword [rsp + 0x30]
cmova r8, r9
cmp rdx, qword [rdi + 0x10]
jne 0x1401d4ed8
test rdx, rdx
je 0x1401d4ed4
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x1401d4ed8
add rax, 2
sub rdx, 1
jne 0x1401d4ec0
mov bl, 1
jmp 0x1401d4eda
xor bl, bl
cmp r10, 7
jbe 0x1401d4f15
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1401d4f0d
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d4f9c
mov rcx, r9
call fcn.1401e2410
test bl, bl
je 0x1401d4f4a
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1401d4f4a
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1401d4e50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x2a0]
mov al, 1
mov rbp, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401e23f0
mov rsi, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1401d5070
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1401ee040]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1401d50d7
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_process_token.
call fcn.1401d8930
lea rdx, [0x1401d8b10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e23f0
add rsp, 0x58
ret
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
xor eax, eax
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1401d5162
lea rdx, str.Failed_to_adjust_token_privileges.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1401d8930
lea rdx, [0x1401d8b10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e23f0
add rsp, 0x58
ret
xor edx, edx
mov ecx, 5
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1401d517c
lea rdx, str.Failed_to_shut_down_the_system.
jmp 0x1401d5127
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e23f0
add rsp, 0x58
ret
Function at 0x1401d7610
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1401ee040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x1401d7641
xor eax, eax
jmp 0x1401d778b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x1401d767e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x1401d767e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x1401d778b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x1401d7780
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1401d76c5
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1401d76d3
movzx ecx, di
jmp 0x1401d7727
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
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_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1401d7740
sub eax, 1
je 0x1401d7740
cmp eax, 2
jne 0x1401d7780
movzx ecx, word [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x1401d7783
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x1401d776e
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x1401d7780
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401e23f0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

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

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1401d7b14
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1401d7b00
ret
Function at 0x1401d81d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401ee040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1401d82a5
cmp byte [rcx + 0x72], 0
je 0x1401d82a5
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x1401d82a1
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_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1401d8266
sub eax, 1
je 0x1401d826a
cmp eax, 2
jne 0x1401d82a1
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e23f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1401d8298
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 0x1401d82a1
cmp byte [rbx + 0x72], 0
sete al
jmp 0x1401d824e
xor al, al
jmp 0x1401d824e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e23f0
add rsp, 0x60
pop rbx
ret
Function at 0x1401df7f0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x1401df8d3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1401df8d3
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 0x1401df8f1
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1401df8c3
cmp word [rcx], 0x5c
jne 0x1401df8bc
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x1401df8bc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1401df8a7
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x1401df8b9
test r8b, 0x10
jne 0x1401df8bc
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x1401df8bc
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1401dafd0
test edi, edi
jne 0x1401df820
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1401dafc0
int3

Function at 0x1401e308c
Capabilities:
Parse pe header

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

Function at 0x140001000
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
nop dword [rax]
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000106d
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001020
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001020

Function at 0x140001958
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000482a
mov qword [r8], 0
lea rdx, [0x140103654]
call fcn.1400046e0
mov rbx, rax
test rax, rax
jne 0x14000484a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400bd548
mov esi, eax
cmp eax, 0xffffffff
je 0x140004918
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400be1a0
test eax, eax
jne 0x140004918
mov rcx, rbx
call fcn.1400bd548
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004918
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400be1a0
test eax, eax
jne 0x140004918
cmp rdi, 0xffffffffffffffff
je 0x140004918
mov rax, qword [0x14017fb30]
test rax, rax
je 0x1400048ba
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.1400c8a10
mov rsi, rax
test rax, rax
je 0x140004918
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400c33ac
mov rcx, rbx
cmp rax, rdi
je 0x140004906
call fcn.1400bde98
mov rax, qword [0x14017fb30]
test rax, rax
je 0x1400048fc
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1400c3138
jmp 0x140004920
call fcn.1400bde98
test r14, r14
je 0x140004913
mov qword [r14], rdi
mov rax, rsi
jmp 0x140004922
mov rcx, rbx
call fcn.1400bde98
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14002e120
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14002e1a7
mov rbx, r15
mov rbp, r15
jmp 0x14002e1ea
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14002e1c1
cmp rbx, rcx
je 0x14002e1e4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14002e1b3
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
je 0x14002e349
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.1400b6248
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rax, qword [r13]
mov qword [rdi + 0x10], rax
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14002e23a
cvtsi2ss xmm0, rcx
jmp 0x14002e24f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14002e262
cvtsi2ss xmm1, rcx
jmp 0x14002e277
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14002e2e1
mov rcx, rsi
call fcn.14002e380
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x14002e2b4
mov qword [rsp + 0x28], 0
jmp 0x14002e2d4
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14002e2d1
mov rbx, rax
cmp rax, rdx
je 0x14002e315
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14002e2c0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14002e325
mov qword [rcx + rax*8], rdi
jmp 0x14002e337
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x14002e2d9
cmp r8, rbp
jne 0x14002e330
mov qword [rcx + rax*8], rdi
jmp 0x14002e33c
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14002e33c
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14002e1c9
lea rcx, [0x14011a2e0]
call fcn.1400b43cc
int3
Function at 0x140043ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
movzx r15d, byte [rcx + 0x15]
xor r12d, r12d
test r15b, r15b
sete r12b
lea rbx, [rsi + 0x58]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [0x1400eb310]
nop
mov rax, qword [rsi + 0x20]
mov rdi, qword [rax]
cmp rdi, rax
je 0x140043ff4
movabs rbx, 0xcbf29ce484222325
movabs r13, 0x100000001b3
nop dword [rax]
mov rbp, qword [rdi]
mov rax, qword [rdi + 0x38]
cmp byte [rax + 0x58], 0
jne 0x140043fe3
mov r9, qword [rdi + 0x20]
lea r8, [rdi + 0x10]
cmp qword [rdi + 0x28], 7
jbe 0x140043f54
mov r8, qword [rdi + 0x10]
mov rdx, rbx
xor ecx, ecx
add r9, r9
je 0x140043f74
nop
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r13
inc rcx
cmp rcx, r9
jb 0x140043f60
movsxd rcx, dword [rdi + 0x30]
xor rcx, rdx
and rcx, qword [rsi + 0x48]
shl rcx, 4
mov rdx, qword [rsi + 0x30]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x140043faf
cmp rax, rdi
jne 0x140043fa5
mov rax, qword [rsi + 0x20]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140043fb7
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x140043fb7
cmp rax, rdi
jne 0x140043fb7
mov qword [rdx], rbp
mov rcx, qword [rdi]
dec qword [rsi + 0x28]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.140034a60
mov edx, 0x48
mov rcx, rdi
call fcn.1400b61d0
mov rdi, rbp
cmp rbp, qword [rsi + 0x20]
jne 0x140043f30
lea rbx, [rsi + 0x58]
mov r8d, r12d
xor edx, edx
mov rcx, rsi
call fcn.140046890
test r15b, r15b
je 0x140044015
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rsi
call fcn.140046890
nop
mov rcx, rbx
call qword [0x1400eb318]
lea rax, [rsi + 0x18]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140046100
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140132100]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.1400e6460
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x1400461ee
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x1400461ee
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x1400461ee
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x1400461ee
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x1400461ee
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x1400461f0
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400b5fc0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret