joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180129de0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 0xb], r9b
je 0x180129e24
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x56]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x180129e10
mov byte [r8 + 0xb], r9b
lea rax, [r8 + 0xa]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x180129e4b
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x180129e6a
mov qword [rbp - 0x28], 0xa
movsd xmm0, qword [r8]
movsd qword [rbp - 0x38], xmm0
movzx eax, word [r8 + 8]
mov word [rbp - 0x30], ax
mov byte [rbp - 0x2e], r9b
cmp byte [rdx + 0xb], 0
je 0x180129e93
mov rcx, r9
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x180129e80
mov byte [rdx + 0xb], 0
lea rax, [rdx + 0xa]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x180129eba
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x180129ed7
mov qword [rbp - 0x48], 0xa
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, word [rdx + 8]
mov word [rbp - 0x50], ax
mov byte [rbp - 0x4e], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.18012fcb0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180129f2b
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180129f25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180129f25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013d090
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180129f69
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180129f64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180129f64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013d090
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x180129f80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xc], dil
je 0x180129fb4
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x56]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x180129fa0
mov byte [r8 + 0xc], dil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x180129fe1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x18012a00d
mov qword [rsp + 0x30], ntohs
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [r8 + 8]
mov word [rsp + 0x28], ax
movzx eax, byte [r8 + 0xa]
mov byte [rsp + 0x2a], al
mov byte [rsp + 0x2b], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18012a01b
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.180135aa0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18012a092
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012a08d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012a08d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18013d090
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x180132090
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x1801320b8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x56]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x1801320a0
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x1801320c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x1801320e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x56]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x1801320d0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x1801320f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x180132113
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x56]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x180132100
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x18013be30
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x40
jae 0x18013bfe8
lea ecx, [r8*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], rcx
mov byte [r8 + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x18013bea8
cmp eax, 0x40
jae 0x18013be92
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x18013be80
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.18013c130
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x18013beb0
lea rsi, [rbx + 0x2c]
jae 0x18013bec2
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x18013beb0
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.18013c130
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18013c000
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov qword [rcx + 0x24], 0x5be0cd19
mov qword [rcx], rax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
ret
Function at 0x18013c774
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 0x18013c7ae
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18013c7b3
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 0x18013c7fc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x18013c7fc
dec r8
sub rdx, 1
jne 0x18013c7e2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140004f00
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
xor r14d, r14d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140005068
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000505d
mov ebp, r14d
cmp dword [rsp + 0xb8], r14d
jbe 0x14000505d
lea r15, [r14 - 1]
mov eax, 0x100
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0x68], r14
mov rsi, r14
nop dword [rax + rax]
mov ecx, eax
mov eax, 2
mul rcx
mov rdi, rax
cmovo rdi, r15
mov rcx, rdi
call fcn.14004d70c
mov rbx, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword ds:[rsp + 0x68], rbx
test rsi, rsi
je 0x140004fed
mov rcx, rsi
call fcn.14004d6c0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0xb0]
mov r8, rbx
mov edx, ebp
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rsi, rbx
cmp eax, 0xea
jne 0x140005030
mov eax, dword [rsp + 0xb0]
jmp 0x140004fb0
test eax, eax
jne 0x140005046
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call fcn.140005080
nop
mov rcx, rbx
call fcn.14004d6c0
inc ebp
cmp ebp, dword [rsp + 0xb8]
jb 0x140004f94
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ab80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x60], rax
test cl, cl
jne 0x14000abe6
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._System_Scanner__Running_checks_to_detect_event_log_bypasses..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400064a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesEventLogSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ad70
lea rax, ds:[rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.File
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ad65
mov ecx, dword [rsp + 0x30]
shr rcx, 1
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.14004d70c
mov rdi, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.File
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop word [rax + rax]
test eax, eax
jne 0x14000ad58
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000acc2
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400066a0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
lea rdx, str._SystemRoot_System32WinevtLogsSystem.evtx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000ad13
lea rdx, str.____Event_log_bypass_detected._Ban_the_user._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ada0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000ad58
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ad53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ad53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004d6c0
mov rcx, rdi
call fcn.14004d6c0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004d6a0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
movzx ecx, dl
jmp 0x14000ab80
Function at 0x14000ee20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000ee4d
xor eax, eax
jmp 0x14000efc2
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ee87
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000ee87
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 0x14000efc2
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000efb5
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000eeca
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 0x14000eef7
mov rdx, qword ds:[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 0x14000efba
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x14000ef6a
nop dword [rax]
sub eax, 1
je 0x14000ef6a
cmp eax, 2
jne 0x14000efb5
movsx ecx, byte [rsp + 0x40]
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 0x14000efba
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000ef9b
lfence
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 0x14000efb5
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000efba
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004d6a0
mov rbx, qword ss:[rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000f420
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000f506
cmp byte [rcx + 0x71], 0
je 0x14000f506
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [0x140054de8]
cmp eax, 0xffffffff
je 0x14000f502
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 0x14000f4c3
sub eax, 1
je 0x14000f4c7
nop dword [rax + rax]
cmp eax, 2
jne 0x14000f502
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004d6a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000f4f8
lfence
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 0x14000f502
cmp byte ds:[rbx + 0x71], 0
sete al
jmp 0x14000f4ab
xor al, al
jmp 0x14000f4ab
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004d6a0
add rsp, 0x60
pop rbx
ret
Function at 0x1400171e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
lea rcx, [r9 + 8]
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rbx, qword [rdx + 8]
cmp rbx, qword [rcx]
je 0x14001729f
mov rax, qword ds:[r10]
mov r8, qword [rdx]
cmp rax, qword [rbx + 0x10]
je 0x1400172a1
cmp rbx, r8
je 0x14001729b
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x140017286
lea rcx, [r9 + 8]
jmp 0x1400172a1
lea rcx, [r9 + 8]
xor ebx, ebx
test rbx, rbx
je 0x140017310
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400172cc
cmp rax, rbx
jne 0x1400172c2
mov rax, qword ds:[rcx]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400172d7
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1400172d7
cmp rax, rbx
jne 0x1400172d7
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x18]
call fcn.1400058e0
mov edx, 0x40
mov rcx, rbx
call fcn.14004d6c0
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140017320
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
lea rcx, [r9 + 8]
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rbx, qword [rdx + 8]
cmp rbx, qword [rcx]
je 0x1400173df
mov rax, qword ds:[r10]
mov r8, qword [rdx]
cmp rax, qword [rbx + 0x10]
je 0x1400173e1
cmp rbx, r8
je 0x1400173db
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x1400173c6
lea rcx, [r9 + 8]
jmp 0x1400173e1
lea rcx, [r9 + 8]
xor ebx, ebx
test rbx, rbx
je 0x140017450
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14001740c
cmp rax, rbx
jne 0x140017402
mov rax, qword ds:[rcx]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140017417
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140017417
cmp rax, rbx
jne 0x140017417
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x18]
call fcn.1400058e0
mov edx, 0x38
mov rcx, rbx
call fcn.14004d6c0
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14001ed00
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x6b0
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rbp, rcx
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, [0x14005d320]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call fcn.14001eaa0
lea r14, [0x14007bbe0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x14001ed54
lea rdx, [0x14005cc90]
mov qword [rsp + 0x6e0], rbx
lea rcx, [rsp + 0x280]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
nop dword [rax]
test rax, rax
je 0x14001ee0b
nop dword [rax]
lea rcx, [rsp + 0x280]
mov rbx, rax
sub rbx, rcx
mov r8d, 0xfa
sar rbx, 1
sub r8, rbx
cmp rdi, r8
ja 0x14001ede5
lea rdx, [rax + 0x14]
add r8, r8
lea rax, [rbx + rdi]
lea rcx, [rsp + 0x280]
lea rcx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
lea rcx, ds:[rsp + 0x280]
mov rdx, r14
lea rcx, [rcx + rbx*2]
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, ds:[rbx + rdi]
lea rcx, [rsp + 0x280]
lea rcx, [rcx + rax*2]
lea rdx, [0x14005cc90]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14001ed90
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001ef46
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
mov r9, rbp
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x490]
call fcn.14001eaa0
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x14001ee60
lea rdx, [0x14005cc90]
lea rcx, ds:[rsp + 0x490]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14001ef0b
nop
lea rcx, [rsp + 0x490]
mov rbx, rax
sub rbx, rcx
mov r8d, 0xfa
sar rbx, 1
sub r8, rbx
cmp rdi, r8
ja 0x14001eee5
lea rdx, [rax + 0x14]
add r8, r8
lea rax, [rbx + rdi]
lea rcx, [rsp + 0x490]
lea rcx, [rcx + rax*2]
call sub.VCRUNTIME140.dll_memmove
lea rcx, ds:[rsp + 0x490]
mov rdx, r14
lea rcx, [rcx + rbx*2]
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, ds:[rbx + rdi]
lea rcx, [rsp + 0x490]
lea rcx, [rcx + rax*2]
lea rdx, [0x14005cc90]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14001ee90
test byte [rsp + 0x30], 1
je 0x14001ef26
lea rdx, [rsp + 0x490]
lea rcx, str.____Macro_file:__s_is_marked_as_read_only._Ban_the_player._n
call fcn.140003d60
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001ee30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x6e0]
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.14004d6a0
mov rbp, qword [rsp + 0x6e8]
add rsp, 0x6b0
pop r14
pop rdi
pop rsi
ret