joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011d714
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
movups xmm0, xmmword [rcx]
mov rdi, rdx
mov rbx, rcx
movups xmm1, xmmword [rcx + 0x10]
mov word [rbp - 0x36], 0x3433
movups xmmword [rbp + 0x37], xmm0
mov dword [rbp - 0x2c], 0x666564
movups xmmword [rbp + 0x47], xmm1
mov word [rbp - 0x39], 0x3130
mov word [rbp - 0x31], 0x3938
mov word [rbp - 0x2e], 0x6362
mov word [rbp - 0x33], 0x3736
mov byte [rbp - 0x2f], 0x61
mov byte [rbp - 0x37], 0x32
mov byte [rbp - 0x34], 0x35
call fcn.14011d84c
xor ecx, ecx
lea r8, [rbp + 0x37]
sub r8, rbx
lea r9d, [rcx + 8]
mov edx, dword [rbx]
lea rcx, [rcx + 8]
mov eax, edx
shr rax, 0x1c
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x21], al
mov eax, edx
shr rax, 0x18
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x20], al
mov eax, edx
shr rax, 0x14
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1f], al
mov eax, edx
shr rax, 0x10
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1e], al
mov eax, edx
shr rax, 0xc
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1d], al
mov eax, edx
shr rax, 8
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1c], al
mov eax, edx
shr rax, 4
and edx, 0xf
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1b], al
mov al, byte [rbp + rdx - 0x39]
mov byte [rbp + rcx - 0x1a], al
mov eax, dword [r8 + rbx]
mov dword [rbx], eax
lea rbx, [rbx + 4]
sub r9, 1
jne 0x14011d783
mov byte [rbp + rcx - 0x19], r9b
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.14000153c
lea r11, [rsp + 0xb0]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14011ed74
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
and qword [rcx + 0x28], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret

Function at 0x14011efd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xcc0
lea rbp, [rsp + 0x30]
mov r13d, WSAStartup
mov qword [rbp + 0xcd0], rbx
xor ebx, ebx
mov dword [rbp + 0x6e], 0x720075
mov rsi, rcx
mov dword [rbp + 0x56], 0x690057
mov r14d, 0x800
mov dword [rbp + 0x44], 0x630069
lea eax, [r13 - 0x2f]
mov dword [rbp + 0x38], 0x410057
mov word [rbp + 0x6c], ax
lea r11d, [r13 - 0xd]
lea eax, [rbx + 0x52]
mov dword [rbp + 0x3e], 0x5c0045
mov word [rbp + 0x3c], ax
lea r10d, [r13 - 3]
lea eax, [rbx + 0x4d]
mov dword [rbp + 0x30], 0x4f0053
mov r8d, r14d
mov word [rbp + 0x42], ax
xor edx, edx
mov dword [rbp + 0x4a], 0x73006f
lea rcx, [rbp + 0x490]
mov dword [rbp + 0x4e], 0x66006f
mov dword [rbp + 0x7e], 0x730072
mov dword [rbp + 0x34], 0x540046
mov dword [rbp + 0x64], 0x4e0020
mov dword [rbp + 0x74], 0x6e0065
mov dword [rbp + 0x82], 0x6f0069
mov dword [rbp + 0x52], 0x5c0074
mov dword [rbp + 0x68], 0x5c0054
mov dword [rbp + 0x78], 0x560074
mov dword [rbp + 0x60], 0x730077
mov dword [rbp + 0x5a], 0x64006e
mov word [rbp + 0x72], r13w
mov word [rbp + 0x48], r13w
mov dword [rbp + 0x86], WSAStartup
mov word [rbp + 0x5e], r10w
mov word [rbp + 0x7c], r11w
mov dword [rbp + 0x12], 0x64006f
mov dword [rbp + 0x16], 0x630075
mov dword [rbp + 0xc], 0x50006c
mov dword [rbp + 8], 0x610074
mov dword [rbp + 0x1a], 0x490074
mov dword [rbp + 4], 0x690067
mov dword [rbp + 0x1e], 0x64
mov dword [rbp], 0x690044
mov word [rbp + 0x10], r13w
call fcn.1400b0430
lea rax, [rbp + 0xce0]
mov dword [rbp + 0xcd8], r14d
mov r9d, 0x101
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
call fcn.1401170dc
test eax, eax
jne 0x14011f217
mov rcx, qword [rbp + 0xce0]
lea rax, [rbp + 0xcd8]
mov qword [rsp + 0x28], rax
lea rdx, [rbp]
lea rax, [rbp + 0x490]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call fcn.140117014
test eax, eax
jne 0x14011f20b
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x400
call fcn.1400b0430
mov r8d, dword [rbp + 0xcd8]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x490]
call fcn.14011f238
call fcn.140012fd8
lea rcx, [rbp + 0x90]
mov edi, eax
call fcn.1400be0d0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14011f1f9
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14011f1d0
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400ae570
sub rsp, rcx
mov r8d, edx
mov r9d, edi
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14004228c
mov rbx, rax
or r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.1400ceac4
mov rcx, qword [rbp + 0xce0]
call fcn.140118428
mov rbx, qword [rbp + 0xcd0]
lea rsp, [rbp + 0xc90]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14011f2f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rbx, rcx
mov edi, 0x200
mov r8d, edi
lea rcx, [rbp - 0x70]
xor edx, edx
call fcn.1400b0430
mov r10d, reloc.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0x1d8], edi
lea rax, [rbp + 0x1e8]
mov dword [rsp + 0x70], 0x740066
mov r9d, 0x20019
mov dword [rbp - 0x7a], 0x700061
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x74], 0x43005c
lea r8d, [r10 + 3]
mov dword [rsp + 0x6a], 0x73006f
lea r13d, [r10 - 7]
mov word [rsp + 0x68], r8w
mov word [rbp - 0x7c], r8w
lea r15d, [r10 - 0x22]
mov word [rbp - 0x76], r13w
mov dword [rsp + 0x58], 0x410057
mov dword [rsp + 0x78], 0x790072
mov dword [rsp + 0x60], 0x4d005c
mov dword [rsp + 0x7c], 0x740070
mov dword [rsp + 0x64], 0x630069
mov dword [rbp - 0x80], 0x67006f
mov dword [rsp + 0x5c], 0x450052
mov dword [rsp + 0x50], 0x4f0053
mov dword [rsp + 0x54], 0x540046
mov dword [rbp - 0x74], 0x79
mov word [rsp + 0x6e], r10w
mov qword [rsp + 0x20], rax
call fcn.1401170dc
test eax, eax
jne 0x14011f4bf
mov rcx, qword [rbp + 0x1e8]
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1e0]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x38], 0x6e0069
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], 0x64
mov dword [rsp + 0x3c], 0x470065
mov dword [rsp + 0x32], 0x630061
mov dword [rsp + 0x40], 0x690075
mov word [rsp + 0x30], r15w
mov word [rsp + 0x36], r13w
call fcn.140117014
test eax, eax
je 0x14011f49e
lea rax, [rbp + 0x1e8]
mov r9d, 0x20119
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1401170dc
test eax, eax
jne 0x14011f4bf
mov rcx, qword [rbp + 0x1e8]
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1e0]
lea rax, [rbp - 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140117014
test eax, eax
jne 0x14011f4bf
or r9, 0xffffffffffffffff
lea r8, [rbp - 0x70]
mov edx, 0x800
mov rcx, rbx
call fcn.1400ceac4
mov rcx, qword [rbp + 0x1e8]
call fcn.140118428
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001350
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x14000139c
cmp rax, rbx
jne 0x14000138f
mov ebx, 1
mov esi, ebx
jmp 0x1400013a1
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001374
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400013b7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000141c
mov eax, dword [0x140003640]
test eax, eax
jne 0x140001416
mov dword [0x140003640], ebx
lea r15, [0x1400022d8]
lea rdi, [0x1400022c0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001408
test eax, eax
jne 0x14000140c
cmp qword [rdi], 0
je 0x1400013fd
mov rax, qword [rdi]
mov rcx, qword [0x1400022a0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400013de
test eax, eax
je 0x14000141c
mov eax, 0xff
jmp 0x1400014f8
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001443
lea rdx, [0x1400022b8]
lea rcx, [0x1400022a8]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x140001450
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001484
lea rcx, [0x140003648]
call fcn.140001700
test eax, eax
je 0x140001484
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x1400022a0]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.1400011ec
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x1400014b4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x1400014c9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x1400014f8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14013f000
add rsp, 0x28
jmp 0x140001350

Function at 0x1400015ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001638
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001630
cmp dword [rcx + 0x3c], edx
jl 0x140001630
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001630
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001638
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14018e8d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14018e8dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14018e8ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14018e8d5
lea eax, [rcx + 1]
jmp 0x14018e8fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14018e90e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14018e8f4
sub eax, 3
jb 0x14018e92e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14018e97d
sar eax, 1
movsxd rbp, eax
jb 0x14018e964
jmp 0x14018e93c
add ebx, ebx
jne 0x14018e93a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14018e964
inc ecx
add ebx, ebx
jne 0x14018e94a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14018e964
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14018e95d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14018e94c
add ecx, 2
jmp 0x14018e969
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14018e892
jmp 0x14018e8dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7ac00
mov dl, 0x15
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14018e9c9
cmp rsi, rcx
jae 0x14018e9d1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14018e9b0
cmp al, 0x8f
ja 0x14018e9b0
cmp byte [rsi - 2], 0xf
je 0x14018e9b6
sub al, 0xe8
cmp al, 1
ja 0x14018e99a
cmp rsi, rcx
jae 0x14018e9d1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14018e9a0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14018e9d1
lodsb al, byte [rsi]
jmp 0x14018e9b0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x18b000]
mov eax, dword [rdi]
or eax, eax
je 0x14018ea2e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1968c8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14018e9de
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14018ea28
mov qword [rbx], rax
add rbx, 8
jmp 0x14018e9fe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14018ea68
cmp al, 0xef
ja 0x14018ea5a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14018ea3a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14018ea49
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x257]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14018eae7], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14018eae7
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14018ead7
sub rsp, 0xffffffffffffff80
jmp 0x14004bd18
Function at 0x14000ade0
Capabilities:
Delete network filter via wfp api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140011050]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rcx + 8]
mov r13d, edx
mov r15, rcx
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
cmp dword [r15], r13d
jne 0x14000afa5
mov rsi, qword [r15 + 0x280]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
xor edx, edx
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionBegin0
mov r12d, eax
lea rdi, [r15 + 0x250]
lfence
test eax, eax
jns 0x14000ae66
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionAbort0
jmp 0x14000af36
xor ebp, ebp
mov qword [rsp + 0x20], rdi
lea r14, [r15 + 0x190]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
lea rcx, [rsp + 0x28]
cmp dword [r15], r13d
jne 0x14000af92
movups xmm0, xmmword [r14 - 0xc0]
mov ebx, dword [rdi]
movups xmm1, xmmword [r14]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
test ebx, ebx
je 0x14000aee6
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmFilterDeleteByKey0
test eax, eax
js 0x14000aefe
lfence
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmCalloutDeleteByKey0
mov r12d, eax
test eax, eax
js 0x14000aefe
inc ebp
lea rbx, [r15 + 8]
add rdi, 4
add r14, 0x10
cmp ebp, 0xc
jb 0x14000ae80
test r12d, r12d
jns 0x14000af10
lfence
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionAbort0
mov rdi, qword [rsp + 0x20]
jmp 0x14000af32
lfence
mov rbx, qword [rsp + 0x20]
mov rcx, rsi
mov rdi, rbx
call sub.fwpkclnt.sys_FwpmTransactionCommit0
test eax, eax
jns 0x14000af32
lfence
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionAbort0
lea rbx, [r15 + 8]
xor esi, esi
lea rbp, [r15 + 0xd0]
nop
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
cmp dword [r15], r13d
jne 0x14000afa5
movups xmm0, xmmword [rbp]
mov ebx, dword [rdi]
lea rcx, [rsp + 0x28]
mov dword [rdi], 0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
test ebx, ebx
je 0x14000af7d
lea rcx, [rsp + 0x40]
call sub.fwpkclnt.sys_FwpsCalloutUnregisterByKey0
inc esi
lea rbx, [r15 + 8]
add rbp, 0x10
add rdi, 4
cmp esi, 0xc
jb 0x14000af40
jmp 0x14000afb0
lfence
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov rcx, rsi
call sub.fwpkclnt.sys_FwpmTransactionAbort0
jmp 0x14000afb0
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000b160
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140002330
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov r8, rdi
sub r8, rdx
nop dword [rax + rax]
movzx ecx, word [rdx]
movzx eax, word [rdx + r8]
sub ecx, eax
jne 0x140002394
add rdx, 2
test eax, eax
jne 0x140002380
test ecx, ecx
je 0x1400023bb
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002370
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x1400023d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002411
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
movsxd rbx, eax
mov rdx, rbx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x140002484
cmp dword [rsi], 0x905a4d
jne 0x140002484
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x140002620
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
movsxd rdx, ecx
lea rcx, [0x1400025d0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x1400eab00]
add rsp, 0x28
ret
Function at 0x140005bd0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rbx, rcx
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
mov rax, rcx
sub rax, r8
xor r12d, r12d
cmp rax, 3
jb 0x140005c8c
lea rax, [r8 + 3]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x140005c20
mov rdi, qword [rbx]
lea rax, [0x14007d81b]
mov r14d, 3
lea rsi, [0x14007d818]
cmp rax, rdi
jbe 0x140005c54
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140005c54
cmp rdi, rsi
ja 0x140005c4c
mov rbp, r12
jmp 0x140005c57
mov rbp, rdi
sub rbp, rsi
jmp 0x140005c57
mov rbp, r14
lea rcx, [rdi + 3]
inc r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rbp]
sub r14, rbp
lea rdx, [rsi + 3]
add rdx, rbp
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140005cb4
mov r14d, 3
mov qword [rsp + 0x28], r14
lea rsi, [0x14007d818]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, rbx
call fcn.140009220
lea rdi, [rbx + 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, str.cmd.exe
mov qword [rsp + 0x48], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005d17
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140005d51
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdi, [rbx + 0x18]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x140005dab
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140005da6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005dd5
mov rcx, r8
call fcn.14006be60
mov qword [rbx + 0x10], r12
mov qword [rdi], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140007100
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 0x140007128
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 0x14000714e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007150
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400071a9
test ecx, ecx
jle 0x140007189
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 0x1400071a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400071a9
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
Function at 0x1400071d0
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 0x140007201
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 0x14000721f
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 0x14000723b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000723d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007279
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 0x14000730e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400072b4
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 0x1400072ee
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 0x14000730e
cmp rbx, rax
ja 0x1400072c0
test rbx, rbx
je 0x14000730e
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