joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e1120
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
cmp rdi, 0x40000000
jbe 0x1800e115b
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1801c1c70]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x30], r15
cmovbe r15, qword [rsp + 0x30]
sub r15, 0xfff
test rsi, rsi
je 0x1800e119d
cmp rsi, r14
jb 0x1800e1195
cmp rsi, r15
jae 0x1800e1195
cmp qword [rsi + 8], 0
jne 0x1800e1365
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800e1180
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800e1229
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800e1229
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800e1229
cmp dword [rsp + 0x70], 0x10000
je 0x1800e12ab
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800e1229
sub rbx, rbp
cmp rbx, r14
jae 0x1800e11f0
test rsi, rsi
jne 0x1800e1310
cmp rdi, r15
ja 0x1800e134d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800e134d
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800e134d
cmp dword [rsp + 0x70], 0x10000
je 0x1800e12e1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800e1262
jmp 0x1800e134d
test rbx, rbx
je 0x1800e1229
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800e1310
cmp rbx, r14
jae 0x1800e11d0
jmp 0x1800e1232
test rdi, rdi
je 0x1800e134d
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800e1310
cmp rdi, r15
jbe 0x1800e1240
jmp 0x1800e134d
xor eax, eax
lea rcx, [rsi + 0x40]
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add r12, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp r12, 0xfc0
jbe 0x1800e1320
mov rax, qword [0x1801c1c70]
mov qword [rsi], rax
mov qword [0x1801c1c70], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1800f0c80
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1800f0c93
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1800f12a0
lea rdx, [0x1801b5558]
lea rcx, [rsp + 0x20]
call fcn.18010b8f4
int3

Function at 0x1800fb4dc
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1801bdad8]
xor edx, edx
jmp fcn.1800f0c80

Function at 0x1800fbe6c
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1801bdad8]
jmp fcn.1800f0c80

Function at 0x1801075cc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x180107688]
mov r9, qword [r9 + 8]
jmp fcn.1800f8e94

Function at 0x180107660
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x180107698]
mov r9, qword [r9 + 8]
jmp fcn.1800f8e94
Function at 0x1801266dc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x18012657c
call fcn.180112a64
mov dword [rax], 0x16
call fcn.18010e7c4
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180126564
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180126564
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1801265ae
lock or dword [rax + 0x14], 0x10
jmp 0x180126564
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1801265cb
mov rcx, qword [rbp + 0x10]
call fcn.1801290ec
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180124c18
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1801258b4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x180126622
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x180126564
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x18012668e
mov rcx, qword [rbp + 0x10]
call fcn.180124c18
cmp eax, 0xffffffff
je 0x180126675
mov rcx, qword [rbp + 0x10]
call fcn.180124c18
cmp eax, 0xfffffffe
je 0x180126675
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180124c18
movsxd rdi, eax
lea rsi, [0x1801be170]
mov rcx, rbx
sar rdi, 6
call fcn.180124c18
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x18012667c
lea rax, [0x1801b8550]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18012668e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1801266c4
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1801266c0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1801266c0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x180126567
jmp 0x180126534
Function at 0x180134100
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0x40]
call fcn.180133f90
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0
je 0x180134168
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, 8
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180134168
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x180134180
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180134256
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
cmp qword [rax], rcx
je 0x180134235
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x180134218
mov rcx, qword [rsp + 0x48]
call fcn.180135ea0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x180134206
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
jmp 0x180134216
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov qword [rax], rcx
jmp 0x180134228
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x10], rcx
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x180134420
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x40]
call fcn.180135ea0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x1801344a8
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
cmp qword [rax], rcx
je 0x18013448d
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18013448d
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov byte [rsp + 0x20], 1
mov edx, 0x14
mov rcx, qword [rsp + 0x28]
call fcn.180134d00
movzx eax, al
test eax, eax
je 0x1801344a8
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x180134ab0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x60]
mov edx, 1
mov rcx, rax
call fcn.180032d10
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180134c8a
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x30]
test eax, eax
jne 0x180134bda
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax]
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x28], rcx
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x180134b5a
mov edx, 0x14
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
call fcn.180134d00
mov rax, qword [rsp + 0x60]
add rax, 8
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
mov rdx, rax
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov dl, 1
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x18]
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180134bd5
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
lea rdi, [rcx + 0x38]
mov rsi, rax
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x30], 1
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x20]
mov qword [rax], rcx
jmp 0x180134c71
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
cmp qword [rax + 0x18], rcx
jne 0x180134c71
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
cmp qword [rax + 0x28], rcx
jne 0x180134c71
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov edx, 5
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180134c71
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
movzx eax, byte [rax]
cmp eax, 0xe9
jne 0x180134c71
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x20]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
mov rdi, rax
lea rsi, [rcx + 0x38]
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 8
mov rcx, qword [rsp + 0x38]
call fcn.1800ecd20
movzx eax, byte [rsp + 0x20]
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x180134d00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov byte [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.180134640
nop
lea rcx, [rsp + 0x78]
call fcn.18000c9c0
test rax, rax
jbe 0x180134ec8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180134d87
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x78]
call fcn.180004820
movzx eax, byte [rsp + 0x21]
jmp 0x180134ee0
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call fcn.18000cae0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1801344c0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180134ec8
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.180134870
movzx eax, al
test eax, eax
je 0x180134eb4
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xe0]
sub rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.1801347a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180134eb4
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
mov rcx, rax
call fcn.18010c090
test eax, eax
je 0x180134eb4
mov dword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
mov r8d, 0x40
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180134eb4
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rdi, qword [rsp + 0xe0]
mov rsi, rax
mov rcx, qword [rsp + 0xe8]
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1800ecd20
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x78]
call fcn.180004820
movzx eax, byte [rsp + 0x22]
add rsp, 0xc8
pop rdi
pop rsi
ret

Function at 0x180134fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x40], 0
je 0x180134fde
cmp qword [rsp + 0x48], 0
jne 0x180134fe0
jmp 0x18013504d
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180135008
mov edx, 8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x18013500a
jmp 0x18013504d
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
cmp qword [rax], rcx
je 0x18013504d
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18013504d
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
add rsp, 0x38
ret
Function at 0x180135dd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x10], 0
lea rcx, [0x1801c1278]
call fcn.1800a6c70
cmp qword [0x1801c0998], 0
jne 0x180135e6a
cmp qword [0x1801c0990], 0
jne 0x180135e6a
mov byte [0x1801c09a0], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x180135100]
xor edx, edx
xor ecx, ecx
call fcn.180112be0
mov qword [0x1801c0990], rax
cmp qword [0x1801c0990], 0
je 0x180135e6a
mov edx, 0xfffffffe
mov rcx, qword [0x1801c0990]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rax, qword [0x1801c0998]
inc rax
mov qword [0x1801c0998], rax
lea rcx, [0x1801c1278]
call fcn.1800a6c80
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x140001aa0
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x1408892cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1408892dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1408892c5
lea eax, [rcx + 1]
jmp 0x1408892eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1408892fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1408892e4
sub eax, 3
jb 0x14088931e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14088936d
sar eax, 1
movsxd rbp, eax
jb 0x140889354
jmp 0x14088932c
add ebx, ebx
jne 0x14088932a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140889354
inc ecx
add ebx, ebx
jne 0x14088933a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140889354
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14088934d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14088933c
add ecx, 2
jmp 0x140889359
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140889282
jmp 0x1408892cd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x41c800
mov dl, 0xb5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1408893bd
cmp rsi, rcx
jae 0x1408893c5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1408893a4
cmp al, 0x8f
ja 0x1408893a4
cmp byte [rsi - 2], 0xf
je 0x1408893aa
sub al, 0xe8
cmp al, 1
ja 0x14088938e
cmp rsi, rcx
jae 0x1408893c5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140889394
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1408893c5
lodsb al, byte [rsi]
jmp 0x1408893a4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x885000]
mov eax, dword [rdi]
or eax, eax
je 0x14088942e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x8895cc]
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 0x1408893d2
jns 0x140889407
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140889411
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 0x140889428
mov qword [rbx], rax
add rbx, 8
jmp 0x1408893f2
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 0x140889472
cmp al, 0xef
ja 0x14088945a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14088943a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140889449
mov eax, dword [rdi]
add rdi, 4
jmp 0x140889449
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 + 0x23f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1408894c6
sub rsp, 0xffffffffffffff80
jmp 0x14007a5ac
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov r15, rcx
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov eax, 0x5a4d
cmp ax, word [rcx]
je 0x1400010a5
xor eax, eax
jmp 0x14000117c
movsxd rsi, dword [rcx + 0x3c]
add rsi, r15
cmp dword [rsi], 0x4550
je 0x1400010bb
xor eax, eax
jmp 0x14000117c
mov eax, 0x8664
cmp ax, word [rsi + 4]
je 0x1400010cd
xor eax, eax
jmp 0x14000117c
cmp dword [rsi + 0xf8], 0
je 0x1400010dd
xor eax, eax
jmp 0x14000117c
lea rdi, [rsi + 0x108]
mov qword [rsp + 0x30], rdi
mov edx, dword [rsi + 0x50]
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x14000112c
mov edx, dword [rsi + 0x50]
xor ecx, ecx
lea r9d, [rax + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov qword [rsp + 0x28], rax
test r14, r14
jne 0x140001135
xor eax, eax
jmp 0x14000117c
mov r8d, dword [rsi + 0x54]
mov rdx, r15
mov rcx, r14
call fcn.140002fb0
mov dword [rsp + 0x20], ebx
movzx eax, word [rsi + 6]
cmp ebx, eax
jge 0x140001172
mov r8d, dword [rdi + 0x10]
mov edx, dword [rdi + 0x14]
add rdx, r15
mov ecx, dword [rdi + 0xc]
add rcx, r14
call fcn.140002fb0
add rdi, 0x28
mov qword [rsp + 0x30], rdi
inc ebx
jmp 0x140001144
jmp 0x140001179
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret

Function at 0x1400011a0
Capabilities:
Link function at runtime on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, rcx
mov r14d, dword [rdx + 0x90]
add r14, rcx
mov r9d, dword [rdx + 0xe8]
mov eax, 0x90
mov ecx, 0xe8
test r9d, r9d
cmovne eax, ecx
mov r8d, dword [rax + rdx]
mov eax, 0x94
mov ecx, 0xec
cmovne eax, ecx
mov edx, dword [rax + rdx]
lea rcx, [r15 + r8]
lea r9, [rsp + 0x38]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov eax, dword [r14 + 0xc]
test eax, eax
je 0x140001285
lea rcx, [r15 + rax]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov edi, dword [r14 + 0x10]
add rdi, r15
mov qword [rsp + 0x28], rdi
mov eax, dword [r14]
test eax, eax
lea rbx, [r15 + rax]
jne 0x14000123f
mov rbx, rdi
mov qword [rsp + 0x20], rbx
mov rax, qword [rbx]
test rax, rax
je 0x14000127a
mov rcx, rsi
jns 0x140001256
movzx edx, ax
jmp 0x14000125d
lea rdx, [r15 + 2]
add rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi], rax
add rdi, 8
mov qword [rsp + 0x28], rdi
add rbx, 8
mov qword [rsp + 0x20], rbx
jmp 0x140001244
add r14, 0x14
mov qword [rsp + 0x30], r14
jmp 0x140001210
jmp 0x140001287
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001660
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret