joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d83a0
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
mov r11, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov r10, rdx
movzx eax, byte [r8 + 1]
mov rdx, qword [r11 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 4]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 5]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 6]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 7]
imul r9, rcx
xor r9, rax
mov rax, qword [r11 + 0x18]
imul r9, rcx
and rdx, r9
lea rcx, [rdx + rdx]
mov rax, qword [rax + rcx*8 + 8]
cmp rax, qword [r11 + 8]
je 0x1401d8458
mov rcx, qword [r11 + 0x18]
add rdx, rdx
mov rdx, qword [rcx + rdx*8]
mov rcx, qword [r8]
cmp rcx, qword [rax + 0x10]
je 0x1401d845a
cmp rax, rdx
je 0x1401d8458
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1401d8447
jmp 0x1401d845a
xor eax, eax
test rax, rax
jne 0x1401d8463
mov rax, qword [r11 + 8]
mov qword [r10], rax
mov rax, r10
ret
Function at 0x1401d8e90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1401d9081
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
mov r8, rbx
call fcn.140040f10
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1401d903f
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdx]
movzx r8d, byte [rcx + 0x10]
xor r8, r14
imul r8, rbp
movzx eax, byte [rcx + 0x11]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x12]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x13]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x14]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x15]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x16]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x17]
xor r8, rax
imul r8, rbp
and r8, qword [rsi + 0x30]
mov r11, r8
shl r11, 4
add r11, qword [rsi + 0x18]
add r8, r8
mov rax, qword [rsi + 0x18]
lea rdi, [rax + r8*8]
cmp qword [r11], rbx
jne 0x1401d8fb4
mov qword [r11], rcx
mov qword [rdi + 8], rcx
jmp 0x1401d9033
mov rax, qword [rdi + 8]
mov r8, qword [rax + 0x10]
cmp qword [rcx + 0x10], r8
jne 0x1401d8ff1
mov r8, qword [rax]
cmp r8, rcx
je 0x1401d8feb
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov rax, qword [rdx + 8]
mov qword [rax], r8
mov r9, qword [r8 + 8]
mov qword [r9], rcx
mov qword [r8 + 8], rax
mov qword [rdx + 8], r10
mov qword [rcx + 8], r9
mov qword [rdi + 8], rcx
jmp 0x1401d9033
cmp qword [r11], rax
je 0x1401d900f
mov r9, qword [rcx + 0x10]
mov r8, qword [r11]
nop dword [rax]
mov rax, qword [rax + 8]
cmp r9, qword [rax + 0x10]
je 0x1401d905b
cmp r8, rax
jne 0x1401d9000
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov qword [rax + 8], r8
mov qword [rdx + 8], r10
mov qword [rcx + 8], r9
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1401d8f30
mov qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov qword [rax + 8], r8
mov qword [rdx + 8], r10
mov qword [rcx + 8], r9
jmp 0x1401d9033
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1401d9090
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1401d9281
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
mov r8, rbx
call fcn.140040f10
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1401d923f
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdx]
movzx r8d, byte [rcx + 0x10]
xor r8, r14
imul r8, rbp
movzx eax, byte [rcx + 0x11]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x12]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x13]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x14]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x15]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x16]
xor r8, rax
imul r8, rbp
movzx eax, byte [rcx + 0x17]
xor r8, rax
imul r8, rbp
and r8, qword [rsi + 0x30]
mov r11, r8
shl r11, 4
add r11, qword [rsi + 0x18]
add r8, r8
mov rax, qword [rsi + 0x18]
lea rdi, [rax + r8*8]
cmp qword [r11], rbx
jne 0x1401d91b4
mov qword [r11], rcx
mov qword [rdi + 8], rcx
jmp 0x1401d9233
mov rax, qword [rdi + 8]
mov r8, qword [rax + 0x10]
cmp qword [rcx + 0x10], r8
jne 0x1401d91f1
mov r8, qword [rax]
cmp r8, rcx
je 0x1401d91eb
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov rax, qword [rdx + 8]
mov qword [rax], r8
mov r9, qword [r8 + 8]
mov qword [r9], rcx
mov qword [r8 + 8], rax
mov qword [rdx + 8], r10
mov qword [rcx + 8], r9
mov qword [rdi + 8], rcx
jmp 0x1401d9233
cmp qword [r11], rax
je 0x1401d920f
mov r9, qword [rcx + 0x10]
mov r8, qword [r11]
nop dword [rax]
mov rax, qword [rax + 8]
cmp r9, qword [rax + 0x10]
je 0x1401d925b
cmp r8, rax
jne 0x1401d9200
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov qword [rax + 8], r8
mov qword [rdx + 8], r10
mov qword [rcx + 8], r9
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1401d9130
mov qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov qword [rax + 8], r8
mov qword [rdx + 8], r10
mov qword [rcx + 8], r9
jmp 0x1401d9233
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1401da170
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x40]
lea rcx, [0x140403ac0]
call fcn.1401b5950
nop
lea rcx, [rsp + 0x40]
call fcn.1401d8ce0
mov byte [rax], dil
lea ecx, [rdi + 8]
call fcn.1401f0dd4
test rax, rax
je 0x1401da1ca
lea rcx, [0x1401da890]
mov qword [rax], rcx
jmp 0x1401da1cd
mov rax, rdi
mov qword [rsp + 0x38], rax
mov ebx, 2
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1401d7c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401da2f6
mov qword [rsp + 0x38], rdi
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
cmp dword [0x140403888], 0
je 0x1401da227
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movups xmmword [0x140403880], xmm1
cmp dword [rsp + 0x68], 0
je 0x1401da24a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call sub.MSVCP140.dll__Xtime_get_ticks
imul rcx, rax, 0x64
add rcx, 0x3b9aca00
movabs rax, 0x112e0be826d694b3
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x60], rdx
imul rax, rdx, 0x3b9aca00
sub rcx, rax
mov dword [rsp + 0x68], ecx
mov rcx, qword [rsp + 0x50]
call sub.MSVCP140.dll__Mtx_current_owns
test eax, eax
je 0x1401da2eb
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
lea rcx, [0x140403800]
call sub.MSVCP140.dll__Cnd_timedwait
lea rcx, [rsp + 0x40]
call fcn.1401d8ce0
movzx ebx, byte [rax]
cmp byte [rsp + 0x58], 0
je 0x1401da2ca
mov rcx, qword [rsp + 0x50]
call fcn.1401f0908
movzx eax, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401f11e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
mov ecx, 4
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x68], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1401f095c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401f09e0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.d2d1.dll_Ordinal_1
cmp byte [rcx + rax], 0
je 0x1401f09e0
dec r8
sub rdx, 1
jne 0x1401f09c6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401f1d04
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401f1d4e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401f1d4e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401f1d4e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401f1d4e
cmp dword [rcx + 0x84], 0xe
jbe 0x1401f1d4e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401f1d50
xor al, al
add rsp, 0x28
ret
Function at 0x1401f33c0
Capabilities:
Get disk information
Get file size
Read file via mapping

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x880
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x1401f3401
xor al, al
jmp 0x1401f35e5
mov qword [rsp + 0x878], rbp
lea rdx, [rsp + 0x30]
xor ebp, ebp
mov rcx, rdi
mov dword [rsp + 0x30], ebp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [rsp + 0x30]
mov word [rsi], bp
test eax, eax
jne 0x1401f3430
test edx, edx
je 0x1401f35da
shl rdx, 0x20
xor r9d, r9d
mov eax, eax
mov rcx, rdi
or rdx, rax
mov qword [rsp + 0x28], rbp
mov qword [r14], rdx
xor edx, edx
lea r8d, [r9 + 2]
mov qword [rsp + 0x870], r12
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r12, rax
test rax, rax
je 0x1401f35d2
xor r9d, r9d
mov qword [rsp + 0x20], 1
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
je 0x1401f35c9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, r15d
mov r8, rsi
mov rcx, rax
mov rdx, r14
call sub.KERNEL32.dll_K32GetMappedFileNameW
test eax, eax
je 0x1401f35be
xor edx, edx
lea rcx, [rsp + 0x460]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x460]
mov ecx, 0x1ff
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1401f35be
mov eax, dword [0x140350578]
lea rbx, [rsp + 0x460]
mov dword [rsp + 0x34], eax
movzx eax, word [0x14035057c]
mov word [rsp + 0x38], ax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
mov word [rsp + 0x34], ax
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1401f35a4
lea rcx, [rsp + 0x40]
call fcn.1400c9610
mov rdi, rax
cmp rax, 0x104
jae 0x1401f35a4
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400c97b0
test eax, eax
jne 0x1401f35a1
cmp word [rsi + rdi*2], 0x5c
jne 0x1401f35a1
lea rax, [rsi + rdi*2]
mov edx, 0x104
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
mov bpl, 1
lea rcx, [rsp + 0x250]
call fcn.1400c73d0
mov r8, r15
lea rdx, [rsp + 0x250]
mov rcx, rsi
call fcn.1400c9520
jmp 0x1401f35a4
xor bpl, bpl
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x1401f35a4
test bpl, bpl
jne 0x1401f35be
cmp word [rbx], ax
jne 0x1401f3510
mov rcx, r14
mov bl, 1
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x870]
mov rbp, qword [rsp + 0x878]
movzx eax, bl
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1401f11e0
add rsp, 0x880
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401f3610
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov byte [rdx], 0
mov rdi, r8
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov dword [rsp + 0x38], edi
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x1401f364b
mov r8, rdi
lea rdx, str._unknown_machine_name_
mov rcx, rbx
call fcn.1400c94c0
mov rcx, rbx
call fcn.1400c9590
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401f3860
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x120], 0
mov rax, rdx
mov rbx, rcx
je 0x1401f38a6
mov r9, qword [rcx + 0x120]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rbx + 0x120]
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
mov rax, rdi
je 0x1401f38ad
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401f3940
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x120], 0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
je 0x1401f39b1
cmp r8, 0xffffffffffffffff
jne 0x1401f3973
mov rcx, rdx
call fcn.1400c9590
mov rdi, rax
mov r9, qword [rsi + 0x120]
mov r8, rdi
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsi + 0x120]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
cmp rbx, rdi
sete al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401f39d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
xor eax, eax
mov esi, r8d
mov qword [r11 - 0x38], rax
mov rdi, rdx
mov qword [r11 - 0x30], rax
mov rbx, rcx
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
test r9b, r9b
je 0x1401f3aa8
xor edx, edx
lea rcx, [r11 - 0x38]
call fcn.14009b860
mov rax, qword [rbx]
lea rdx, str.Callstack:_r_n
mov r8, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0xa0]
cmp qword [rbx + 0x8c0], 0
mov rcx, rbx
mov r10, qword [rbx]
mov rax, qword [rsp + 0x90]
je 0x1401f3a7e
mov r8, qword [rbx + 0x8c0]
lea rdx, [rbx + 0x740]
mov qword [rsp + 0x28], rax
mov r9d, recv
mov byte [rsp + 0x20], 1
call qword [r10 + pe_nt_image_headers64]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov r9b, 1
mov qword [rsp + 0x20], rax
mov r8d, recv
lea rdx, [rsp + 0x30]
call qword [r10 + 0x168]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
test rdi, rdi
je 0x1401f3abb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1401f3b1c
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14009b8a0
test al, al
je 0x1401f3b0e
mov rax, qword [rbx]
lea rdx, str.Callstack:_r_n
mov r8, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0xa0]
mov rax, qword [rsp + 0x90]
lea rdx, [rsp + 0x30]
mov r10, qword [rbx]
mov r9b, 1
mov r8d, recv
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [r10 + 0x168]
test rdi, rdi
je 0x1401f3b1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1401f3b30
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.1400c58a0
mov rax, qword [rdi]
lea r8, [rsp + 0x50]
lea rdx, str.App_path
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, [0x140350c3c]
lea rdx, str.Language
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.Microsoft_Visual_C_compiler__version_1938
lea rdx, str.Compiler
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.64_bit
lea rdx, str.Addressing
mov rcx, rdi
call qword [rax + 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test eax, eax
je 0x1401f3ca8
mov edx, esi
mov qword [rsp + 0x188], rbx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1401f3c7d
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1401f3c74
lea r9, [rsp + 0x44]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [0x140327c08]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1401f3c74
mov rax, qword [rsp + 0x48]
mov rcx, rdi
mov r11, qword [rdi]
movzx edx, word [rax + 0xc]
movzx r8d, word [rax + 0xe]
movzx r10d, word [rax + 8]
movzx r9d, word [rax + 0xa]
mov dword [rsp + 0x30], edx
lea rdx, str.App_version
mov dword [rsp + 0x28], r8d
lea r8, str._u._u._u._u
mov dword [rsp + 0x20], r10d
call qword [r11 + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x188]
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401f11e0
mov rsi, qword [rsp + 0x190]
add rsp, 0x170
pop rdi
ret
mov al, 1
jmp 0x1401f3c87
Function at 0x1401f4e30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor dil, dil
mov rbx, rcx
cmp dword [rcx + 0x14], 0
je 0x1401f4f29
xor edx, edx
mov qword [rsp + 0x288], rsi
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401f4ee9
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1401f4edb
mov dil, 1
nop dword [rax + rax]
mov rax, qword [rbx]
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x28]
lea rdx, str.0x_08x__ls_r_n
mov rcx, rbx
call qword [rax + 0x78]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1401f4eb0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x1401f4efc
mov rax, qword [rbx]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x70]
mov rsi, qword [rsp + 0x288]
movzx eax, dil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401f11e0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
mov rax, qword [rcx]
lea rdx, str.kOptionReportProcessList_is_currently_disabled._Use_ReportWriter::SetOption_to_enable_it._r_n
xor r8d, r8d
call qword [rax + 0x70]
movzx eax, dil
jmp 0x1401f4f08
Function at 0x1401f6590
Capabilities:
Enumerate threads

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 4
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401f66fb
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1401f66ee
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r13, str.__exception_thread_
mov qword [rsp + 0xa8], r14
mov r15d, eax
xor r12d, r12d
nop dword [rax + rax]
cmp dword [rsp + 0x3c], ebp
jne 0x1401f66ba
mov r9d, dword [rsp + 0x38]
lea rcx, [0x140295cd0]
cmp r9d, dword [rdi + 0x738]
lea r8, str.SysThreadId__DWORD_:__u_s__Windows_thread_base_priority:__ld
mov eax, dword [rsp + 0x40]
lea rdx, str.Thread
mov r10, qword [rdi]
sete bl
cmp r9d, r15d
mov dword [rsp + 0x28], eax
sete r14b
test bl, bl
cmovne rcx, r13
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [r10 + 0x88]
test bl, bl
jne 0x1401f66ba
mov r8d, dword [rsp + 0x38]
mov edx, 1
lea ecx, [rdx + 9]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1401f66ba
mov rax, qword [rdi]
movzx r9d, r14b
mov r8d, dword [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], r12
call qword [rax + 0x158]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1401f6620
mov r15, qword [rsp + 0x60]
mov bl, 1
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x98]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x1401f670e
mov rax, qword [rdi]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x70]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401f11e0
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401f74e0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [rdx]
mov rbx, rdx
mov rdi, rcx
cmp dword [rax], 0x80000000
jae 0x1401f7508
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rdi + 0x1c], 1
jne 0x1401f757f
mov rax, qword [rbx]
cmp dword [rax], 0xc00000fd
jne 0x1401f7572
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x34]
lea r9, [rsp + 0x20]
mov rax, qword [rdi + 0x9a0]
lea r8, [fcn.1401f75e0]
dec rcx
add rax, 0x40000
not rcx
mov rdx, rbx
and rcx, rax
mov rax, qword [rdi + 0x9a0]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov qword [rsp + 0x28], rax
call fcn.1401fc080
jmp 0x1401f758f
mov rdx, rbx
mov rcx, rdi
call fcn.1401f75e0
jmp 0x1401f758f
cmp dword [rdi + 0x3c], 2
je 0x1401f758f
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rdi + 0x3c], 1
jne 0x1401f75b7
mov ebx, dword [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [rdi + 0x48]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x70]
xor eax, eax
cmp dword [rdi + 0x3c], 2
setne al
add rsp, 0x60
pop rdi
ret