joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006f50
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x4f8
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x100010
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140007097
cmp qword [rsp + 0x68], 0
jne 0x140006fca
cmp qword [rsp + 0x70], 0
jne 0x140006fca
cmp qword [rsp + 0x78], 0
jne 0x140006fca
cmp qword [rsp + 0x80], 0
jne 0x140006fca
cmp qword [rsp + 0x88], 0
jne 0x140006fca
cmp qword [rsp + 0x90], 0
je 0x140007097
mov rax, qword gs:[0x60]
mov qword [rsp + 0x500], rbx
mov qword [rsp + 0x4f0], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140007067
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140007067
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7676b483
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140007062
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140007040
cmp r8d, 0x2cdc10b3
je 0x14000706c
test r9d, r9d
jne 0x140007020
mov rax, qword [rax]
jmp 0x140006ff0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rdi, qword [rsp + 0x4f0]
mov rbx, qword [rsp + 0x500]
add rsp, 0x4f8
ret

Function at 0x1400070a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400070dd
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Bro_Tried_To_Filegrab___Crack
call fcn.140005e30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Dont_try_to_crack_my_loader__cunt.
call fcn.140005e30
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x1400070f0
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x28
lea rcx, [0x14000b958]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140007150
lea rdx, str.NtSetInformationThread
mov qword [rsp + 0x20], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000714b
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x11
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp rax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140007160
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400072cd
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], r12
xor r12d, r12d
mov qword [rsp + 0x28], r14
mov ebp, r12d
movsxd r14, dword [rax + 0x3c]
add r14, rax
movzx eax, word [r14 + 0x14]
lea rsi, [r14 + 0x18]
add rsi, rax
cmp r12w, word [r14 + 6]
jae 0x1400072b9
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x20], r15
lea r15, str..SCY
nop dword [rax]
nop word [rax + rax]
mov rcx, r12
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [r15 + rcx - 1]
jne 0x140007297
cmp rcx, 5
jne 0x1400071d3
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140007277
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140007277
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xf7bc886b
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140007272
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140007250
cmp r8d, 0x2a49983b
je 0x14000727c
test r9d, r9d
jne 0x140007230
mov rax, qword [rax]
jmp 0x140007200
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
movzx eax, word [r14 + 6]
inc ebp
add rsi, 0x28
cmp ebp, eax
jl 0x1400071d0
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x1400073a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140007469
cmp byte [rcx + 0x71], 0
je 0x140007469
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000745c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
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 0x140007418
sub eax, 1
je 0x14000741c
cmp eax, 2
jne 0x14000745c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14000744a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000745c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x140007800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x140007824
xor eax, eax
mov rsi, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov qword [rsp + 0x80], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x140007864
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x140007864
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x140007991
cmp qword [rdi + 0x80], 0
je 0x14000798c
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x14000789e
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x1400078c9
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove esi, ecx
mov eax, esi
jmp 0x140007991
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
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 0x14000793e
sub eax, 1
je 0x14000793e
cmp eax, 2
jne 0x14000798c
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove esi, ecx
mov eax, esi
jmp 0x140007991
mov rbx, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rbx, rax
je 0x14000796f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14000798c
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x140007991
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140008360
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x140008391
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400083a8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x1400083f9
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x140008471
mov rcx, rbp
call fcn.1400074a0
cmp rbx, 0xfff
jbe 0x140008451
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140008492
cmp rbx, rax
ja 0x140008420
test rdi, rdi
je 0x140008471
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x140008474
Function at 0x1400084a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1400084c1
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x14000853c
test rax, rax
jle 0x14000851c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x14000853c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000853c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x14000a0d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000a11a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a11a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000a11a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a11a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000a11a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000a11c
xor al, al
add rsp, 0x28
ret
Function at 0x14003a778
Capabilities:
Enumerate pe sections
Get common file path
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x938]
sub rsp, 0xa38
movsxd rdi, dword [rcx + 0x3c]
xor r13d, r13d
add rdi, rcx
mov r12, rcx
lea rsi, [rdi + 0x108]
je 0x14003adfb
test rsi, rsi
je 0x14003adfb
mov ebx, 0x2d75
lea r15d, [r13 + 1]
mov r14d, 0xea60
mov rcx, r14
call fcn.1400742cc
mov rdx, rax
mov eax, r13d
mov rcx, rdx
cmp eax, 0xe
je 0x14003a7f0
mov dword [rcx], 0x1eec
add eax, r15d
add rcx, 4
cmp eax, 0x2dab
jb 0x14003a7d7
mov rcx, rdx
call fcn.1400742d4
sub rbx, r15
jne 0x14003a7c6
lea rdx, [rbp + 0x730]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ecx, ecx
call fcn.140042e94
mov rcx, rax
call fcn.140086a9c
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x104
call fcn.140075ed0
mov ebx, 0xc
lea rsi, [0x140000000]
call fcn.140086a70
movsxd rcx, eax
movabs rax, 0xcccccccccccccccd
mul rcx
mov byte [rbp + 0x981], r13b
shr rdx, 3
lea rax, [rdx + rdx*4]
add rax, rax
lea rdx, [rbp + 0x980]
sub rcx, rax
movsxd rax, ecx
lea rcx, [rbp + 0x140]
mov al, byte [rax + rsi + 0x33e240]
mov byte [rbp + 0x980], al
call fcn.140086300
sub rbx, r15
jne 0x14003a83e
mov ebx, 0x2df4
mov rcx, r14
call fcn.1400742cc
mov rdx, rax
mov eax, r13d
mov rcx, rdx
cmp eax, 0x4d
je 0x14003a8bf
mov dword [rcx], 0xd3d
add eax, r15d
add rcx, 4
cmp eax, 0x2dbc
jb 0x14003a8a6
mov rcx, rdx
call fcn.1400742d4
sub rbx, r15
jne 0x14003a895
lea rdx, [rbp + 0x730]
lea rcx, [rbp + 0x250]
call fcn.140085564
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x250]
call fcn.140085538
lea r8, [0x140316980]
mov word [rbp + 0x456], r13w
lea rdx, [rbp + 0x250]
mov qword [rsp + 0x70], r13
lea rcx, [rsp + 0x70]
call fcn.14008a6d4
lea rcx, [rbp + 0x980]
call fcn.14003fae0
mov rcx, rax
call fcn.14003f830
mov eax, eax
lea rdx, [0x14033d040]
mov ebx, 0x1200
lea rcx, [0x140378560]
mov r8d, ebx
lea r9, [0x140000000]
call qword [r9 + rax*8 + 0x3762a0]
mov r9, qword [rsp + 0x70]
lea rcx, [0x14033d040]
mov r8d, ebx
mov rdx, r15
call fcn.14008af30
mov rcx, qword [rsp + 0x70]
call fcn.14008a988
lea rcx, [rbp + 0x980]
call fcn.1400402e8
mov rcx, rax
call fcn.14003f820
mov eax, eax
lea rdx, [rdi + 0x108]
mov rcx, rdi
lea r8, [0x140000000]
call qword [r8 + rax*8 + 0x3762f0]
mov ebx, 0x68
lea rcx, [rbp + 0xd0]
mov r8d, ebx
mov byte [rbp + 0x980], al
xor edx, edx
mov sil, al
call fcn.140075ed0
xor edx, edx
mov dword [rbp + 0xd0], ebx
lea r8d, [rbx - 0x50]
lea rcx, [rsp + 0x58]
call fcn.140075ed0
mov ebx, 0x2c9d
mov rcx, r14
call fcn.1400742cc
mov rdx, rax
mov eax, r13d
mov rcx, rdx
cmp eax, 0x2a
je 0x14003aa06
mov dword [rcx], 0xd75
add eax, r15d
add rcx, 4
cmp eax, 0x2f6a
jb 0x14003a9ed
mov rcx, rdx
call fcn.1400742d4
sub rbx, r15
jne 0x14003a9dc
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x988]
call fcn.14004000c
lea rcx, [rbp + 8]
call fcn.140041c4c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
test rax, rax
je 0x14003adfb
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x988]
call fcn.14003fd90
lea rcx, [rbp + 0x988]
call fcn.14003ff44
add byte [rax], al
Function at 0x1400416b8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r9, rdx
xor r10d, r10d
sub r9, rcx
mov r8, rcx
mov eax, 0x4ec4ec4f
mul r10d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r10w
inc r10d
sub ax, cx
add ax, 0x30
xor ax, word [r9 + r8]
mov word [r8], ax
lea r8, [r8 + 2]
cmp r10d, 7
jl 0x1400416c4
ret

Function at 0x1400416f8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r9, rdx
xor r10d, r10d
sub r9, rcx
mov r8, rcx
mov eax, 0x4ec4ec4f
mul r10d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r10w
inc r10d
sub ax, cx
add ax, 0x30
xor ax, word [r9 + r8]
mov word [r8], ax
lea r8, [r8 + 2]
cmp r10d, 0x11
jl 0x140041704
ret

Function at 0x140041738
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r9, rdx
xor r10d, r10d
sub r9, rcx
mov r8, rcx
mov eax, 0x4ec4ec4f
mul r10d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r10w
inc r10d
sub ax, cx
add ax, 0x30
xor ax, word [r9 + r8]
mov word [r8], ax
lea r8, [r8 + 2]
cmp r10d, 0x12
jl 0x140041744
ret

Function at 0x140041778
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r9, rdx
xor r10d, r10d
sub r9, rcx
mov r8, rcx
mov eax, 0x4ec4ec4f
mul r10d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r10w
inc r10d
sub ax, cx
add ax, 0x30
xor ax, word [r9 + r8]
mov word [r8], ax
lea r8, [r8 + 2]
cmp r10d, 0x13
jl 0x140041784
ret

Function at 0x1400417b8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r9, rdx
xor r10d, r10d
sub r9, rcx
mov r8, rcx
mov eax, 0x4ec4ec4f
mul r10d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r10w
inc r10d
sub ax, cx
add ax, 0x30
xor ax, word [r9 + r8]
mov word [r8], ax
lea r8, [r8 + 2]
cmp r10d, 0x16
jl 0x1400417c4
ret

