joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002bd20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002bdf3
cmp byte [rcx + 0x71], 0
je 0x14002bdf3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14002bdef
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 0x14002bdb4
sub eax, 1
je 0x14002bdb8
cmp eax, 2
jne 0x14002bdef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002cb70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002bde6
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 0x14002bdef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002bd9c
xor al, al
jmp 0x14002bd9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002cb70
add rsp, 0x60
pop rbx
ret

Function at 0x14002c8d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002c911
xor eax, eax
jmp 0x14002c965
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14002c95a
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14002c956
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14002c930
jmp 0x14002c95a
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14002cb70
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002c990
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
xor esi, esi
mov edx, ecx
lea ecx, [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002c9d1
xor eax, eax
jmp 0x14002ca27
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x14002ca1b
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14002ca16
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x14002c9f0
jmp 0x14002ca1b
mov rsi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002cb70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14002d778
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002d7c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002d7c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002d7c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002d7c2
cmp dword [rcx + 0x84], 0xe
jbe 0x14002d7c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002d7c4
xor al, al
add rsp, 0x28
ret
Function at 0x180003b4c
Capabilities:
Access peb ldr_data
Create thread
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
sub rsp, 0x150
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
call fcn.18000199c
xor ebx, ebx
test al, al
jne 0x180003e3c
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x180004700]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movabs rax, 0xa668d90f3f7fbd70
mov qword [rbp + 0x60], rax
movabs rax, 0x23541471e0920df1
mov qword [rbp + 0x68], rax
movabs rcx, 0x8ebf6c749111c251
mov qword [rbp + 0x70], rcx
movabs rax, 0x1602425db3d3d3d6
mov qword [rbp + 0x78], rax
movabs rdi, 0xc31baa4e5a12dc37
mov qword [rbp + 0xc0], rdi
movabs rsi, 0x4f38705f99fe6f9c
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x60], ymm1
lea rcx, [rbp + 0x60]
mov qword [rbp + 0x20], rcx
mov r11d, 0x811c9dc5
mov edx, r11d
vzeroupper
movsx eax, byte [rcx]
inc rcx
mov qword [rbp + 0x20], rcx
test al, al
jne 0x180003d7d
mov dword [rbp], edx
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x10]
mov rcx, r9
mov qword [rbp + 0x48], rcx
mov rdx, qword [rcx + 0x60]
movzx eax, word [rcx + 0x58]
shr rax, 1
lea r10, [rdx + rax*2]
mov r8d, r11d
mov qword [rbp + 0x28], rdx
cmp rdx, r10
je 0x180003c81
movsx eax, byte [rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
add rdx, 2
jmp 0x180003c65
cmp r8d, dword [rbp]
jne 0x180003c8d
mov rax, qword [rcx + 0x30]
jmp 0x180003c9c
mov rcx, qword [rcx]
cmp rcx, r9
jne 0x180003d74
mov rax, rbx
mov qword [0x180264d08], rax
movabs rax, 0xa277fa372e7bb262
mov qword [rbp + 0x10], rax
movabs rax, 0x4f541c3bb78c0ae5
mov qword [rbp + 0x18], rax
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rsi
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x30], rcx
mov edx, r11d
movsx eax, byte [rcx]
inc rcx
mov qword [rbp + 0x30], rcx
test al, al
jne 0x180003d67
mov dword [rbp], edx
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x10]
mov rcx, r9
mov qword [rbp + 0x40], rcx
mov rdx, qword [rcx + 0x60]
movzx eax, word [rcx + 0x58]
shr rax, 1
lea r10, [rdx + rax*2]
mov r8d, r11d
mov qword [rbp + 0x38], rdx
cmp rdx, r10
je 0x180003d41
movsx eax, byte [rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
add rdx, 2
jmp 0x180003d25
cmp r8d, dword [rbp]
jne 0x180003d4d
mov rbx, qword [rcx + 0x30]
jmp 0x180003d55
mov rcx, qword [rcx]
cmp rcx, r9
jne 0x180003d61
mov qword [0x180264d00], rbx
jmp 0x180003e3a
mov qword [rbp + 0x40], rcx
jmp 0x180003d13
xor eax, edx
imul edx, eax, 0x1000193
jmp 0x180003cea
mov qword [rbp + 0x48], rcx
jmp 0x180003c53
xor eax, edx
imul edx, eax, 0x1000193
jmp 0x180003c26
mov al, 1
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180033400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rcx]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 4
jb 0x18003340d
mov rax, rdx
ret

Function at 0x18003acf4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
cmp byte [rcx + 0x2c], sil
je 0x18003ae24
call sub.MSVCP140.dll__Xtime_get_ticks
mov rdx, rax
movabs rax, 0x346dc5d63886594b
imul rdx
mov rbx, rdx
sar rbx, 0xb
mov rax, rbx
shr rax, 0x3f
add rbx, rax
movsxd rax, dword [0x180233c1c]
add rax, qword [0x180261cf0]
cmp rbx, rax
je 0x18003ae24
jl 0x18003ae24
lea ecx, [rsi + 0x57]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18003adff
lea ecx, [rsi + 0x26]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18003adff
lea ecx, [rsi + 0x41]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18003adeb
lea ecx, [rsi + 0x25]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18003adeb
lea ecx, [rsi + 0x53]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18003addc
lea ecx, [rsi + 0x28]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18003addc
lea ecx, [rsi + 0x44]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18003adcd
lea ecx, [rsi + 0x27]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18003ae11
movss xmm0, dword [rdi + 0x24]
addss xmm0, dword [0x18016a550]
jmp 0x18003adf8
movss xmm0, dword [rdi + 0x28]
addss xmm0, dword [0x18016a550]
jmp 0x18003ae0c
movss xmm0, dword [rdi + 0x24]
subss xmm0, dword [0x18016a550]
movss dword [rdi + 0x24], xmm0
jmp 0x18003ae11
movss xmm0, dword [rdi + 0x28]
subss xmm0, dword [0x18016a550]
movss dword [rdi + 0x28], xmm0
mov rcx, rdi
call fcn.180044018
mov qword [rdi + 0x24], rsi
mov qword [0x180261cf0], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180045f1c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180045f78
cmp byte [rcx + 0x71], 0
je 0x180045f78
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180045fc0
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
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 0x180045f85
sub eax, 1
je 0x180045f89
cmp eax, 2
jne 0x180045fc0
mov byte [rbx + 0x71], 0
mov al, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x180045fb7
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180045fc0
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180045f7a
xor al, al
jmp 0x180045f7a
Function at 0x1800557dc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x180055804
xor eax, eax
jmp 0x18005591c
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180055832
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
add rcx, rdx
cmp rdx, rcx
jae 0x180055832
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x18005591c
cmp qword [rbx + 0x80], 0
je 0x18005591a
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18005586d
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 0x180055891
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
cmovne edi, esi
jmp 0x18005591a
lea rax, [rbp + 0x30]
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 0x1800558df
sub eax, 1
je 0x1800558df
cmp eax, 2
jne 0x18005591a
movsx ecx, byte [rbp - 0x30]
jmp 0x18005587a
mov r14, qword [rbp + 0x30]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x18005590a
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 0x18005591a
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp + 0x38], rax
mov eax, esi
jne 0x18005591c
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180069958
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180069985
xor eax, eax
jmp 0x180069a74
cmp qword [rcx + 0x68], 0
je 0x180069997
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 0x180069a74
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x1800699ae
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800699b0
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800699dd
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rsi
add r14, rbx
sub rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rsi + 0x80], 0
mov rbx, rbp
je 0x180069a6e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180069a1b
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 r15d, 0xfff
jmp 0x180069a49
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x180069a8d
cmp rbp, r15
ja 0x180069a23
test rbx, rbx
je 0x180069a6e
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rdi, rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
sub rdi, rbp
jmp 0x180069a71
Function at 0x180069a94
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x180069ac5
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 0x180069b38
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x180069adc
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180069ade
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180069b32
test ecx, ecx
jle 0x180069b12
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
add r14, rbp
test rbx, rbx
jle 0x180069b32
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180069b32
mov r8, rbx
mov edx, 1
mov rcx, r14
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 + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180072d4c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x180072d73
and qword [r8], 0
call fcn.180072e58
mov rbx, rax
test rax, rax
je 0x180072e3b
mov rcx, rax
call fcn.180072cd4
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180072e32
mov rax, qword [0x180262070]
test rax, rax
je 0x180072dab
inc dword [rax + 0xf4]
mov rdx, qword [0x180262080]
lea rcx, [rdi + rbp]
call qword [0x180233e80]
mov rsi, rax
test rax, rax
je 0x180072e32
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x180072e0a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180262070]
test rax, rax
je 0x180072df8
dec dword [rax + 0xf4]
mov rdx, qword [0x180262080]
mov rcx, rsi
call qword [0x180233e88]
jmp 0x180072e3b
test ebp, ebp
jle 0x180072e1c
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180072e2d
mov qword [r14], rdi
mov rax, rsi
jmp 0x180072e3d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

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

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x1800731ce
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x18016a9e0]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x1800731ab
not r8d
mov eax, r8d
ret

Function at 0x1800731d8
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 0x180073232
mov r11b, 0x23
lea rdi, [0x18016a9e0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18007321c
cmp rdx, 2
jb 0x18007321c
cmp byte [r10], r11b
jne 0x18007321c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1800731fa
jmp 0x180073273
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180073273
mov r11b, 0x23
lea rdi, [0x18016a9e0]
cmp dl, r11b
jne 0x180073257
cmp byte [r10], r11b
jne 0x180073257
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 [rdi + rcx*4]
test dl, dl
jne 0x180073245
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x180074fd0
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 + 0x5c88], 0
lea rbx, [rcx + 0x5c90]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180075069
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x180075021
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180080e80
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1800808c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c88]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180262078]
movsxd r8, eax
mov rax, qword [rdi + 0x5c98]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x180075071
mov rcx, rbx
call fcn.1800808c0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18007c5a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180262070]
mov rbx, rcx
and dword [rax + 0x5bec], 0
test rcx, rcx
je 0x18007c609
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18007c614
lea rdx, [0x18016c204]
mov rcx, rbx
mov rdi, rax
call fcn.180072e58
mov rbx, rax
test rax, rax
je 0x18007c609
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 0x1800ae4b4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x1800ae4fe
lea rax, [rdi - 0x40000000]
cmp rsi, rax
cmovb rsi, rax
mov rbx, qword [0x180265dd0]
lea r15, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r15
cmovbe r15, qword [rbp - 0x50]
sub r15, 0xfff
test rbx, rbx
je 0x1800ae53b
cmp rbx, rsi
jb 0x1800ae536
cmp rbx, r15
jae 0x1800ae536
cmp qword [rbx + 8], 0
jne 0x1800ae697
mov rbx, qword [rbx]
jmp 0x1800ae51c
mov r14, rdi
cmp rdi, rsi
jb 0x1800ae5bf
mov r12d, dword [rbp - 0x38]
xor edx, edx
mov rax, r14
div r12
sub r14, rdx
sub r14, r12
cmp r14, rsi
jb 0x1800ae5b6
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800ae5b6
cmp dword [rbp - 0x10], 0x10000
je 0x1800ae586
mov r14, qword [rbp - 0x28]
cmp r14, r12
jb 0x1800ae5b6
jmp 0x1800ae552
test r14, r14
je 0x1800ae5b6
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800ae657
cmp r14, rsi
jae 0x1800ae543
test rbx, rbx
jne 0x1800ae657
cmp rdi, r15
ja 0x1800ae697
mov r14d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov esi, r14d
div r14
mov eax, r14d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800ae697
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800ae697
cmp dword [rbp - 0x10], 0x10000
je 0x1800ae62d
xor edx, edx
lea edi, [r14 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div rsi
sub rdi, rdx
cmp rdi, r15
jmp 0x1800ae5e6
test rdi, rdi
je 0x1800ae697
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x1800ae5b9
and qword [rbx + 8], 0
lea rcx, [rbx + 0x40]
and dword [rbx + 0x10], 0
mov rdx, rcx
sub rdx, rbx
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x1800ae66a
mov rax, qword [0x180265dd0]
mov qword [rbx], rax
mov qword [0x180265dd0], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret