joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400050b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400050d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400050e1
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005104
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005106
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005142
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400051de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000517d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400051be
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400051de
cmp rbx, rax
ja 0x140005190
test rbx, rbx
je 0x1400051de
mov r9, qword [rsi + 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 rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
mov dword [str.._AV__elapsed_formatter_Unull_scoped_padder_details_spdlog__V__duration__JU__ratio__00_0DOI__std___chrono_std___details_spdlog__], eax
Function at 0x140005640
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000566d
xor eax, eax
jmp 0x1400057d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400056a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400056a7
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 0x1400057d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400057cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400056ea
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 0x140005715
mov rdx, qword [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 0x1400057d1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
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_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 0x140005784
sub eax, 1
je 0x140005784
cmp eax, 2
jne 0x1400057cc
movsx ecx, byte [rsp + 0x50]
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 0x1400057d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400057b2
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 0x1400057cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400057d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000f5e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005ad0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005ba3
cmp byte [rcx + 0x71], 0
je 0x140005ba3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005b9f
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 0x140005b64
sub eax, 1
je 0x140005b68
cmp eax, 2
jne 0x140005b9f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f5e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005b96
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 0x140005b9f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005b4c
xor al, al
jmp 0x140005b4c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f5e0
add rsp, 0x60
pop rbx
ret

Function at 0x140008c60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a1460]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
mov edx, dword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140008c92
add rsp, 0x40
pop rdi
ret
mov rdx, qword [0x1400a1460]
mov r9d, 0x28
mov rcx, qword [0x1400170c8]
mov r8, rdi
mov dword [rax + 0x10], 0x1000
xor eax, eax
mov qword [rsp + 0x38], rax
mov edx, dword [rdx + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rbx, qword [rdi + 0x20]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400097f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
xor edx, edx
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400098ac
mov qword [rsp + 0x288], rbx
nop dword [rax]
nop dword [rax + rax]
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140009892
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140009892
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140009850
mov rbx, qword [rsp + 0x288]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000f5e0
mov rsi, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x14000c450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, r8d
mov rbx, rdx
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c535
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbp
mov r9d, 0x400
mov ebx, eax
mov dword [rsp + 0x28], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], rbp
mov r8d, ebx
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.CreateFileA_failed_with_error_code
call fcn.140001430
mov edx, ebx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140012278]
call fcn.140001430
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.140001430
lea rdx, [0x140001610]
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 + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x14000c599
xor r9d, r9d
mov qword [rsp + 0x20], rbp
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne sil
test eax, eax
jne 0x14000c58c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.WriteFile_failed_with_error_code
mov ebx, eax
call fcn.140001430
mov edx, ebx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001610]
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, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000f5e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c5c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x58
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rsi, r8
mov qword [rsp + 0x30], rbp
mov r14, rdx
mov dword [rsp + 0x28], ebp
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000c613
xor al, al
jmp 0x14000c68d
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x50], rdi
mov rcx, rbx
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14000c67d
mov edx, dword [rsp + 0x40]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x14000c67d
mov r8d, dword [rsp + 0x40]
xor r9d, r9d
mov rdx, rax
mov qword [rsp + 0x20], rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000c6a4
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000f5e0
add rsp, 0x58
pop r14
pop rsi
pop rbp
pop rbx
ret
mov qword [r14], rdi
test rsi, rsi
je 0x14000c6b2
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000c688

Function at 0x14000c780
Capabilities:
Delete service
Stop service

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rcx, 0x157d151e14173006
movabs rax, 0x20f810f71fa0fb2d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x28], rcx
movabs rax, 0x139779906cd5886c
mov qword [rsp + 0x20], rax
mov r8d, 2
movaps xmm0, xmmword [rsp + 0x20]
xor eax, eax
mov qword [rsp + 0x48], rcx
xor ecx, ecx
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
jne 0x14000c815
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000f5e0
add rsp, 0x60
pop rsi
ret
mov r8d, 0xf01ff
mov qword [rsp + 0x78], rdi
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x14000c843
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14000c883
lea r8, [rsp + 0x20]
mov qword [rsp + 0x70], rbx
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
mov rcx, rdi
setne bl
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000f5e0
add rsp, 0x60
pop rsi
ret
Function at 0x14000d500
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
movabs rax, 0x682044c8ac0d367b
lea r8, [rbp]
mov qword [rbp + 0xa0], rax
lea rdx, [rbp + 8]
movabs rax, 0xdbd6865d89316e50
lea rcx, [rbp + 0x60]
mov qword [rbp + 0xa8], rax
movabs rax, 0x74b64b9ecbaf2845
mov qword [rbp + 0xb0], rax
movabs rax, 0xae55b17bbf5b16b2
mov qword [rbp + 0xb8], rax
movabs rax, 0x8609323cb7d7ff0f
mov qword [rbp + 0xc0], rax
movabs rax, 0xe0afbb410f6a2b64
mov qword [rbp + 0xc8], rax
movabs rax, 0x8aa48c225eb19d49
mov qword [rbp + 0xd0], rax
movabs rax, 0x4c96833f35d8ff26
mov qword [rbp + 0xd8], rax
movabs rax, 0x1a472bbafc510c38
mov qword [rbp + 0x10], rax
movabs rax, 0xa8b3ea34cf110331
mov qword [rbp + 0x18], rax
movabs rax, 0x35ea62a8f3d70065
movups xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x20], rax
movabs rax, 0xdd20c23ae30843e1
movaps xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x28], rax
movabs rax, 0xf07b576fc3a59a4c
movups xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp + 0x70], xmm1
mov qword [rbp + 0x30], rax
movabs rax, 0x93dac800530f480d
mov qword [rbp + 0x38], rax
movabs rax, 0xfcd6e9712ac3f80a
movups xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x80], xmm0
vmovdqu ymm0, ymmword [rbp + 0xa0]
mov qword [rbp + 0x40], rax
movabs rax, 0x4cf3fb5a1bbd9c4f
mov qword [rbp + 0x48], rax
vmovups xmm1, xmmword [rbp + 0x40]
vmovaps xmmword [rbp + 0x90], xmm1
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqu ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x60], ymm1
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x80], ymm1
vzeroupper
call fcn.14000c5c0
test al, al
je 0x14000d71d
mov r9d, dword [rbp]
mov ebx, 0xffffffff
mov r11, qword [rbp + 8]
mov r10, r11
test r9, r9
je 0x14000d701
nop dword [rax]
nop word [rax + rax]
movzx eax, bl
shr ebx, 6
xor al, byte [r10]
lea r10, [r10 + 1]
movzx ecx, al
mov eax, ecx
shl eax, 6
xor eax, ecx
movzx edx, al
xor ebx, edx
imul r8d, edx, 0x804004
shr ebx, 1
lea eax, [rdx*4]
xor eax, edx
xor ebx, r8d
shl eax, 0x11
shr ebx, 1
xor ebx, eax
imul eax, edx, 0x101000
xor ebx, eax
imul eax, edx, 0x1010100
xor ebx, eax
xor ebx, r8d
sub r9, 1
jne 0x14000d6b0
xor edx, edx
mov r8d, 0x8000
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_VirtualFree]
not ebx
cmp ebx, 0x25bcd3b7
sete al
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14000f5e0
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rbp
ret
Function at 0x14000f3b0
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.14000edd8
mov ebx, eax
test eax, eax
jne 0x14000f3e0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14000f443
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000f43a
test al, 0x10
je 0x14000f43a
bt eax, 0xa
jae 0x14000f433
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14000f454
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14000f42f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14000f42f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14000f43a
and dword [rsp + 0x3c], 0
jmp 0x14000f43f
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 0x14000f4ac
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 0x14000f4e6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000f4eb
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 0x14000f534
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140011740]
cmp byte [rcx + rax], 0
je 0x14000f534
dec r8
sub rdx, 1
jne 0x14000f51a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400101a4
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x38
mov rdx, qword [rcx]
mov r8d, 0x27
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x40], 0
call fcn.140014360
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0x42c00000
call fcn.14003aeb0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0x42e00000
call fcn.14003aeb0
movss xmm1, dword [0x14005cae8]
xorps xmm0, xmm0
call fcn.140019ca0
lea rcx, [0x1400660b8]
call fcn.14000a770
movss xmm2, dword [0x14005ca64]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400068c0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0x41a00000
call fcn.14003aeb0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0x42e00000
call fcn.14003aeb0
movss xmm1, dword [0x14005cae8]
xorps xmm0, xmm0
call fcn.140019ca0
cmp byte [0x1400560cf], 0
mov rdx, qword [str.xZWSQW__yXULWeqJ_A]
mov qword [rsp + 0x40], rdx
je 0x140004260
xor r8d, r8d
cmp dword [0x140066090], 2
jl 0x140004227
movdqa xmm2, xmmword [0x14005cb60]
lea rcx, [rsp + 0x40]
movdqa xmm4, xmmword [0x14005cbf0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14005cb90]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x40]
andps xmm2, xmmword [0x14005cbb0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14005cc00]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm2, xmmword [0x14005cb80]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14005cb90]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x44]
andps xmm2, xmmword [0x14005cbb0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14005cc00]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
call fcn.140038320
add rsp, 0x38
jmp fcn.140016580
lea r9, [rsp + 0x40]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140004230
lea rcx, [rsp + 0x40]
call fcn.140038320
add rsp, 0x38
jmp fcn.140016580
Function at 0x140007990
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400079c1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140066878]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140066888]
lea rdx, [rdi + rdi]
call fcn.140007380
mov rax, qword [0x140066878]
lea r9, [rdi - 1]
mov qword [0x1400668a0], r9
mov qword [0x1400668a8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140007b34
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140066888]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140007a80
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140007af5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140007abd
mov r10, qword [rdx]
cmp r10, rax
je 0x140007ab7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140007af5
cmp r9, rdx
je 0x140007ad1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140007b09
cmp r9, rdx
jne 0x140007ac2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140007b2f
mov r9, qword [0x1400668a0]
jmp 0x140007a31
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140007af5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret