joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c0f8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000c17f
mov rsi, rbx
cmp word [rax], bp
je 0x14000c13e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000c128
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000c124
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000a034
mov rdi, rax
test rax, rax
je 0x14000c16c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140007df0
mov rbp, rdi
xor ecx, ecx
call fcn.140009ff8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140010d20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010d48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140010d48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001b2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b76
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b78
xor al, al
add rsp, 0x28
ret
Function at 0x140e530b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e53237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e530e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e530c7
add dl, dl
jne 0x140e530ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e5314e
xor eax, eax
add dl, dl
jne 0x140e530fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e53205
add dl, dl
jne 0x140e5310e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e5311b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e53128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e53135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e53142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e530d6
mov eax, 1
add dl, dl
jne 0x140e5315e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e5316b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e53153
sub eax, ebx
mov ebx, 1
jne 0x140e531a4
mov ecx, 1
add dl, dl
jne 0x140e53186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e53193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e5317b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e530d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e531c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e531cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e531b5
cmp eax, 0x7d00
jae 0x140e531f3
cmp eax, 0x500
jb 0x140e531ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e530d6
cmp eax, 0x7f
ja 0x140e531f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e530d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e5322a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e530d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007e38
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14000e0d0
mov rsi, rax
test rax, rax
je 0x140007eb4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140007eaf
cmp dword [rbx], 0x40
jb 0x140007eaf
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140007eaf
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140007eb8
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140012d5c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140018784
nop
cmp dword [0x14061c970], 1
je 0x140012d08
mov dword [0x14061c96c], 1
mov byte [0x14061c968], r12b
test ebx, ebx
jne 0x140012cf4
mov rcx, qword [0x14061ea70]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140012ce1
mov rcx, qword [0x14061ea68]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140012c80
call fcn.140013080
cmp qword [rdi], rax
jne 0x140012c80
jmp 0x140012c66
cmp rdi, rsi
jb 0x140012ce1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140013080
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14061ea70]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14061ea68]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140012cbf
cmp r13, rax
je 0x140012cdf
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140012c66
lea rdx, [0x1400227c0]
lea rcx, [0x1400227a8]
call fcn.140012ab0
lea rdx, [0x1400227d0]
lea rcx, [0x1400227c8]
call fcn.140012ab0
nop
test r12d, r12d
je 0x140012d17
mov ecx, 8
call fcn.140018684
test r12d, r12d
jne 0x140012d42
mov dword [0x14061c970], 1
lea ecx, [r12 + 8]
call fcn.140018684
mov ecx, r15d
call fcn.140012a44
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140012bd0

Function at 0x140012d68
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140012bd0
Function at 0x140014a63
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140617590]
jne 0x1400116da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400116d6
repz ret
ror rcx, 0x10
jmp 0x1400149bc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14061ca30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14061cb28]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140014a41
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14061ca30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140014a63
mov rax, qword [rsp + 0x88]
mov qword [0x14061cb28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14061cac8], rax
mov rax, qword [0x14061cb28]
mov qword [0x14061c9a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14061cab0], rax
mov dword [0x14061c990], 0xc0000409
mov dword [0x14061c994], 1
mov rax, qword [0x140617590]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140617598]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14061ca28], eax
mov ecx, 1
call fcn.140013070
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140025848]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14061ca28], 0
jne 0x140014aea
mov ecx, 1
call fcn.140013070
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140019764
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140013080
xor ebx, ebx
mov rdi, rax
cmp qword [0x14061d740], rbx
jne 0x14001986a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14001993f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001993f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14061d740], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140026908]
mov rcx, rsi
mov qword [0x14061d748], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14061d750], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14061d760], rax
test rax, rax
je 0x140019861
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14061d758], rax
jmp 0x140019871
mov rax, qword [0x14061d758]
jmp 0x140019878
mov rax, qword [0x14061d758]
mov r11, qword [0x14061d760]
cmp rax, rdi
je 0x1400198e0
cmp r11, rdi
je 0x1400198e0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14061d760]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400198e0
test rax, rax
je 0x1400198e0
call rsi
test rax, rax
je 0x1400198da
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400198da
test byte [rsp + 0x38], 1
jne 0x1400198e0
bts ebp, 0x15
jmp 0x14001991e
mov rcx, qword [0x14061d748]
cmp rcx, rdi
je 0x14001991e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001991e
call rax
mov rbx, rax
test rax, rax
je 0x14001991e
mov rcx, qword [0x14061d750]
cmp rcx, rdi
je 0x14001991e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001991e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14061d740]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14001993f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140019941
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140008e00]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140008e10]
mov dword [rax], 1
mov rax, qword [0x140008e20]
mov dword [rax], 1
mov rax, qword [0x140008d70]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140008df0]
mov dword [0x14000c00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140008ed0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140008eb0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140008d10]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x1400016a0
Capabilities:
Hash data using fnv

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp - 4], 0x811c9dc5
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::begin___const
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::end___const
mov qword [rbp - 0x28], rax
jmp 0x140001716
lea rax, [rbp - 0x20]
mov rcx, rax
call method.__gnu_cxx::__normal_iterator_wchar_t_const__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____.operator___const
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, al
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
imul eax, eax, 0x1000193
mov dword [rbp - 4], eax
lea rax, [rbp - 0x20]
mov rcx, rax
call method.__gnu_cxx::__normal_iterator_wchar_t_const__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____.operator__
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x20]
mov rcx, rax
call method.bool___gnu_cxx::operator__wchar_t_const__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t________gnu_cxx::__normal_iterator_wchar_t_const__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::al
test al, al
jne 0x1400016e1
mov eax, dword [rbp - 4]
add rsp, 0x50
pop rbp
ret
Function at 0x140001916
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x400], rcx
lea rax, [rbp + 0x3d7]
mov qword [rbp + 0x3d8], rax
nop
nop
lea rdx, [rbp + 0x3d7]
lea rax, [rbp + 0x3b0]
mov r8, rdx
lea rdx, str.Dispose.exe
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_std.allocator_wchar_t____wchar_t_const__std::allocator_wchar_t__const_
lea rax, [rbp + 0x3d7]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
lea rax, [rbp - 0x60]
mov edx, 0x410
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp - 0x60]
mov edx, 0x208
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call rax
test eax, eax
sete al
test al, al
je 0x1400019d7
lea rax, str.____Failed_to_get_system_directory.
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cerr]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x140008d50]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov ebx, 0
jmp 0x140001a07
lea rax, str.___Decrypted_and_ready_to_load_payload.
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x140008d50]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov ebx, 1
lea rax, [rbp + 0x3b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
mov eax, ebx
jmp 0x140001a55
add rsp, 0x468
pop rbx
pop rbp
ret
Function at 0x1400024c4
Capabilities:
Enumerate process modules

Disassembly:
push rbp
mov eax, 0x1040
call fcn.140004490
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xfd0], rcx
lea rdx, [rbp - 0x54]
lea rax, [rbp - 0x50]
mov r8, rdx
mov edx, 0x1000
mov rcx, rax
call sym.K32EnumProcesses
test eax, eax
sete al
test al, al
je 0x140002537
lea rax, str.____Failed_to_enumerate_processes.
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cerr]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x140008d50]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov eax, 0
jmp 0x1400025d3
mov eax, dword [rbp - 0x54]
shr eax, 2
mov dword [rbp + 0xfbc], eax
lea rax, str.___Detected
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov eax, dword [rbp + 0xfbc]
mov edx, eax
call sym.std::ostream::operator___unsigned_long_
mov rcx, rax
lea rax, str._running_processes.
mov rdx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x140008d50]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
cmp dword [rbp + 0xfbc], 0xc7
ja 0x1400025ce
lea rax, str.____Too_few_processes._Potential_sandbox_detected.
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cerr]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x140008d50]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov eax, 0
jmp 0x1400025d3
mov eax, 1
add rsp, 0x1040
pop rbp
ret
Function at 0x1400036c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140003730
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000c0a4]
test esi, esi
mov rbx, rcx
jle 0x140003860
mov rax, qword [0x14000c0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000377b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003805
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003760
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140003882
mov rax, qword [0x14000c0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000c0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003867
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400037fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003810
add dword [0x14000c0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x14000c0a8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400037fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140003788
mov rax, qword [0x14000c0a8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003df0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000c100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c0e0]
test rbx, rbx
je 0x140003e4c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003e43
test rsi, rsi
je 0x140003e43
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003e28
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140004060
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x140004070
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop

Function at 0x140004080
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004098
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400040a0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400040b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400040fd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400040f4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400040ff
add rax, 0x28
cmp rax, r9
jne 0x1400040e0
xor eax, eax
ret

Function at 0x140004100
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140004190
mov rdx, qword [0x140008d70]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000417e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000417e
cmp word [rax + 0x18], 0x20b
jne 0x14000417e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140004190
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140004169
add rbx, 0x28
cmp rbx, rdi
je 0x140004190
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140004160
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400041a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140008d70]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400041c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400041c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400041c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000421d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140004214
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400041c0
add rax, 0x28
cmp rax, r9
jne 0x140004200
xor eax, eax
ret

Function at 0x140004220
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140008d70]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000423f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140004248
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000423f
movzx ecx, word [rax + 6]
mov eax, ecx
ret