joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008190
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14002c080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, rdx
xor edi, edi
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 1
jb 0x140008396
mov r9, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14000820f
mov r9, qword [rcx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400178cc]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, rcx
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400040c0
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000824a
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140008100
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400082c4
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400082bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400082bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014430
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14000830d
xor bl, bl
jmp 0x140008334
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140008372
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000836d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000836d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140014430
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400147f0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400080c0
int3
Function at 0x140008e00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14002c080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebp, 0xffff
movzx esi, dx
mov rdi, rcx
cmp bp, dx
jne 0x140008e31
xor eax, eax
jmp 0x140008f72
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::pptr_void_const___ptr64]
test rax, rax
je 0x140008e72
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x140008e72
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Pninc_void____ptr64]
mov word [rax], si
movzx eax, si
jmp 0x140008f6a
cmp qword [rdi + 0x80], 0
je 0x140008f67
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x140008eac
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::setg_wchar_t____ptr64__wchar_t____ptr64__wchar_t____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140008eba
movzx ecx, si
jmp 0x140008f0e
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], si
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
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_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140008f27
sub eax, 1
je 0x140008f27
cmp eax, 2
jne 0x140008f67
movzx ecx, word [rsp + 0x50]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, bp
cmove si, bp
movzx eax, si
jmp 0x140008f6a
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x140008f55
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140008f67
lea rax, [rsp + 0x50]
mov byte [rdi + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne bp, si
movzx eax, bp
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400147f0
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b030
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14002c080]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140012c70
xor edx, edx
lea rcx, [0x14000b120]
call qword [sym.imp.USER32.dll_EnumWindows]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 8
call fcn.1400143f4
test rax, rax
je 0x14000b07f
lea rcx, [0x140012c90]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140002f00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000b0f1
cmp dword [rsp + 0x38], 0
je 0x14000b0e6
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14000b0e6
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400147f0
add rsp, 0x68
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x140012f00
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14002c080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 8
call fcn.1400143f4
test rax, rax
je 0x140012f2c
lea rcx, [0x140012c00]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140002f00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140012f9e
cmp dword [rsp + 0x38], 0
je 0x140012f93
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140012f93
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400147f0
add rsp, 0x68
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400130e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov r10d, dword [0x14002c520]
mov rbp, rcx
mov rax, qword gs:[0x58]
mov rbx, r9
mov ecx, 4
mov rdi, r8
mov esi, edx
mov rax, qword [rax + r10*8]
mov eax, dword [rcx + rax]
cmp dword [0x14002c468], eax
jg 0x14001318a
mov r10, qword [0x14002c460]
test r10, r10
je 0x140013162
mov rax, qword [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x30], rax
mov r8, rdi
mov eax, dword [rsp + 0x98]
mov edx, esi
mov dword [rsp + 0x28], eax
mov rcx, rbp
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
call r10
jmp 0x140013172
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
lea rcx, [0x14002c468]
call fcn.140014b74
cmp dword [0x14002c468], 0xffffffff
jne 0x140013123
mov rcx, qword [0x14002c458]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x4c], 0x6e6f69
mov dword [rsp + 0x40], 0x7243744e
mov dword [rsp + 0x44], 0x65746165
mov dword [rsp + 0x48], 0x74636553
mov byte [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14002c468]
mov qword [0x14002c460], rax
call fcn.140014b08
jmp 0x140013123
Function at 0x1400135e0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x140013783
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140013783
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140013783
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x140013783
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rdx, [rcx + 4]
mov qword [rbx + 0x10], rdx
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rdx + 2]
jae 0x140013771
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x14001374d
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x14001375e
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.140013430
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x140013720
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140013800
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14001382d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001382d
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14001382d
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x14001382d
mov eax, dword [rax + rcx + 0x50]
ret
xor eax, eax
ret
Function at 0x140015018
Capabilities:
Parse pe header

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

Disassembly:
push rdi
sub rsp, 0x170
lea rdi, [rsp + 0x20]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140009020]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r8d, 0x114
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 5
jne 0x14000105f
mov byte [0x140009138], 1
movzx eax, byte [0x140009138]
mov edi, eax
mov rcx, rsp
lea rdx, [0x140005d90]
call fcn.140002de8
mov eax, edi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x170
pop rdi
ret
Function at 0x140001b10
Capabilities:
Get file version info

Disassembly:
push rdi
sub rsp, 0x3f0
lea rdi, [rsp + 0x30]
mov ecx, pe_nt_image_headers64
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140009020]
xor rax, rsp
mov qword [rsp + 0x3e8], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140001b64
lea rcx, str.Unable_to_get_executable_file_name._n
call fcn.140002a60
jmp 0x140001ce0
lea rdx, [rsp + 0x264]
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x274], eax
cmp dword [rsp + 0x274], 0
jne 0x140001b98
lea rcx, str.Unable_to_get_version_info_size._n
call fcn.140002a60
jmp 0x140001ce0
mov eax, dword [rsp + 0x274]
mov ecx, eax
call fcn.140002b44
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x278], rax
mov r9, qword [rsp + 0x278]
mov r8d, dword [rsp + 0x274]
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140001bef
lea rcx, str.Unable_to_get_version_info._n
call fcn.140002a60
jmp 0x140001ce0
lea r9, [rsp + 0x2a4]
lea r8, [rsp + 0x288]
lea rdx, [0x140005714]
mov rcx, qword [rsp + 0x278]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140001c28
lea rcx, str.Unable_to_query_version_value._n
call fcn.140002a60
jmp 0x140001ce0
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x2b8]
mov eax, dword [rax + 0x14]
and eax, 0xffff
mov rcx, qword [rsp + 0x2b8]
mov ecx, dword [rcx + 0x14]
shr ecx, 0x10
mov rdx, qword [rsp + 0x2b8]
mov edx, dword [rdx + 0x10]
and edx, 0xffff
mov r8, qword [rsp + 0x2b8]
mov r8d, dword [r8 + 0x10]
shr r8d, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
lea rdx, str.version__i._i._i._i
lea rcx, [rsp + 0x2d0]
call fcn.140002740
lea rdx, [0x140005c28]
lea rcx, [rsp + 0x360]
call fcn.140002870
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x360]
call fcn.140002810
lea rdx, str._njabswitch_enables_or_disables_the_Java_Access_Bridge._n
lea rcx, [rsp + 0x360]
call fcn.140002810
lea rcx, [rsp + 0x360]
call fcn.140002a60
mov rcx, rsp
lea rdx, [0x140006490]
call fcn.140002de8
mov rcx, qword [rsp + 0x3e8]
xor rcx, rsp
call fcn.140002ef0
add rsp, 0x3f0
pop rdi
ret
Function at 0x140001f0c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x140062394], 0
lea rsi, [0x140062390]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x140001f73
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x140001f41
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x140001f39
not ebx
mov edx, ebx
test edi, edi
jle 0x140001f95
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x140001f7b
jmp 0x140001fcf
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140001fcf
mov r9b, 0x23
cmp r8b, r9b
jne 0x140001fb4
cmp byte [r10], r9b
jne 0x140001fb4
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x140001fa3
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140002154
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000218d
mov r8d, 0x56a
lea rdx, str.Imguiimgui.cpp
lea rcx, str.filename__file_open_mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140002196
and qword [rdi], 0
lea rdx, [0x1400557f8]
mov rcx, rbx
call fcn.140001fe4
mov rbx, rax
test rax, rax
je 0x140002270
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002267
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002267
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002267
mov rax, qword [0x140062190]
mov rbp, rsi
test rax, rax
je 0x140002204
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002267
mov r9, rbx
mov r8, rbp
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, rbp
je 0x140002254
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140062190]
test rax, rax
je 0x140002249
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002270
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002262
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002272
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 rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140003e70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x1e0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140003ea3
mov r8d, 0x5bc
lea rdx, str.C:UsersPaysonismDocumentsleaks_3Pasting.gj_with_Memorypasting.gjImguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0x1e0]
xor edx, edx
mov rax, qword [rbx + 0x1e8]
mov rcx, rdi
mov r8d, dword [rax + r8*4 - 4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140001f0c
Function at 0x1400119ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140062190]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x140011a15
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140011a20
lea rdx, [0x140055860]
mov rcx, rbx
mov rdi, rax
call fcn.140001fe4
mov rbx, rax
test rax, rax
je 0x140011a15
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 0x140018608
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x1400187f9
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, pe_nt_image_headers64
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x1400186aa
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x1400186cc
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14005c3b0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x1400187ec
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001871a
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001871e
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.140014270
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.140016238
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x1c]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x20]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x140018709
mov r11d, pe_nt_image_headers64
add rbx, 0x28
sub rdi, r8
jne 0x140018658
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret