joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e000
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.1400160f0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x14000e0f7
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x14000e133
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [0x140024d98]
call fcn.140007c70
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x14000e0ed
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140015d5c
cmp qword [rsp + 0x50], 0
jne 0x14000e15a
mov qword [rsp + 0x60], 0
jmp 0x14000e16d
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140015d00
add rsp, 0xa8
ret
Function at 0x14000f4a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140024e88], eax
jle 0x14000f517
lea rcx, [0x140024e88]
call fcn.140015e38
cmp dword [0x140024e88], 0xffffffff
jne 0x14000f517
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [0x140024e68]
call fcn.140006150
lea rcx, [0x1400180c0]
call fcn.1400160d8
nop
lea rcx, [0x140024e88]
call fcn.140015dcc
lea rcx, [0x140024e68]
call fcn.140005f90
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x60]
call fcn.140005f90
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x14000f582
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14000f582
mov dword [rsp + 0x20], 1
jmp 0x14000f58a
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140015d00
add rsp, 0x58
ret
Function at 0x14000f5b0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rsp + 0x68]
call fcn.140006150
nop
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.140011f70
lea rcx, [rsp + 0x68]
call fcn.140005f90
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000f63a
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x68]
call fcn.140006120
movzx eax, byte [rsp + 0x34]
jmp 0x14000f7f0
mov byte [rsp + 0x60], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000f690
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x68]
call fcn.140006120
movzx eax, byte [rsp + 0x35]
jmp 0x14000f7f0
mov byte [rsp + 0x61], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x61]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000f6e6
mov byte [rsp + 0x36], 0
lea rcx, [rsp + 0x68]
call fcn.140006120
movzx eax, byte [rsp + 0x36]
jmp 0x14000f7f0
mov byte [rsp + 0x62], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x62]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000f73c
mov byte [rsp + 0x37], 0
lea rcx, [rsp + 0x68]
call fcn.140006120
movzx eax, byte [rsp + 0x37]
jmp 0x14000f7f0
mov rcx, qword [rsp + 0xa0]
call fcn.140011be0
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xa0]
call fcn.140005f90
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000f7b7
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x68]
call fcn.140006120
movzx eax, byte [rsp + 0x38]
jmp 0x14000f7f0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14000f7d0
mov dword [rsp + 0x3c], 1
jmp 0x14000f7d8
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x39], al
lea rcx, [rsp + 0x68]
call fcn.140006120
movzx eax, byte [rsp + 0x39]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140015d00
add rsp, 0x98
ret
Function at 0x140010e60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140010e99
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x140010f87
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
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 qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x140010f2f
cmp qword [rsp + 0x20], 0
jle 0x140010f2f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140010ed9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
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, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140006ef0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140010f77
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140010f77
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140010f90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140010fc4
xor eax, eax
jmp 0x1400111c0
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140010ff6
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call 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]
jmp 0x1400111c0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400110a7
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140003310
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
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, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140006ef0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1400111b0
mov rcx, qword [rsp + 0x80]
call fcn.140012460
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14001115d
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140011158
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400111c0
jmp 0x1400110d3
cmp qword [rsp + 0x50], 0
jbe 0x1400111b0
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140015d00
add rsp, 0x78
ret
Function at 0x140012520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14001255d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140012564
mov al, 1
jmp 0x1400126bc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.1400132c0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.1400132c0
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140013320
movzx eax, al
test eax, eax
je 0x1400125b9
xor al, al
jmp 0x1400126bc
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140012629
cmp dword [rsp + 0x30], 1
je 0x140012635
cmp dword [rsp + 0x30], 3
je 0x1400126aa
jmp 0x1400126ba
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140012681
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140012681
xor al, al
jmp 0x1400126bc
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001269b
mov dword [rsp + 0x34], 1
jmp 0x1400126a3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400126bc
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400126bc
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140015d00
add rsp, 0xa8
ret

Function at 0x14001686c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400168b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400168b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400168b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400168b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400168b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400168b8
xor al, al
add rsp, 0x28
ret
Function at 0x140016ab0
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 0x140016aea
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140016aef
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 0x140016b38
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140019730]
cmp byte [rcx + rax], 0
je 0x140016b38
dec r8
sub rdx, 1
jne 0x140016b1e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140016ea8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140016bc8
mov ebx, eax
test eax, eax
jne 0x140016ed8
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140016f3b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140016f32
test al, 0x10
je 0x140016f32
bt eax, 0xa
jae 0x140016f2b
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140016f4c
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140016f27
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140016f27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140016f32
and dword [rsp + 0x3c], 0
jmp 0x140016f37
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180017150
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rdx + 0x250]
mov ecx, 2
mov rbx, qword [rax + 0x10]
mov rdi, qword [rax + 8]
call fcn.18004ef30
mov r9, rax
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.18004f220
mov ecx, 2
call fcn.18004ef30
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1800521fc
sub rsp, 0x38
mov qword [rsp + 0x48], rcx
test rcx, rcx
jne 0x180052211
call fcn.1800520cc
jmp 0x18005225d
mov edx, dword [rcx + 0x14]
mov eax, edx
and al, 3
cmp al, 2
jne 0x180052221
test dl, 0xc0
jne 0x18005222b
bt edx, 0xb
jb 0x18005222b
xor eax, eax
jmp 0x18005225d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x50]
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.18005208c
add rsp, 0x38
ret
Function at 0x18001b540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.18001e5e0
mov rcx, rax
mov rbp, rax
call fcn.1800261bc
test eax, eax
jne 0x18001b65a
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
jb 0x18001b57c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
test r8, r8
je 0x18001b5b3
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor rbx, rax
imul rbx, r9
cmp rcx, r8
jb 0x18001b5a0
mov r9, rbx
lea rdx, [rsp + 0x20]
mov r8, rdi
lea rcx, [rbp + 0x50]
call fcn.180017b00
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x18001b63e
mov rdx, qword [rbp + 0x80]
and rdx, rbx
shl rdx, 4
add rdx, qword [rbp + 0x68]
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x18001b607
cmp rax, rdi
jne 0x18001b5fd
mov rax, qword [rbp + 0x58]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x18001b612
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x18001b612
cmp rax, rdi
jne 0x18001b612
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
lea rcx, [rdi + 0x10]
dec qword [rbp + 0x60]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
call fcn.1800192e0
mov edx, 0x40
mov rcx, rdi
call fcn.1800274a8
mov rcx, rbp
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.1800261e0
mov ecx, eax
call fcn.180026704
int3
Function at 0x18001ed40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x1804ce8c8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
lea rax, vtable.fmt::BasicMemoryWriter_char__class_std::allocator_char__.0
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [0x1800752e0]
movdqa xmmword [rsp + 0x80], xmm0
lea rdi, vtable.fmt::internal::MemoryBuffer_char__500__class_std::allocator_char__.0
mov qword [rsp + 0x70], rdi
movups xmm0, xmmword [r8]
movups xmmword [rsp + 0x20], xmm0
xor ecx, ecx
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x20]
call fcn.1800116d0
nop
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x18001ee36
mov rcx, qword [rsp + 0x50]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x18001ee2e
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eebd
mov rcx, r8
call fcn.1800274a8
mov r8, qword [rsp + 0x68]
mov rcx, qword [r8 + 8]
mov r9, rbx
mov r8, qword [r8 + 0x10]
mov edx, 1
call fcn.18004f220
nop
mov qword [rsp + 0x70], rdi
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x18001ee96
mov rdx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ee91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eeb7
call fcn.1800274a8
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.180027940
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rdi
ret
call fcn.18004a6bc
nop
call fcn.18004a6bc
nop
int3

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1804ce8c8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 0x10
jb 0x180020364
mov rdx, qword [rdx]
movabs r9, 0xcbf29ce484222325
mov r8, qword [rdi + 0x10]
xor ecx, ecx
test r8, r8
je 0x1800203a3
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180020390
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x50]
call fcn.180017b00
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1800203c1
mov rcx, qword [rbx + 0x58]
cmp rcx, qword [rbx + 0x58]
jne 0x1800203ec
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180027940
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov r8, rdi
lea rdx, str.logger_with_name_
lea rcx, [rsp + 0x78]
call fcn.180003170
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180002fe0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180018fa0
lea rdx, [0x180092998]
lea rcx, [rsp + 0x40]
call fcn.180044dd0
int3
Function at 0x1800204d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1804ce8c8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rcx
mov rax, qword [rdx + 0x250]
mov rbx, qword [rax + 0x10]
mov r9, qword [rcx + 8]
mov r8, rbx
mov edx, 1
mov rcx, qword [rax + 8]
call fcn.18004f220
cmp rax, rbx
jne 0x180020538
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180027940
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.18001b7a0
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x78]
call fcn.180003040
mov rbx, rax
call fcn.18004a7ec
mov r8d, dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180018d90
lea rdx, [0x180092998]
lea rcx, [rsp + 0x20]
call fcn.180044dd0
int3