joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008ef58
Capabilities:
Parse pe header

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

Function at 0x140001200
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x490
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
call fcn.140001020
mov rcx, qword [0x140004630]
lea rdx, str.NtAllocateVirtualMemory
mov rbx, rax
mov qword [rsp + 0x68], 0x400
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
mov dword [rsp + 0x28], 0x40
lea r9, [rsp + 0x68]
mov qword [rsp + 0x60], rsi
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x60]
mov rcx, rbx
call rax
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000130d
mov rcx, qword [0x140004630]
lea rdx, str.NtWriteVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x400
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x80]
mov rdx, rdi
mov rcx, rbx
call rax
mov rcx, qword [0x140004630]
lea rdx, str.NtCreateThreadEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x48], rsi
mov r9, rbx
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rsi
mov edx, 0x1fffff
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x70], rsi
call rax
xor eax, eax
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140001350
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001678
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
call fcn.14005b634
mov ebx, eax
cmp eax, 0xffffffff
je 0x140001855
mov edx, eax
sar edx, 9
shl edx, 3
movsxd rdx, edx
mov rcx, qword [0x1400b9208]
add rcx, 0x10
add rdx, rcx
and qword [rbp - 0x21], 0
and qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp - 0x21]
mov rcx, qword [0x1400b9400]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140001855
and ebx, 0x1ff
imul edx, ebx, 0x78
add rdx, rcx
and qword [rbp - 0x29], 0
and qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp - 0x29]
mov rcx, qword [0x1400b9400]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x140001855
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll_memset
and dword [rbp + 0x13], 0
and dword [rbp + 0x17], 0
and dword [rbp + 0x1b], 0
and dword [rbp + 0x1f], 0
mov byte [rbp + 0x23], 0
and qword [rbp + 0x2f], 0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x37], xmm0
mov qword [rbp - 0x11], rbx
lea rcx, [rbp - 0x19]
call fcn.14005b34c
lea rcx, [rbp - 0x19]
call fcn.14005b400
mov al, byte [rdi + 0x3c]
cmp byte [rbp + 0x23], al
je 0x14000184c
cmp dword [rbp - 9], 1
jl 0x14000184c
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400b93f4], eax
jle 0x1400017d8
lea rcx, [0x1400b93f4]
call fcn.14005e97c
cmp dword [0x1400b93f4], 0xffffffff
jne 0x1400017d8
lea rcx, [0x1400b9408]
call fcn.140001504
lea rcx, [0x1400b93f4]
call fcn.14005e910
lea rcx, [rbp - 0x29]
call fcn.140001504
mov rbx, qword [rbp - 0x29]
mov rdx, rbx
sub rdx, qword [0x1400b9408]
movsxd rax, dword [0x1400b80b4]
imul rax, rax, 0xf4240
cmp rdx, rax
je 0x140001804
jl 0x14000184c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
test al, al
jne 0x140001845
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x1400b9408], rbx
lea rcx, [rbp + 0x2f]
call fcn.140001ae4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005e8f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400046f0
Capabilities:
Create directory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
push r15
sub rsp, 0x70
mov rcx, qword [0x1400b8260]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, 9
jb 0x1400048b3
cmp qword [0x1400b8268], 0xf
lea r15, [0x140063c20]
mov qword [r11 - 0x48], 9
lea r9, [0x1400b8250]
cmova r9, qword [0x1400b8250]
mov qword [r11 - 0x50], r15
mov qword [r11 - 0x58], rcx
lea rcx, [r11 - 0x38]
call fcn.140016608
cmp qword [rsp + 0x58], 0xf
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov rdx, qword [rsp + 0x58]
mov edi, eax
cmp rdx, 0xf
jbe 0x1400047b7
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047b2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ed48
mov rax, qword [0x1400b8260]
sub rbx, rax
cmp rbx, 9
jb 0x1400048ad
cmp qword [0x1400b8268], 0xf
lea r9, [0x1400b8250]
mov qword [rsp + 0x30], 9
lea rcx, [rsp + 0x40]
cmova r9, qword [0x1400b8250]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.140016608
lea rdx, [rsp + 0x40]
lea rcx, [0x1400b8250]
call fcn.14000aba0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140004850
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000484b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000484b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ed48
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test edi, edi
jne 0x140004873
lea rdx, str._cheat_:_Config_folder_created
call fcn.1400106f8
mov rcx, rax
call fcn.140010868
mov al, 1
jmp 0x14000489a
cmp edi, 0xb7
jne 0x140004884
lea rdx, str._cheat_:_Config_folder_already_created
jmp 0x140004862
lea rdx, str._cheat_:_Cant_create_config_folder__try_disabling_your_antivirus_or_adding_a_cheat_to_the_exceptions
call fcn.1400106f8
mov rcx, rax
call fcn.140010868
xor al, al
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r15
ret
call fcn.140002700
int3
call fcn.140002700
int3
Function at 0x14000994c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000997c
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 0x1400099f4
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140009993
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140009995
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400099ee
test ecx, ecx
jle 0x1400099ce
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400099ee
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400099ee
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140009a10
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140009a30
xor eax, eax
jmp 0x140009b19
cmp qword [rcx + 0x68], 0
je 0x140009a42
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 0x140009b19
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140009a59
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009a5b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009a8d
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140009b13
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140009ac4
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
mov ebx, 0xfff
jmp 0x140009aee
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]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x140009b13
cmp rdi, rbx
ja 0x140009acb
test rdi, rdi
je 0x140009b13
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009eec
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140009f25
xor eax, eax
jmp 0x14000a045
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140009f5f
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x140009f5f
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x14000a045
cmp qword [rbx + 0x80], 0
je 0x14000a043
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009f9a
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 0x140009fbb
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x14000a040
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
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 0x14000a009
sub eax, 1
je 0x14000a009
cmp eax, 2
jne 0x14000a043
movsx ecx, byte [rbp - 0x30]
jmp 0x140009fa7
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x14000a034
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x14000a043
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14005e8f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000bca0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000bd0f
cmp byte [rcx + 0x71], 0
je 0x14000bd0f
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000bd64
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 0x14000bd29
sub eax, 1
je 0x14000bd2d
cmp eax, 2
jne 0x14000bd64
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005e8f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000bd5b
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 0x14000bd64
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000bd11
xor al, al
jmp 0x14000bd11
Function at 0x14001f570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14001f5ca
mov r11b, 0x23
lea rbx, [0x1400a73c0]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x14001f5b4
cmp rdx, 2
jb 0x14001f5b4
cmp byte [r10], r11b
jne 0x14001f5b4
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x14001f592
jmp 0x14001f60b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14001f60b
mov r11b, 0x23
lea rbx, [0x1400a73c0]
cmp dl, r11b
jne 0x14001f5ef
cmp byte [r10], r11b
jne 0x14001f5ef
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x14001f5dd
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x14001f778
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001f799
and qword [r8], 0
lea rdx, [0x1400aca78]
call fcn.14001f61c
mov rbx, rax
test rax, rax
je 0x14001f85c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001f853
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001f853
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001f853
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001f853
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x14001f853
mov rcx, rdi
call fcn.140022834
mov rdi, rax
test rax, rax
je 0x14001f853
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x14001f840
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.14002287c
jmp 0x14001f85c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001f84e
mov qword [r14], rsi
mov rax, rdi
jmp 0x14001f85e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14002afec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0x100]
mov r11d, 4
mov rax, qword [rcx + 0x108]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1400a73c0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x14002b02b
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x405c], ebx
jne 0x14002b065
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.140034b8c
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005e8f0
add rsp, 0x30
pop rbx
ret

Function at 0x14002b07c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400b8040]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x120]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x124]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0x108]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0x100]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x1400a73c0]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14002b0f9
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.14005e8f0
add rsp, 0x28
ret

Function at 0x140033924
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6000], 0
lea rdi, [rcx + 0x6008]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x1400339a1
xor edx, edx
call fcn.1400358b4
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.14002010c
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x6000]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1400b9286]
movsxd r8, eax
mov rax, qword [rbx + 0x6010]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1400339a6
call fcn.14002010c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140033fd4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400b9398]
mov rbx, rcx
and dword [rax + 0x5f5c], 0
test rcx, rcx
je 0x14003403d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140034048
lea rdx, [0x1400aca7c]
mov rcx, rbx
mov rdi, rax
call fcn.14001f61c
mov rbx, rax
test rax, rax
je 0x14003403d
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140043fcc
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400b9398]
test rax, rax
je 0x140043fe7
mov rbx, qword [rax + 0x90]
jmp 0x140043fe9
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140044014
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14005ddf4
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 0x14005de2e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14005de33
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 0x14005de7c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400638e0]
cmp byte [rcx + rax], 0
je 0x14005de7c
dec r8
sub rdx, 1
jne 0x14005de62
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14005f660
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400adde0]
mov dword [rax], 1
mov rax, qword [0x1400addf0]
mov dword [rax], 1
mov rax, qword [0x1400ade00]
mov dword [rax], 1
mov rax, qword [0x1400add60]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret