joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e18c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14005e1fb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005e1fb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005e1fb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005e1fb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005e1fb
cmp dword [rcx + 0x84], 0xe
jbe 0x14005e1fb
cmp dword [rcx + 0xf8], 0
je 0x14005e1fb
mov ecx, ebx
call fcn.14005e2b8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14005e088
nop
cmp dword [rbp + 0x20], 0
je 0x14005e249
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005e254
int3
xor r8d, r8d
xor edx, edx
jmp 0x14005e18c

Function at 0x14005e39c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14005e1fb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005e1fb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005e1fb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005e1fb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005e1fb
cmp dword [rcx + 0x84], 0xe
jbe 0x14005e1fb
cmp dword [rcx + 0xf8], 0
je 0x14005e1fb
mov ecx, ebx
call fcn.14005e2b8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14005e088
nop
cmp dword [rbp + 0x20], 0
je 0x14005e249
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005e254
int3
xor r8d, r8d
xor edx, edx
jmp 0x14005e18c
Function at 0x14006fdf4
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 0x14006fe7b
mov rsi, rbx
cmp word [rax], bp
je 0x14006fe3a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14006fe24
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14006fe20
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14006b618
mov rdi, rax
test rax, rax
je 0x14006fe68
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140075a30
mov rbp, rdi
xor ecx, ecx
call fcn.14006c000
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 0x140075880
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400758a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400758a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400017b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140007094]
mov rbx, rcx
test esi, esi
jle 0x1400018e0
mov rax, qword [0x140007098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400017fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001885
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017e0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001902
mov rax, qword [0x140007098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140007098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400018e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000187e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001890
add dword [0x140007094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140007098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000187e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001808
mov rax, qword [0x140007098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e70
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001ecc
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 0x140001ec3
test rsi, rsi
je 0x140001ec3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001ea8
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 0x1400020e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400020f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002100
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400011e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140001337
mov rdx, qword [str.DbgBreakPoint]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.DbgUiRemoteBreakin]
mov rcx, rbx
mov qword [0x140005088], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.NtContinue]
mov rcx, rbx
mov qword [0x1400050a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov qword [0x1400050b8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.ntdll
mov rbx, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001292
lea rdx, str.NTDLL
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140001337
mov qword [rsp + 0x50], rbp
lea rbx, [0x140005088]
mov qword [rsp + 0x58], rsi
xor ebp, ebp
mov esi, ebp
mov qword [rsp + 0x60], rdi
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbx + 8]
mov r9d, 0x40
mov rdx, qword [rbx]
mov rcx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9, qword [rbx + 8]
mov r8, rdi
mov rcx, rax
mov qword [rsp + 0x20], rbp
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x30]
mov rcx, rax
mov r8, qword [rbx + 8]
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test edi, edi
je 0x140001328
inc esi
add rbx, 0x18
cmp esi, 3
jb 0x1400012b0
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001a90
add rsp, 0x40
pop rbx
ret
Function at 0x1400016a0
Capabilities:
Create thread
Terminate process

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov ecx, 8
call fcn.140001ab0
lea rcx, [0x140001660]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140001a50]
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 0x14000186e
cmp dword [rsp + 0x58], ebx
je 0x140001862
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001862
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov ecx, 8
call fcn.140001ab0
lea rcx, [fcn.1400011e0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140001a50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140001852
cmp dword [rsp + 0x48], ebx
je 0x140001846
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001846
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, str.Mc_Kelvinho___Pokas_ideia_777
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x1400017ed
nop
cmp ebx, 0x2710
jge 0x1400017ed
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0x1f4
lea rdx, str.Mc_Kelvinho___Pokas_ideia_777
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400017c0
lea rdx, str.Mc_Kelvinho___Pokas_ideia_777
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14000180a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140001350
call fcn.140001350
nop
cmp dword [rsp + 0x48], 0
je 0x140001823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rsp + 0x58], 0
je 0x140001831
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001a90
add rsp, 0x70
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140002470
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
lea rdi, [rsp + 0x20]
mov ecx, 0x98
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x290]
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x278], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x14000250d
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x14000250d
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x14000250b
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x14000251d
jmp 0x1400024c9
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14000c200]
call fcn.140007320
mov rax, rdi
add rsp, 0x280
pop rdi
ret
Function at 0x140004b50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x30]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
je 0x140004b95
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140004b9c
mov al, 1
jmp 0x140004d36
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa0], rax
call fcn.140005910
mov dword [rsp + 0xa8], eax
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xe0]
call qword [rsp + 0xa0]
mov dword [rsp + 0xac], eax
call fcn.140005910
mov dword [rsp + 0xb0], eax
mov edx, dword [rsp + 0xac]
mov ecx, dword [rsp + 0xb0]
call fcn.140005920
movzx eax, al
test eax, eax
je 0x140004c09
xor al, al
jmp 0x140004d36
mov qword [rsp + 0x30], 0x20
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
add rcx, 0x74
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x48]
mov rdx, rcx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x140004c8b
cmp dword [rsp + 0xc0], 1
je 0x140004c97
cmp dword [rsp + 0xc0], 3
je 0x140004d24
jmp 0x140004d34
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jbe 0x140004cf2
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x98]
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rsp + 0x98], rax
je 0x140004cf2
xor al, al
jmp 0x140004d36
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140004d0f
mov dword [rsp + 0xc4], 1
jmp 0x140004d1a
mov dword [rsp + 0xc4], 0
movzx eax, byte [rsp + 0xc4]
jmp 0x140004d36
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140004d36
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14000ca90]
call fcn.140007320
mov rax, rdi
add rsp, 0xd0
pop rdi
ret
Function at 0x140006d70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140006daa
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.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 0x140006e99
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x50], 0
jle 0x140006e41
cmp qword [rsp + 0x28], 0
jle 0x140006e41
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x50], rax
jge 0x140006dea
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400057c0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x140006e89
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140006e89
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.ucrtbased.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 + 0x20]
sub rcx, rax
mov rax, rcx
add rsp, 0x30
pop rdi
ret
Function at 0x140007780
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140007d90
movzx eax, al
test eax, eax
jne 0x1400077a0
mov ecx, 7
call fcn.140009180
nop
mov byte [rsp + 0x20], 0
call fcn.140007bc0
mov byte [rsp + 0x21], al
cmp dword [0x140012358], 1
jne 0x1400077c4
mov ecx, 7
call fcn.140009180
nop
jmp 0x14000781c
cmp dword [0x140012358], 0
jne 0x140007817
mov dword [0x140012358], 1
lea rdx, [0x14000b618]
lea rcx, [0x14000b600]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x1400077f8
mov eax, 0xff
jmp 0x140007921
lea rdx, [0x14000b5f8]
lea rcx, [0x14000b5e0]
call sub.ucrtbased.dll__initterm
mov dword [0x140012358], 2
jmp 0x14000781c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140007f80
call fcn.140009150
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140007879
mov rcx, qword [rsp + 0x30]
call fcn.140007ef0
movzx eax, al
test eax, eax
je 0x140007879
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14000b5b8]
nop
call fcn.140009160
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400078ad
mov rcx, qword [rsp + 0x38]
call fcn.140007ef0
movzx eax, al
test eax, eax
je 0x1400078ad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.140007960
mov dword [rsp + 0x28], eax
call fcn.1400093a0
movzx eax, al
test eax, eax
jne 0x1400078cc
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400078db
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.140007fb0
mov eax, dword [rsp + 0x28]
jmp 0x140007921
add rsp, 0x68
ret
Function at 0x1800018d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x18000c040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
xor bpl, bpl
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800019ec
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800019e3
mov qword [rsp + 0x280], rbx
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180001950
cmp qword [rdi + 0x18], 7
mov r8, rdi
mov rdx, qword [rdi + 0x10]
jbe 0x18000196b
mov r8, qword [rdi]
cmp rdx, rax
jne 0x1800019c5
lea rax, [rsp + 0x4c]
test rdx, rdx
je 0x180001996
lea rcx, [rsp + 0x4c]
sub r8, rcx
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x1800019c5
add rax, 2
sub rdx, 1
jne 0x180001982
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 0x1800019c5
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bpl, 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180001940
mov rbx, qword [rsp + 0x280]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bpl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180006d30
lea r11, [rsp + 0x270]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180001a20
Capabilities:
Download url
Receive data

Disassembly:
sub rsp, 0xa8
cmp qword [rdx + 0x18], 7
jbe 0x180001a31
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe 0x180001a3b
mov rcx, qword [rcx]
mov r8, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x180001a61
add rsp, 0xa8
ret
movabs rax, 0xa03d5369fd73b981
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xb0884d72461492a3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x76dba37a2c1981e0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0xcb93cd43276d3b57
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0xd41d370c911ad8c7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
movabs rax, 0xdfe423052970b2cc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
movabs rax, 0x10fbc6125839e581
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
movabs rax, 0xcb93cd430908573e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x40]
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x80]
mov qword [rsp + 0x98], rax
xorps xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1800011d0
lea rdx, [0x18000ab38]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x180002900
Capabilities:
Check if file exists
Delete file

Disassembly:
sub rsp, 0x98
cmp qword [rcx + 0x18], 7
jbe 0x180002911
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180002926
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x18000292e
add rsp, 0x98
ret
movabs rax, 0xa03d5369fd73b981
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xba9046694c1492a3
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0x7c92a0323d5191a1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
movabs rax, 0xcb93cd430908795b
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
movabs rax, 0xd41d370c911ad8c7
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
movabs rax, 0xdfe423052970b2cc
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movabs rax, 0x10fbc6125839e581
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x80], rax
movabs rax, 0xcb93cd430908573e
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x30]
movdqa xmm1, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x70]
mov qword [rsp + 0x88], rax
xorps xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1800011d0
lea rdx, [0x18000ab38]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x180002a50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x18000c968]
test rcx, rcx
je 0x180002a80
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x18000c968]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x18000c968], 0
add rsp, 0x28
ret