Function at 0x1400417f8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r9, rdx
xor r10d, r10d
sub r9, rcx
mov r8, rcx
mov eax, 0x4ec4ec4f
mul r10d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r10w
inc r10d
sub ax, cx
add ax, 0x30
xor ax, word [r9 + r8]
mov word [r8], ax
lea r8, [r8 + 2]
cmp r10d, 0xd
jl 0x140041804
ret

Function at 0x140041838
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r9, rdx
xor r10d, r10d
sub r9, rcx
mov r8, rcx
mov eax, 0x4ec4ec4f
mul r10d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r10w
inc r10d
sub ax, cx
add ax, 0x30
xor ax, word [r9 + r8]
mov word [r8], ax
lea r8, [r8 + 2]
cmp r10d, 0xf
jl 0x140041844
ret
Function at 0x1400421e4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400864f0
mov rax, rcx
neg rcx
test rax, 7
je 0x14008650d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140086568
test al, 7
jne 0x140086500
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140086521
mov rdx, qword [rax - 8]
test dl, dl
je 0x140086592
test dh, dh
je 0x14008658c
shr rdx, 0x10
test dl, dl
je 0x140086586
test dh, dh
je 0x140086580
shr rdx, 0x10
test dl, dl
je 0x14008657a
test dh, dh
je 0x140086574
shr edx, 0x10
test dl, dl
je 0x14008656e
test dh, dh
jne 0x140086521
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14004d9aa
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14004d98d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14004d978

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14004d9e2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14004d9c5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14004d9b0

Function at 0x140086a58
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14008684f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008684f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008684f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008684f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008684f
cmp dword [rcx + 0x84], 0xe
jbe 0x14008684f
cmp dword [rcx + 0xf8], 0
je 0x14008684f
mov ecx, ebx
call fcn.140086960
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400865b4
nop
cmp dword [rbp + 0x20], 0
je 0x14008689d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400868a8
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400867e0
Function at 0x1400c6e24
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400c6e3a
mov al, 1
jmp 0x1400c6e9a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400c6e4b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400c6e98
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400d3860
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400c6e98
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400c6e98
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400c6e98
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400c6e9a
xor al, al
add rsp, 0x20
pop rbx
ret