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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400130db
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400130e2
mov al, 1
jmp 0x14001323c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140009090
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140009090
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.1400090e0
movzx eax, al
test eax, eax
je 0x140013139
xor al, al
jmp 0x14001323c
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400131a9
cmp dword [rsp + 0x30], 1
je 0x1400131b5
cmp dword [rsp + 0x30], 3
je 0x14001322a
jmp 0x14001323a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140013201
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140013201
xor al, al
jmp 0x14001323c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001321b
mov dword [rsp + 0x34], 1
jmp 0x140013223
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14001323c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001323c
xor al, al
add rsp, 0xa8
ret
Function at 0x140015da0
Capabilities:
Enumerate threads

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x70]
call fcn.14000fa60
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140015e5e
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x140015e53
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x140015e38
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x44], eax
jne 0x140015e38
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.140023310
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140015e15
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400162c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [rsp + 0x108]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
cmp dword [rcx + rax + 0x74], 0
je 0x140016474
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x70]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14000e7c0
lea rcx, [rsp + 0x88]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
jmp 0x1400163a7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x20], eax
jae 0x140016474
mov eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov rcx, rax
call fcn.14000e770
mov eax, eax
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov rcx, rax
call fcn.14000e770
mov eax, eax
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1401cb270
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x68]
call fcn.14000a8f0
movzx eax, al
test eax, eax
je 0x140016465
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
call fcn.140004ac0
mov rax, qword [rsp + 0x50]
jmp 0x140016476
lea rcx, [rsp + 0x68]
call fcn.140004ac0
jmp 0x14001639d
xor eax, eax
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x1400167b0
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 8
jge 0x140016808
lea rdx, [0x14025c467]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400047d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1e0]
jmp 0x1400169b3
mov r8d, 7
lea rdx, [0x14025cc48]
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140016872
mov r8d, 8
lea rdx, [0x140268e10]
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140016872
lea rdx, [0x14025c473]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400047d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1e0]
jmp 0x1400169b3
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0x1e8]
xor ecx, ecx
call sub.urlmon.dll_URLOpenBlockingStreamA
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400168d2
lea rdx, [0x14025c4a2]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400047d0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1e0]
jmp 0x1400169b3
mov dword [rsp + 0x34], 0
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.140007c70
nop
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x64
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x48]
cmp dword [rsp + 0x34], 0
jbe 0x14001696e
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x34]
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x34]
mov r8d, 0x64
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x58]
jmp 0x140016917
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0xd0]
call fcn.140009f00
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xd0]
call fcn.140008420
mov rax, qword [rsp + 0x1e0]
add rsp, 0x1d8
ret
Function at 0x140024bf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x140024c15
xor eax, eax
jmp 0x140024ddb
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x140024c3e
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
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 0x140024ddb
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x140024cdd
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140004740
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140005490
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x140024dcb
mov rcx, qword [rsp + 0x70]
call fcn.1400141d0
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x140024d7e
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x140024d7c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x140024ddb
jmp 0x140024d03
cmp qword [rsp + 0x20], 0
jbe 0x140024dcb
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret
Function at 0x140024de0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140024e19
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
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 0x140024f07
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x140024eaf
cmp qword [rsp + 0x20], 0
jle 0x140024eaf
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140024e59
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140005490
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140024ef7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140024ef7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret

Function at 0x140029580
Capabilities:
Terminate process

Disassembly:
sub rsp, 0xa08
lea rcx, [rsp + 0x30]
call fcn.14000ec70
nop
lea rcx, str._injector____init__Loading..._n
call fcn.14000a170
lea rcx, [rsp + 0x30]
call fcn.1400169f0
movzx eax, al
test eax, eax
jne 0x1400295de
lea rcx, str._injector____init__Failed_n
call fcn.14000a170
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.1400108a0
mov eax, dword [rsp + 0x20]
jmp 0x140029615
lea rcx, [rsp + 0x30]
call fcn.140016530
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x30]
call fcn.140024580
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x30]
call fcn.1400108a0
mov eax, dword [rsp + 0x24]
add rsp, 0xa08
ret
Function at 0x14002f790
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x811c9dc5
mov qword [rsp + 8], 0
jmp 0x14002f7bd
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
cmp qword [rsp + 8], rax
jae 0x14002f7f3
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 8]
movzx eax, byte [rax + rcx]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x14002f7b0
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x140051300
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x811c9dc5
mov qword [rsp + 8], 0
jmp 0x14005132d
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 8], rax
jae 0x140051362
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x140051320
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x14005cb60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x811c9dc5
mov qword [rsp + 8], 0
jmp 0x14005cb8d
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x80]
cmp qword [rsp + 8], rax
jae 0x14005cbc2
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x14005cb80
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x140099a90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
mov r8, qword [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rsp, 0x28
ret

Function at 0x1400a65c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x60], 0
je 0x1400a6706
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
cmp qword [rax + 8], rcx
jb 0x1400a6706
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
cmp eax, 5
jge 0x1400a6642
lea r9, [0x1402aef98]
mov r8d, 0x8c
lea rdx, [0x1402aefb0]
lea rcx, [0x1402aeff8]
call fcn.14002c530
test eax, eax
je 0x1400a6642
int3
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x1400a6670
mov rax, qword [rsp + 0x20]
add rax, 0x10
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 8], rax
jne 0x1400a6697
lea r9, [0x1402af018]
mov r8d, 0x8d
lea rdx, [0x1402af030]
lea rcx, str._isblack_o___upisopen_uv_
call fcn.14002c530
test eax, eax
je 0x1400a6697
int3
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and eax, 0xb
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x20]
xor ecx, 3
and ecx, 3
cmp eax, ecx
jne 0x1400a66dd
lea r9, str.luaF_close
mov r8d, 0x8e
lea rdx, [0x1402af0b0]
lea rcx, str._isdead_g__o_
call fcn.14002c530
test eax, eax
je 0x1400a66dd
int3
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x20]
mov qword [rax + 0x60], rcx
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.1400a6710
jmp 0x1400a65dc
add rsp, 0x48
ret
Function at 0x1400b7d50
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x10
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x20], 0x85ebca6b
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xd
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x20], 0xc2b2ae35
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x10
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 6]
mov ecx, 1
mov dword [rsp + 0x24], ecx
movzx ecx, al
mov eax, dword [rsp + 0x24]
shl eax, cl
mov rcx, qword [rsp + 0x50]
movzx ecx, byte [rcx + 6]
mov edx, 1
shl edx, cl
mov ecx, edx
dec ecx
and eax, ecx
test eax, eax
je 0x1400b7e21
lea r9, str.hashpointer
mov r8d, 0x49
lea rdx, [0x1402bdbc0]
lea rcx, [0x1402bdc20]
call fcn.14002c530
test eax, eax
je 0x1400b7e21
int3
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 6]
mov ecx, 1
mov dword [rsp + 0x28], ecx
movzx ecx, al
mov eax, dword [rsp + 0x28]
shl eax, cl
dec eax
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
add rsp, 0x48
ret
Function at 0x1401cacc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x4b8
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1401cadb8
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x1401cadb8
mov qword [rsp + 0x20], 0
jmp 0x1401cad45
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x4d8]
call fcn.140050de0
cmp qword [rsp + 0x20], rax
jae 0x1401cadb3
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x4d8]
call fcn.14003ec30
mov rcx, rax
call fcn.140015280
mov rdx, rax
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1401cadb1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x30]
mov rdi, qword [rsp + 0x4d0]
mov rsi, rax
mov ecx, 0x238
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x4d0]
jmp 0x1401cadf9
jmp 0x1401cad38
jmp 0x1401cad15
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x270]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
lea rax, [rsp + 0x270]
mov rdi, qword [rsp + 0x4d0]
mov rsi, rax
mov ecx, 0x238
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x4d0]
add rsp, 0x4b8
pop rdi
pop rsi
ret
Function at 0x1401cae10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
lea rcx, [rsp + 0xb0]
call fcn.1401cb0e0
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400068b0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
call fcn.140008cd0
mov qword [rsp + 0x68], rax
jmp 0x1401cae6a
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x28], rax
je 0x1401cb0c0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rdx, [0x1402f8b10]
lea rcx, [rsp + 0xe8]
call fcn.140007ba0
nop
lea rdx, [0x1402f8b14]
lea rcx, [rsp + 0xc8]
call fcn.140007ba0
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140015280
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400152d0
mov qword [rsp + 0x70], rax
jmp 0x1401caee6
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x30], rax
je 0x1401caf1e
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
movzx edx, ax
lea rcx, [rsp + 0xe8]
call fcn.140011c80
jmp 0x1401caed8
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140015280
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400152d0
mov qword [rsp + 0x78], rax
jmp 0x1401caf59
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x38], rax
je 0x1401caf91
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
movzx edx, ax
lea rcx, [rsp + 0xc8]
call fcn.140011c80
jmp 0x1401caf4b
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xe8]
call fcn.140016110
cmp rax, 0xffffffffffffffff
je 0x1401cb0a0
cmp qword [rsp + 0x128], 0
je 0x1401cb05c
mov r8d, 0x1000
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x20]
lea rcx, [rsp + 0x98]
call fcn.14000e660
lea rcx, [rsp + 0x98]
call fcn.1400159a0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x98]
call fcn.1400159a0
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x60]
add rax, 4
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x38]
mov rcx, qword [rsp + 0x128]
mov qword [rcx], rax
lea rcx, [rsp + 0x98]
call fcn.140010e70
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xc8]
call fcn.140010d00
nop
lea rcx, [rsp + 0xe8]
call fcn.140010d00
nop
lea rcx, [rsp + 0xb0]
call fcn.1401caa80
mov rax, qword [rsp + 0x90]
jmp 0x1401cb0cf
lea rcx, [rsp + 0xc8]
call fcn.140010d00
nop
lea rcx, [rsp + 0xe8]
call fcn.140010d00
jmp 0x1401cae5c
lea rcx, [rsp + 0xb0]
call fcn.1401caa80
xor eax, eax
add rsp, 0x118
ret