joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005810
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r9, [rsp + 0x40]
mov edx, 8
mov rbx, rcx
lea r8d, [rdx + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180005843
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mfence
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov edx, 8
mov qword [rbx], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x30]
test eax, eax
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x180007ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r15
sub rsp, 0x20
mov rbx, qword [rcx + 8]
lea rax, vtable.VFTHookTemplate_struct_EntryHook_.0
mov qword [rcx], rax
mov r15d, edx
mov rdi, rcx
test rbx, rbx
je 0x180007cc0
mov rax, qword [rbx + 0x30]
mov r8, rbx
mov r9, qword [rbx]
cmp qword [rax], r9
jne 0x180007bec
nop dword [rax]
mov r8, rax
mov rax, qword [rax + 0x30]
cmp qword [rax], r9
je 0x180007be0
mov rbp, qword [r8 + 8]
mov rcx, rbp
call sub.MSVCP140D.dll__Mtx_lock
test eax, eax
jne 0x180007cf6
cmp dword [rbp + 0x4c], 0x7fffffff
je 0x180007ce4
mov rcx, qword [rbx + 0x40]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rbx + 0x30]
mov qword [rsp + 0x50], r14
mov rax, qword [rcx - 0x50]
cmp qword [rbx], rax
jne 0x180007c34
add rcx, 0xffffffffffffffe0
mov rdx, rsi
call fcn.180005810
mov rax, qword [rsi]
lea r9, [rsp + 0x40]
mov edx, 8
mov r14, qword [rbx + 0x40]
lea r8d, [rdx + 0x38]
cmp qword [rbx], rax
jne 0x180007c69
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180007c94
mfence
mov qword [rsi + 0x40], r14
lea rcx, [rsi + 0x40]
jmp 0x180007c7f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180007c94
mfence
mov qword [rsi], r14
mov rcx, rsi
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov edx, 8
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rbp
call sub.MSVCP140D.dll__Mtx_unlock
mov rcx, rbx
call fcn.1800077b0
mov rcx, qword [rdi + 8]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
test r15b, 1
je 0x180007cd3
mov edx, 0x10
mov rcx, rdi
call fcn.18000d370
mov rbx, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
mov ecx, 6
mov dword [rbp + 0x4c], 0x7ffffffe
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x180007d10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r15
sub rsp, 0x20
mov rbx, qword [rcx + 8]
lea rax, vtable.VFTHookTemplate_struct_ExitHook_.0
mov qword [rcx], rax
mov r15d, edx
mov rdi, rcx
test rbx, rbx
je 0x180007e30
mov rax, qword [rbx + 0x30]
mov r8, rbx
mov r9, qword [rbx]
cmp qword [rax], r9
jne 0x180007d5c
nop dword [rax]
mov r8, rax
mov rax, qword [rax + 0x30]
cmp qword [rax], r9
je 0x180007d50
mov rbp, qword [r8 + 8]
mov rcx, rbp
call sub.MSVCP140D.dll__Mtx_lock
test eax, eax
jne 0x180007e66
cmp dword [rbp + 0x4c], 0x7fffffff
je 0x180007e54
mov rcx, qword [rbx + 0x40]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rbx + 0x30]
mov qword [rsp + 0x50], r14
mov rax, qword [rcx - 0x50]
cmp qword [rbx], rax
jne 0x180007da4
add rcx, 0xffffffffffffffe0
mov rdx, rsi
call fcn.180005810
mov rax, qword [rsi]
lea r9, [rsp + 0x40]
mov edx, 8
mov r14, qword [rbx + 0x40]
lea r8d, [rdx + 0x38]
cmp qword [rbx], rax
jne 0x180007dd9
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180007e04
mfence
mov qword [rsi + 0x40], r14
lea rcx, [rsi + 0x40]
jmp 0x180007def
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180007e04
mfence
mov qword [rsi], r14
mov rcx, rsi
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov edx, 8
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rbp
call sub.MSVCP140D.dll__Mtx_unlock
mov rcx, rbx
call fcn.1800077b0
mov rcx, qword [rdi + 8]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
test r15b, 1
je 0x180007e43
mov edx, 0x10
mov rcx, rdi
call fcn.18000d370
mov rbx, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
mov ecx, 6
mov dword [rbp + 0x4c], 0x7ffffffe
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1800085b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18000877a
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 0x10]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x20]
lea rdx, [rdi + rdi]
call fcn.180008160
mov qword [rsi + 0x48], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x40], rax
mov rcx, qword [rsi + 0x10]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x180008744
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x40]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x28]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800086bc
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x180008733
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x1800086f9
mov r8, qword [rax]
cmp r8, rcx
je 0x1800086f3
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x180008733
cmp r9, rax
je 0x18000870f
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x180008754
cmp r9, rax
jne 0x180008700
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x180008640
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x180008733
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140D.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x18000a6b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov r8, qword [rdx + 0x18]
mov rdi, rdx
add rdx, 8
mov rbx, rcx
cmp qword [rdi + 0x20], 0xf
jbe 0x18000a6d7
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x18000a705
movabs r10, 0x100000001b3
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x18000a6f2
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180003950
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x18000a722
mov rdx, qword [rbx + 0x10]
lea r8, [rbx + 8]
lea rcx, [rsp + 0x48]
call fcn.180005910
mov rdx, qword [rbx + 0x10]
lea r8, [rbx + 8]
lea rcx, [rsp + 0x30]
call fcn.180005910
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x18000a74f
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18000a75e
mov rdx, qword [rcx]
jmp 0x18000a760
xor edx, edx
cmp rax, rdx
je 0x18000a7c7
xor r9d, r9d
lea rax, str.list_iterators_incompatible
mov qword [rsp + 0x28], rax
lea rdx, [0x180010980]
lea rax, [0x18001035c]
mov r8d, 0xc2
mov qword [rsp + 0x20], rax
lea ecx, [r9 + 2]
call qword [sym.imp.ucrtbased.dll__CrtDbgReport]
cmp eax, 1
jne 0x18000a79d
int3
mov r9d, 0xc2
mov qword [rsp + 0x20], 0
lea r8, str.C:Program_Files__x86_Microsoft_Visual_Studio2022BuildToolsVCToolsMSVC14.39.33519includelist
lea rdx, [0x1800104a4]
lea rcx, str._list_iterators_incompatible_
call qword [sym.imp.ucrtbased.dll__invalid_parameter]
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x58], rax
mov edx, 3
setne bl
call qword [sym.imp.MSVCP140D.dll_public:_void___cdecl_std::_Lockit::constructor_int____ptr64]
lea rcx, [rsp + 0x30]
call fcn.180008e60
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140D.dll_public:_void___cdecl_std::_Lockit::destructor_void____ptr64]
test bl, bl
je 0x18000a862
lea rcx, [rsp + 0x48]
call fcn.180007990
mov edx, 3
lea rcx, [rsp + 0x70]
lea rbx, [rax + 0x28]
call qword [sym.imp.MSVCP140D.dll_public:_void___cdecl_std::_Lockit::constructor_int____ptr64]
lea rcx, [rsp + 0x48]
call fcn.180008e60
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140D.dll_public:_void___cdecl_std::_Lockit::destructor_void____ptr64]
mov rcx, rdi
call fcn.1800091a0
mov rcx, qword [rdi]
mov edx, 0x10
mov qword [rdi], 0
call fcn.18000d370
mov rax, rbx
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov edx, 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140D.dll_public:_void___cdecl_std::_Lockit::constructor_int____ptr64]
lea rcx, [rsp + 0x48]
call fcn.180008e60
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140D.dll_public:_void___cdecl_std::_Lockit::destructor_void____ptr64]
mov rcx, rdi
call fcn.1800091a0
mov rcx, qword [rdi]
mov edx, 0x10
mov qword [rdi], 0
call fcn.18000d370
mov rbx, qword [rsp + 0x78]
xor eax, eax
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14000c460
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14006eaf0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14000c4ee
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x14000c492
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x14000c500
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14006eaf0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x14000c604
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x14000c5ff
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x14000c5d4
cmp qword [rsp + 0x38], 2
jb 0x14000c5d4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000c5d4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000c5d4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14000c547
jmp 0x14000c696
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x14000c696
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14000c66c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000c66c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000c66c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14000c604
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x140050940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14008bc88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3bf0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x3bf8]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140001610
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x30], rax
jae 0x140050a8e
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x140050a50
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.14002e640
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x140050a4b
jmp 0x140050a8e
jmp 0x1400509c1
cmp dword [rsp + 0x28], 0xd
jne 0x140050a5c
jmp 0x1400509c1
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.14004aae0
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x1400509c1
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x140050aad
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x140050ae9
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140001610
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x140085a60]
ja 0x140050b0d
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x140085a60]
jp 0x140050b27
jne 0x140050b27
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x88], 0
je 0x140050b42
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14005f9b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14008b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140001950
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140060b20
nop
lea rax, [0x140060b90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1400041a0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14005fa54
lea rcx, [rsp + 0x40]
call fcn.140005b60
nop
jmp 0x14005fa6c
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.140060450
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400677f0
add rsp, 0x58
ret

Function at 0x14005fec0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14008b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140001950
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140060f20
nop
lea rax, [0x140060f90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1400041a0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14005ff64
lea rcx, [rsp + 0x40]
call fcn.140005b60
nop
jmp 0x14005ff7c
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.140060250
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400677f0
add rsp, 0x58
ret
Function at 0x1400649a0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov dword [rax + 0x40], 0
mov rax, qword [rsp + 8]
mov qword [rax + 0x48], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
mov rax, qword [rsp + 8]
ret
Function at 0x140065140
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jae 0x14006516c
mov dword [rsp + 0x24], 0x38
jmp 0x140065174
mov dword [rsp + 0x24], 0x40
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov byte [rax], 0x80
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x20]
cmp qword [rsp + 0x28], rax
jae 0x1400651cb
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x14006519d
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x40], 0x38
jb 0x1400651f3
mov rcx, qword [rsp + 0x40]
call fcn.140064ce0
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x40]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x48], rax
mov eax, 1
imul rax, rax, 0x3f
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
movzx edx, byte [rdx + 0x48]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 8
mov ecx, 1
imul rcx, rcx, 0x3e
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x10
mov ecx, 1
imul rcx, rcx, 0x3d
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x18
mov ecx, 1
imul rcx, rcx, 0x3c
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x20
mov ecx, 1
imul rcx, rcx, 0x3b
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x28
mov ecx, 1
imul rcx, rcx, 0x3a
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x30
mov ecx, 1
imul rcx, rcx, 0x39
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
shr rax, 0x38
mov ecx, 1
imul rcx, rcx, 0x38
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
mov rcx, qword [rsp + 0x40]
call fcn.140064ce0
nop
add rsp, 0x30
pop rdi
ret

Function at 0x1400686ec
Capabilities:
Parse pe header

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