joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402b44c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x14033c140]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call case.0x140276739.0
mov r13, rax
test rax, rax
jne 0x1402b453e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140269220
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.14027fde0
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.1402c3994]
jmp 0x1402b46f8
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1402b45b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140269220
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.14027fde0
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x1402b46e2
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1402b45fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140269220
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.14027fde0
mov ebx, Ordinal_79
jmp 0x1402b46d6
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x1402b462f
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.14027fde0
mov ebx, Ordinal_79
jmp 0x1402b46ce
lea rcx, [rdi + 1]
call qword [fcn.1402ce1a8]
mov rbp, rax
test rax, rax
jne 0x1402b4649
lea ebx, [rax + 0x1b]
jmp 0x1402b46ce
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x1402b46a8
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1402b471a
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1402b469f
mov edi, esi
jmp 0x1402b46a1
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x1402b4660
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.1402b4240
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.1402c3994]
mov rcx, r13
call fcn.1402c3994
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1402bd6f0
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140269220
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.14027fde0
mov ebx, Ordinal_79
jmp 0x1402b46c6
Function at 0x1402bb9c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [fcn.1402ce1a8]
mov rbx, rax
test rax, rax
jne 0x1402bba05
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1402bba50
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1402bbab2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
sub r15, 1
jne 0x1402bba70
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1402bbaf3
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140310abc]
mov r8d, 1
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140310abd]
mov r8d, 1
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1402bbac0
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x1402bbb10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.140282a80
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [fcn.1402ce1a8]
mov rbx, rax
test rax, rax
je 0x1402bbcb6
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1402bbba0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1402bbc02
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
sub r15, 1
jne 0x1402bbbc0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1402bbc43
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140310abc]
mov r8d, 1
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140310abd]
mov r8d, 1
call qword [rbp + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1402bbc10
mov rcx, qword [rsp + 0x70]
call fcn.140282a80
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x1402bbc72
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [fcn.1402c3994]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, reloc.WLDAP32.dll_Ordinal_27
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret

Function at 0x1402bd550
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1402bd5b5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1402bd560
ret
Function at 0x1402be6a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402be6f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402be6f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402be6f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402be6f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1402be6f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1402be6f4
xor al, al
add rsp, 0x28
ret

Function at 0x1402d0260
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 0x1402d00f3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402d00f3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402d00f3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402d00f3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402d00f3
cmp dword [rcx + 0x84], 0xe
jbe 0x1402d00f3
cmp dword [rcx + 0xf8], 0
je 0x1402d00f3
mov ecx, ebx
call fcn.1402d0194
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.1402cff84
cmp dword [rbp + 0x20], 0
je 0x1402d0140
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1402d0148
int3
xor r8d, r8d
xor edx, edx
jmp 0x1402d008c

Function at 0x1402e296c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1402e298c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1402cdb30
or eax, 0xffffffff
jmp 0x1402e298e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1402ebac0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1402ebae8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1402ebae8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x43e9f0
Capabilities:
Get file size

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x38], r8
lea rcx, [rbp - 0x30]
mov edx, 0xaa
mov r8d, 8
call fcn.0047bd70
mov rcx, qword [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], 0x4d430001
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0
mov qword [rbp], 0
lea rax, [rbp - 0x28]
xor edx, edx
rol rdi, 3
rol rdi, 0xd
rol rdi, 0x3d
rol rdi, 0x33
xchg rbx, rbx
lea rdx, [rbp - 0x30]
call sub.KERNEL32.dll_GetFileSizeEx
cmp eax, 0
je 0x43eab3
jmp 0x43eaf5
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x30]
mov word [rbp + 0x28], 0
mov qword [rbp + 0x20], rdx
mov rdx, qword [rbp + 0x20]
mov qword [rcx], rdx
mov rdx, qword [rbp + 0x28]
mov qword [rcx + 8], rdx
add rsp, 0xb0
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rbp - 0x58]
mov dx, ax
mov word [rbp + 0xe], dx
call fcn.00402ed0
mov rcx, qword [rbp - 0x58]
mov word [rbp + 0x18], ax
call fcn.00402780
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp + 0x10]
mov qword [rcx], rdx
mov rdx, qword [rbp + 0x18]
mov qword [rcx + 8], rdx
add rsp, 0xb0
pop rbp
ret
jmp 0x43ea85
Function at 0x454eb0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
sub rsp, 0xf0
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rcx
mov rax, rdx
mov qword [rbp - 0x48], rax
mov rax, rcx
mov qword [rbp - 0x40], rax
mov qword [rbp + 8], rdx
mov qword [rbp], rcx
call sub.KERNEL32.dll_GetCurrentProcessId
mov r8d, eax
mov ecx, 0x1fffff
xor edx, edx
mov dword [rbp - 0x34], edx
call sub.KERNEL32.dll_OpenProcess
mov r8, qword [rbp - 0x28]
mov rcx, rax
mov eax, dword [rbp - 0x34]
mov rdx, rcx
mov qword [rbp - 0x30], rdx
mov qword [rbp + 0x10], rcx
mov rdx, rsp
mov dword [rdx + 0x20], 0x40
mov edx, eax
mov r9d, 0x1000
call sub.KERNEL32.dll_VirtualAllocEx
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
mov r8, rax
mov qword [rbp - 0x18], r8
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x20], rcx
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x10], rax
mov rcx, qword [rbp + 0x28]
mov qword [rbp - 8], rcx
xor eax, eax
cmp rax, rcx
jbe 0x454f60
jmp 0x454f62
mov rax, qword [rbp - 8]
cmp rax, rax
jbe 0x454f83
jmp 0x454f85
jmp 0x454f55
mov rdx, qword [rbp - 8]
xor eax, eax
mov ecx, eax
call fcn.00406e80
mov rcx, qword [rbp - 8]
xor eax, eax
cmp rax, rcx
jbe 0x455068
jmp 0x45506d
jmp 0x454f6f
mov rdx, qword [rbp - 8]
mov rcx, rdx
call fcn.00405eb0
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
lea r8, [0x004ba70b]
mov r9d, 0xb
call fcn.0045e020
lea rcx, [rbp + 0x30]
mov edx, 0xaa
mov r8d, 8
call fcn.0047bd70
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x40]
mov r9, qword [rbp - 0x48]
lea rax, [rbp + 0x30]
mov qword [rbp + 0x38], 0x4d430001
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 8
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
lea rax, [rbp + 0x38]
xor edx, edx
rol rdi, 3
rol rdi, 0xd
rol rdi, 0x3d
rol rdi, 0x33
xchg rbx, rbx
mov rdx, qword [rbp - 0x18]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
call sub.KERNEL32.dll_WriteProcessMemory
mov r8, qword [rbp - 0x18]
xor eax, eax
mov r9d, eax
xor eax, eax
mov rcx, r9
mov rdx, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call sub.KERNEL32.dll_CreateThread
mov rcx, rax
mov qword [rbp + 0x68], rcx
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
nop
add rsp, 0xf0
pop rbp
ret
jmp 0x454f91
mov rdx, qword [rbp - 8]
xor eax, eax
mov ecx, eax
call fcn.00405eb0
int3
Function at 0x14001137a
Capabilities:
Terminate process

Disassembly:
jmp 0x1400180b0
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]
nop
add rsp, 0x28
ret
Function at 0x14001146a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019400
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019420
xor al, al
jmp 0x1400194a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019433
xor al, al
jmp 0x1400194a1
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 0x14001945d
xor al, al
jmp 0x1400194a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019471
xor al, al
jmp 0x1400194a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019483
xor al, al
jmp 0x1400194a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001949f
xor al, al
jmp 0x1400194a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140017200
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001167c
movzx eax, al
test eax, eax
jne 0x140017220
mov ecx, 7
call fcn.140011541
nop
mov byte [rsp + 0x20], 0
call fcn.140011582
mov byte [rsp + 0x21], al
cmp dword [0x140025b78], 1
jne 0x140017244
mov ecx, 7
call fcn.140011541
nop
jmp 0x14001729c
cmp dword [0x140025b78], 0
jne 0x140017297
mov dword [0x140025b78], 1
lea rdx, [0x14001f660]
lea rcx, [0x14001f330]
call fcn.1400112f8
test eax, eax
je 0x140017278
mov eax, 0xff
jmp 0x1400173a1
lea rdx, [0x14001f220]
lea rcx, [section..rdata]
call fcn.140011569
mov dword [0x140025b78], 2
jmp 0x14001729c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001152d
call fcn.140011492
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400172f9
mov rcx, qword [rsp + 0x30]
call fcn.140011267
movzx eax, al
test eax, eax
je 0x1400172f9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002c020]
nop
call fcn.1400114d8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001732d
mov rcx, qword [rsp + 0x38]
call fcn.140011267
movzx eax, al
test eax, eax
je 0x14001732d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011622
nop
call fcn.140017450
mov dword [rsp + 0x28], eax
call fcn.14001146a
movzx eax, al
test eax, eax
jne 0x14001734c
mov ecx, dword [rsp + 0x28]
call fcn.14001107d
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001735b
call fcn.140011631
nop
xor edx, edx
mov cl, 1
call fcn.14001123a
mov eax, dword [rsp + 0x28]
jmp 0x1400173a1
add rsp, 0x68
ret
Function at 0x140003800
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400da880]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rdx
xor edi, edi
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 1
jb 0x140003993
cmp qword [rcx + 0x18], 7
jbe 0x140003849
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ca2c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea rcx, [rsp + 0x48]
call fcn.14000dbe0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000387e
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x48]
call fcn.14000df10
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400038ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003999
call fcn.140077c10
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140003926
test al, 0x10
jne 0x140003926
mov bl, 1
jmp 0x140003928
xor bl, bl
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x140003969
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003964
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000398d
call fcn.140077c10
movzx eax, bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140077bf0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
call fcn.1400850bc
int3
call fcn.140001a90
int3
call fcn.1400850bc
int3
Function at 0x1400039a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400da880]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov rdi, rdx
xor esi, esi
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
psrldq xmm1, 0xc
movd eax, xmm1
or eax, 1
mov dword [rbp - 0x14], eax
mov word [rbp - 0x10], si
mov rcx, qword [r8 + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x140003bef
mov r9, rbx
cmp qword [r8 + 0x18], 7
jbe 0x140003a38
mov r9, qword [r8]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ca2c0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.14000dbe0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140003a6a
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.14000df10
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140003ae9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ae4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003bf5
call fcn.140077c10
movdqa xmm0, xmmword [0x1400cc7a0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
cmp qword [rbx + 0x18], 7
jbe 0x140003b06
mov rbx, qword [rbx]
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140003b88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.CreateProcess_failed__
lea rcx, [0x1400dc380]
call fcn.14000aa90
mov rcx, rax
mov edx, ebx
call fcn.140005f20
mov rcx, rax
lea rdx, [0x1400ca2c4]
call fcn.14000aa90
xor bl, bl
jmp 0x140003b8a
mov bl, 1
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140003bc7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003be9
call fcn.140077c10
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140077bf0
mov rbx, qword [rsp + 0x150]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret
call fcn.1400850bc
int3
call fcn.140001a90
nop
call fcn.1400850bc
nop
int3
Function at 0x140003c00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400da880]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x238
mov ecx, 2
xor edx, edx
xor sil, sil
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003c9f
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x140003c61
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140003c84
add rax, 2
test ecx, ecx
jne 0x140003c70
test edx, edx
je 0x140003c9c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003c54
jmp 0x140003c9f
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140077bf0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret