joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020610
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.140015970
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 0x1400206ce
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 0x1400206c3
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x1400206a8
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x44], eax
jne 0x1400206a8
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.140034830
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140020685
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 0x140020fc0
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 0x140021174
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.140013d00
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 0x1400210a7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x20], eax
jae 0x140021174
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.140013cb0
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.140013cb0
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.1402c7480
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x68]
call fcn.14000deb0
movzx eax, al
test eax, eax
je 0x140021165
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
call fcn.1400067e0
mov rax, qword [rsp + 0x50]
jmp 0x140021176
lea rcx, [rsp + 0x68]
call fcn.1400067e0
jmp 0x14002109d
xor eax, eax
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140021410
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 0x140021468
lea rdx, [0x140366bae]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400064f0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1e0]
jmp 0x140021613
mov r8d, 7
lea rdx, str.http:__
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400214d2
mov r8d, 8
lea rdx, str.https:__
mov rcx, qword [rsp + 0x1e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400214d2
lea rdx, [0x140366baf]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400064f0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1e0]
jmp 0x140021613
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 0x140021532
lea rdx, [0x140366bbf]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400064f0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x1e0]
jmp 0x140021613
mov dword [rsp + 0x34], 0
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.140009b20
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 0x1400215ce
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 0x140021577
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0xd0]
call fcn.14000c880
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xd0]
call fcn.14000a2d0
mov rax, qword [rsp + 0x1e0]
add rsp, 0x1d8
ret
Function at 0x140036030
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.1400310d0
movzx eax, al
test eax, eax
je 0x140036073
mov rcx, qword [rsp + 0x30]
call fcn.1400218d0
movzx eax, al
test eax, eax
jne 0x140036068
lea rcx, [0x1403678ac]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov byte [0x1404979e2], 0
mov al, 1
jmp 0x14003607c
mov byte [0x1404979e2], 0
xor al, al
add rsp, 0x28
ret
Function at 0x140036ef0
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 0x140036f15
xor eax, eax
jmp 0x1400370db
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x140036f3e
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 0x1400370db
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 0x140036fdd
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.140006460
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.1400071b0
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 0x1400370cb
mov rcx, qword [rsp + 0x70]
call fcn.14001cb20
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14003707e
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 0x14003707c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x1400370db
jmp 0x140037003
cmp qword [rsp + 0x20], 0
jbe 0x1400370cb
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 0x140037110
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 0x140037149
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 0x140037237
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 0x1400371df
cmp qword [rsp + 0x20], 0
jle 0x1400371df
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140037189
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.1400071b0
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 0x140037227
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140037227
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 0x140053f40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2278
call fcn.140317910
sub rsp, rax
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x28]
mov r8d, 0x2000
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x2288]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140054059
mov dword [rsp + 0x20], 0
jmp 0x140053fa0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x28]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
jae 0x140054059
mov eax, dword [rsp + 0x20]
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + rax*8 + 0x270]
mov rcx, qword [rsp + 0x2288]
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140054054
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140009a50
xor r8d, r8d
mov rdx, qword [rsp + 0x2290]
lea rcx, [rsp + 0x38]
call fcn.1400209c0
cmp rax, 0xffffffffffffffff
je 0x14005404a
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x2280]
call fcn.140015240
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x38]
call fcn.140017380
mov rax, qword [rsp + 0x2280]
jmp 0x140054079
lea rcx, [rsp + 0x38]
call fcn.140017380
jmp 0x140053f96
mov rcx, qword [rsp + 0x2280]
call fcn.140015410
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x2280]
add rsp, 0x2278
ret
Function at 0x140131ff0
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 0x14013201d
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 0x140132053
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 0x140132010
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x14014f7a0
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 0x14014f7cd
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 8], rax
jae 0x14014f802
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 0x14014f7c0
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x14015a200
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 0x14015a22d
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 0x14015a262
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 0x14015a220
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x140194d50
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 0x1401a1880
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 0x1401a19c6
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 0x1401a19c6
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
cmp eax, 5
jge 0x1401a1902
lea r9, [0x140400648]
mov r8d, 0x8c
lea rdx, [0x140400660]
lea rcx, [0x1404006a8]
call fcn.1400586d0
test eax, eax
je 0x1401a1902
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 0x1401a1930
mov rax, qword [rsp + 0x20]
add rax, 0x10
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 8], rax
jne 0x1401a1957
lea r9, [0x1404006c8]
mov r8d, 0x8d
lea rdx, [0x1404006e0]
lea rcx, str._isblack_o___upisopen_uv_
call fcn.1400586d0
test eax, eax
je 0x1401a1957
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 0x1401a199d
lea r9, str.luaF_close
mov r8d, 0x8e
lea rdx, [0x140400760]
lea rcx, str._isdead_g__o_
call fcn.1400586d0
test eax, eax
je 0x1401a199d
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.1401a19d0
jmp 0x1401a189c
add rsp, 0x48
ret
Function at 0x1401b4110
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 0x1401b41e1
lea r9, str.hashpointer
mov r8d, 0x49
lea rdx, [0x14040f270]
lea rcx, [0x14040f2d0]
call fcn.1400586d0
test eax, eax
je 0x1401b41e1
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 0x1402c6e40
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 0x1402c6f42
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x1402c6f42
mov qword [rsp + 0x20], 0
jmp 0x1402c6ec5
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x4d8]
call fcn.14007e070
cmp qword [rsp + 0x20], rax
jae 0x1402c6f3d
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x4d8]
call fcn.14007d380
mov rcx, rax
call fcn.14001dff0
mov rdx, rax
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1402c6f38
cmp dword [rsp + 0x4c], 0x19
jbe 0x1402c6f38
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 0x1402c6f83
jmp 0x1402c6eb8
jmp 0x1402c6e95
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 0x1402c6f90
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.1402c7260
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400085d0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
call fcn.14000ab80
mov qword [rsp + 0x68], rax
jmp 0x1402c6fea
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x28], rax
je 0x1402c7240
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rdx, [0x14044a250]
lea rcx, [rsp + 0xe8]
call fcn.140009a50
nop
lea rdx, [0x14044a254]
lea rcx, [rsp + 0xc8]
call fcn.140009a50
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14001dff0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
call fcn.14001e0b0
mov qword [rsp + 0x70], rax
jmp 0x1402c7066
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x30], rax
je 0x1402c709e
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.140018eb0
jmp 0x1402c7058
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.14001dff0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x58]
call fcn.14001e0b0
mov qword [rsp + 0x78], rax
jmp 0x1402c70d9
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x38], rax
je 0x1402c7111
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.140018eb0
jmp 0x1402c70cb
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xe8]
call fcn.1400209c0
cmp rax, 0xffffffffffffffff
je 0x1402c7220
cmp qword [rsp + 0x128], 0
je 0x1402c71dc
mov r8d, 0x1000
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x20]
lea rcx, [rsp + 0x98]
call fcn.140013b50
lea rcx, [rsp + 0x98]
call fcn.14001f3f0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x98]
call fcn.14001f3f0
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.140017680
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xc8]
call fcn.140017380
nop
lea rcx, [rsp + 0xe8]
call fcn.140017380
nop
lea rcx, [rsp + 0xb0]
call fcn.1402c6c00
mov rax, qword [rsp + 0x90]
jmp 0x1402c724f
lea rcx, [rsp + 0xc8]
call fcn.140017380
nop
lea rcx, [rsp + 0xe8]
call fcn.140017380
jmp 0x1402c6fdc
lea rcx, [rsp + 0xb0]
call fcn.1402c6c00
xor eax, eax
add rsp, 0x118
ret