joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x140001644
mov rbx, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x140001644
cmp word [rax + rcx + 0x14], 0x78
jb 0x140001644
mov rsi, r8
mov rdi, rdx
mov edx, dword [rax + rcx + 0x88]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x14006a010]
test rax, rax
je 0x140001644
cmp rdi, 0xffff
mov qword [rsp + 0x20], rsi
jbe 0x14000166c
mov r14, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x14006a010]
mov r15, rax
mov eax, dword [r14 + 0x18]
test rax, rax
je 0x140001644
lea rsi, [r15 + rax*4]
lea r13, [rdi + 1]
mov rbp, r15
mov r12, rsi
sub r12, rbp
mov rax, r12
sar rax, 2
shr r12, 0x3f
add r12, rax
and r12, 0xfffffffffffffffe
mov edx, dword [rbp + r12*2]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x14006a010]
mov cl, byte [rdi]
test cl, cl
je 0x140001619
mov rdx, r13
cmp cl, byte [rax]
jne 0x14000161b
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140001609
xor ecx, ecx
lea r12, [r12*2]
add r12, rbp
movzx eax, byte [rax]
cmp cl, al
je 0x140001648
movzx ecx, cl
lea rdx, [r12 + 4]
cmp ecx, eax
cmovg rbp, rdx
cmovs rsi, r12
cmp rbp, rsi
jne 0x1400015d3
xor eax, eax
jmp 0x140001676
mov edx, dword [r14 + 0x24]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x14006a010]
sub r12, r15
sar r12, 1
movzx edi, word [rax + r12]
add di, word [r14 + 0x10]
mov rax, qword [rsp + 0x20]
mov word [rax], di
mov al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140006120
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140006173
mov rsi, rdx
mov rdi, rcx
mov r15d, 0xffffffff
cmp rsi, r15
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140006193
add rdi, rbx
sub rsi, rbx
jne 0x140006151
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140030190
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_rand_util_win.cc
lea r9, str.success
lea r14, [rsp + 0x20]
mov rcx, r14
mov r8d, 0x20
call fcn.14003b030
mov rcx, r14
call fcn.14003b120
jmp 0x14000616b
Function at 0x14000a720
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp byte [rcx + 0x6c], 0
je 0x14000a88d
mov rdi, rdx
mov rbx, rcx
lea r14, [rsp + 0x30]
mov qword [r14], 0
mov rcx, qword [rcx + 0x60]
mov edx, 2
mov r8, r14
call fcn.14000ab00
mov r14, qword [r14]
test eax, eax
jne 0x14000a897
mov dword [rsp + 0x24], 0
test r14, r14
je 0x14000a8a8
cmp dword [r14], 0
je 0x14000a8a0
lea rax, [rbx + 0x30]
mov qword [rsp + 0x28], rax
xor r13d, r13d
xorps xmm6, xmm6
lea r12, [rsp + 0x30]
mov rsi, qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rax, r13
shl rax, 4
test dword [r14 + rax + 0x10], 0xc0000020
jne 0x14000a864
lea r15, [r14 + rax]
add r15, 8
test rdi, rdi
je 0x14000a820
mov rax, qword [rdi]
cmp qword [rdi + 8], rax
je 0x14000a820
xor ebp, ebp
mov rdx, qword [r15]
mov rcx, rbp
shl rcx, 6
lea rcx, [rcx + rbp*4]
add rcx, rax
call rsi
test eax, eax
jne 0x14000a864
inc ebp
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
sub rcx, rax
sar rcx, 2
movabs rdx, 0xf0f0f0f0f0f0f0f1
imul rcx, rdx
cmp rcx, rbp
ja 0x14000a7e6
mov r8, qword [r15]
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x70], 0
mov ecx, 0x44
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_CopySid]
mov rdx, qword [rbx + 0x38]
cmp rdx, qword [rbx + 0x40]
jne 0x14000a875
mov rcx, qword [rsp + 0x28]
mov r8, r12
call fcn.14000a8e0
inc r13
mov eax, dword [r14]
cmp r13, rax
jb 0x14000a7b8
jmp 0x14000a8a0
mov r8d, 0x44
mov rcx, rdx
mov rdx, r12
call sub.ntdll.dll_memcpy
add qword [rbx + 0x38], 0x44
jmp 0x14000a864
mov dword [rsp + 0x24], 0x3f0
jmp 0x14000a8a8
mov dword [rsp + 0x24], eax
test r14, r14
je 0x14000a8a8
mov rcx, r14
call sub.mozglue.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140030190
mov eax, dword [rsp + 0x24]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000a8e0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rbp, qword [rsi + 8]
sub rbp, rcx
sar rbp, 2
movabs r9, 0xf0f0f0f0f0f0f0f1
mov rax, rdx
sub rax, rcx
movabs rdx, 0x7878787878787879
imul rdx
mov r15, rdx
imul rbp, r9
inc rbp
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
sar rdx, 2
imul rdx, r9
mov rax, rdx
shr rax, 1
movabs rcx, 0x3c3c3c3c3c3c3c3
mov r9, rcx
sub r9, rax
add rax, rdx
cmp rax, rbp
cmovbe rax, rbp
cmp rdx, r9
cmova rax, rcx
cmp rax, rcx
ja 0x14000aa52
mov r12, r8
mov rcx, r15
shr rcx, 0x3f
sar r15, 5
add r15, rcx
mov rcx, rax
shl rcx, 6
lea rbx, [rcx + rax*4]
cmp rax, 0x3d
jae 0x14000aa57
test rax, rax
je 0x14000aa71
mov rcx, rbx
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r14, rax
mov rax, r15
shl rax, 6
lea r13, [rax + r15*4]
lea rcx, [r14 + r13]
mov r8d, 0x44
mov qword [rsp + 0x20], rcx
mov rdx, r12
call sub.ntdll.dll_memcpy
mov r12, qword [rsi]
mov r15, qword [rsi + 8]
cmp r15, rdi
jne 0x14000aa79
cmp r12, rdi
je 0x14000a9ff
mov r13, r14
mov r8d, 0x44
mov rcx, r13
mov rdx, r12
call sub.ntdll.dll_memcpy
add r13, 0x44
add r12, 0x44
cmp r12, rdi
jne 0x14000a9de
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000aa20
mov rdx, qword [rsi + 0x10]
sub rdx, rdi
cmp rdx, 0x1000
jae 0x14000aad7
mov rcx, rdi
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
mov qword [rsi], r14
mov rax, rbp
shl rax, 6
lea rax, [rax + rbp*4]
add rax, r14
mov qword [rsi + 8], rax
add rbx, r14
mov qword [rsi + 0x10], rbx
mov rax, qword [rsp + 0x20]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140034540
lea rcx, [rbx + 0x27]
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000a9a4
xor r14d, r14d
jmp 0x14000a9a4
cmp r12, rdi
je 0x14000aaa3
mov r15, r14
mov r8d, 0x44
mov rcx, r15
mov rdx, r12
call sub.ntdll.dll_memcpy
add r15, 0x44
add r12, 0x44
cmp r12, rdi
jne 0x14000aa81
mov r15, qword [rsi + 8]
cmp r15, rdi
je 0x14000a9fc
lea r12, [r14 + r13]
add r12, 0x44
mov r8d, 0x44
mov rcx, r12
mov rdx, rdi
call sub.ntdll.dll_memcpy
add rdi, 0x44
add r12, 0x44
cmp rdi, r15
jne 0x14000aab4
jmp 0x14000a9fc
mov rax, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rdi, 0x20
jae 0x14000aaf4
add rdx, 0x27
mov rdi, rax
jmp 0x14000aa18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000c760
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov r9d, dword [rsp + 0xa0]
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0x34]
mov qword [rsp + 0x20], r15
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14000c814
lea r12, [rsp + 0x28]
mov qword [rsp + 0x20], r12
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, eax
mov r14, qword [r12]
mov r9d, dword [rsp + 0x34]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14000c814
test ebp, ebp
setne al
cmp r14, rsi
sete sil
and sil, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140030190
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14000c7f6
Function at 0x14000d350
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14000d435
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14000d3d6
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000d3cf
mov qword [rsi], rdi
call fcn.14000d450
mov r14, rax
mov r15, qword [rsp + 0x58]
call fcn.14000d460
mov rcx, qword [rax]
mov r10, qword [rcx + 8]
mov qword [rsp + 0x20], r14
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
mov rax, r10
call qword [0x14006a010]
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.14000d450
mov r14, rax
mov r15, qword [rsp + 0x58]
mov r12, qword [rsi]
call fcn.14000d460
mov rcx, qword [rax]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x20], r14
mov rcx, rax
mov rdx, r12
mov r8, rsi
mov r9, r15
mov rax, r10
call qword [0x14006a010]
mov r14, qword [rsi]
call fcn.14000d460
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov rdx, r14
mov rax, r8
call qword [0x14006a010]
mov qword [rsi], 0
jmp 0x14000d380
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmpsb byte [rsi], byte [rdi]
invalid
jg 0x1400bf87a
and eax, dword [rsi]
jo 0x1400bf860
invalid
sub eax, 0x8f97ad6f
jl 0x1400bf80e
lodsd eax, dword [rsi]
vhaddpd ymm0, ymm2, ymmword [rbx - 0x38]
sbb byte [rdi - 0x61], bh
jae 0x1400bf855
stosb byte [rdi], al
mov edi, ebp
adc al, 0x82
dec dword [rbx - 0x7fa75b29]
xlatb
movsb byte [rdi], byte [rsi]
pop rax
or byte [rdi], 0xf8
psubb mm4, qword [rdi]
Function at 0x1400128d0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r14d, edx
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r13, qword [rcx + 0x10]
mov ecx, edx
cmp r13, rcx
ja 0x140012a90
lea rdi, [rsi + 8]
cmp rcx, 0x21
mov eax, 0x20
cmovae rax, rcx
mov rbx, rax
sub rbx, r13
jbe 0x140012966
mov rcx, qword [rsi + 0x18]
sub rcx, r13
mov rax, r13
cmp rcx, rbx
jb 0x140012ab7
test rbx, rbx
jle 0x140012963
mov rdx, qword [rsi + 8]
lea rcx, [rdx + rax]
lea r9, [rbx + rcx]
lea r8, [rdx + rax]
inc r8
cmp r9, r8
cmova r8, r9
sub r8, rcx
xor edx, edx
call sub.ntdll.dll_memset
mov rax, qword [rsi + 0x10]
add rax, rbx
mov qword [rsi + 0x10], rax
mov r8, qword [rsi]
cmp qword [r8], 0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r13
je 0x140012b1e
mov r15, qword [rsi + 0x40]
add r15, r13
mov r12, qword [rsi + 8]
add r12, r13
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140012ad3
add rbx, r15
cmp rbx, r15
jbe 0x140012b1e
mov eax, dword [0x140064d70]
mov qword [rsp + 0x30], rax
dec eax
mov qword [rsp + 0x38], rax
lea rbp, [rsp + 0x50]
mov r13, qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x50], 0
mov r9, rbx
sub r9, r15
mov rcx, qword [r8]
mov qword [rsp + 0x20], rbp
mov rdx, r15
mov rdi, r8
mov r8, r12
call r13
test eax, eax
je 0x140012b26
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
lea rcx, [r14 + rdi]
inc rcx
mov rax, qword [rsi + 0x10]
mov rbx, rcx
sub rbx, rax
jbe 0x140012a80
mov rcx, qword [rsi + 0x18]
sub rcx, rax
cmp rcx, rbx
jae 0x140012a4b
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.140012b70
test al, al
je 0x140012b59
mov rax, qword [rsi + 0x10]
test rbx, rbx
jle 0x140012a7a
mov rdx, qword [rsi + 8]
lea rcx, [rdx + rax]
lea r8, [rbx + rax]
add r8, rdx
add rax, rdx
inc rax
cmp r8, rax
cmovbe r8, rax
sub r8, rcx
xor edx, edx
call sub.ntdll.dll_memset
mov rax, qword [rsi + 0x10]
add rax, rbx
mov rcx, rax
add r14, rdi
mov qword [rsi + 0x10], rcx
mov rax, qword [rsi + 8]
mov byte [rax + r14], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140030190
mov eax, r14d
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
mov rdx, rbx
call fcn.140012b70
test al, al
je 0x140012b64
mov rax, qword [rsi + 0x10]
jmp 0x140012936
lea rcx, [0x140064d74]
mov rdi, r8
call fcn.14002f024
mov r8, rdi
cmp dword [0x140064d74], 0xffffffff
jne 0x1400129b4
lea r14, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r14 + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002efc4
mov r8, rdi
jmp 0x1400129b4
xor r14d, r14d
jmp 0x140012a0e
mov rdx, qword [rsp + 0x38]
mov rax, rdx
not rax
and rax, rbx
mov rcx, rbx
sub rcx, qword [rsp + 0x30]
test ebx, edx
cmovne rcx, rax
xor r14d, r14d
mov rbx, rcx
cmp rcx, r15
mov r8, rdi
ja 0x1400129de
jmp 0x140012a0e
int3
int3
Function at 0x140016700
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400167b6
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x140016790
mov r14, qword [rsi + 8]
mov edi, dword [0x140064d70]
shl rbx, 4
xor r15d, r15d
lea r12, [rsp + 0x28]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsi]
mov rcx, qword [rax]
test rcx, rcx
je 0x140016787
mov rdx, qword [r14 + r15 + 8]
mov r9d, dword [r14 + r15]
mov qword [rsp + 0x20], r12
mov r8, rdi
call r13
add r15, 0x10
cmp rbx, r15
jne 0x140016768
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140030190
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140064d74]
call fcn.14002f024
cmp dword [0x140064d74], 0xffffffff
jne 0x140016742
lea rdi, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002efc4
jmp 0x140016742
Function at 0x140016800
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rcx], rdx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 2
lea rax, [rcx + 0x20]
mov qword [rcx + 8], rax
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140016936
mov ebx, dword [0x140064d70]
lea rax, [r14 + r15]
dec rax
xor edx, edx
div rbx
mov rcx, rax
mov rax, r14
xor edx, edx
div rbx
inc rcx
sub rcx, rax
je 0x140016915
mov r14, rax
lea rax, [rsi + 8]
mov qword [rsp + 0x28], rax
imul r14, rbx
cmp rcx, 2
mov r12d, 1
cmovae r12, rcx
lea r13, [rsp + 0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001697f
mov qword [rsp + 0x20], r13
mov rdx, r14
mov r8, rbx
mov r9d, 0x40
call rbp
test eax, eax
je 0x140016977
mov r15d, dword [rsp + 0x30]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x140016989
mov rcx, qword [rsi + 8]
shl rax, 4
mov dword [rcx + rax], r15d
mov qword [rcx + rax + 8], r14
inc qword [rsi + 0x10]
add r14, rbx
dec r12
jne 0x1400168be
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140030190
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140064d74]
call fcn.14002f024
cmp dword [0x140064d74], 0xffffffff
jne 0x14001686b
lea rbx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002efc4
jmp 0x14001686b
mov dword [rsp + 0x30], 0
mov rcx, rsi
call fcn.140016700
jmp 0x140016915
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.140036be0
test al, al
je 0x14001697f
mov rax, qword [rsi + 0x10]
jmp 0x1400168f8
Function at 0x14001a8d0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, rdx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x50], rax
test r9, r9
je 0x14001aa3f
mov ebp, dword [rsp + 0xc0]
test ebp, ebp
je 0x14001aa3f
mov rbx, r9
mov edi, r8d
mov eax, dword [0x140064d7c]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001aa4f
mov r13d, ebp
cmp r13, rbx
ja 0x14001aa9c
xor eax, eax
mov rcx, rbx
sub rcx, r13
cmovae rax, rcx
cmp rax, 0x100001
mov r12d, 0x100000
cmovae r12, rax
mov r15d, dword [0x140064d78]
mov eax, dword [0x140064d88]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14001a9bf
lea rcx, [0x140064d88]
call fcn.14002f024
cmp dword [0x140064d88], 0xffffffff
jne 0x14001a9bf
lea r14, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [r14 + 0x10]
mov qword [0x140064d80], rax
lea rcx, [0x140064d88]
call fcn.14002efc4
mov rax, qword [0x140064d80]
lea rcx, [rbx + r13]
cmp rax, rcx
cmovb rcx, rax
add rbx, r13
cmovb rcx, rax
mov edx, edi
cmp rcx, rdx
jb 0x14001aa3f
mov r8, r12
neg r8
lea rax, [r15 - 1]
and rax, r8
add rax, r12
xor r8d, r8d
sub rcx, rdx
cmovae r8, rcx
neg r15
and r15, r8
sub r15, rax
jbe 0x14001aa3f
test rax, rax
je 0x14001aa91
cmp r15, 0xffffffffffffffff
je 0x14001aa91
mov qword [rsi], r15
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140030190
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x14001aa1e
lea rcx, [0x140064d7c]
call fcn.14002f024
cmp dword [0x140064d7c], 0xffffffff
jne 0x14001a935
lea r14, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r14 + 0x28]
mov dword [0x140064d78], eax
lea rcx, [0x140064d7c]
call fcn.14002efc4
jmp 0x14001a935
int3
mov r12d, 0x100000
jmp 0x14001a95d
Function at 0x14001aab0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r14, r9
mov rbx, r8
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rcx], rdx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 2
lea rax, [rcx + 0x20]
mov qword [rcx + 8], rax
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001abcb
mov edi, dword [0x140064d70]
lea rax, [rbx + r14]
dec rax
xor edx, edx
div rdi
mov rcx, rax
mov rax, rbx
xor edx, edx
div rdi
inc rcx
sub rcx, rax
je 0x14001abaa
mov rbx, rax
lea r14, [rsi + 8]
imul rbx, rdi
cmp rcx, 2
mov r12d, 1
cmovae r12, rcx
lea r15, [rsp + 0x20]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x40
mov r9, r15
call r13
test eax, eax
je 0x14001ac0c
mov ebp, dword [rsp + 0x20]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x14001ac1e
mov rcx, qword [rsi + 8]
shl rax, 4
mov dword [rcx + rax], ebp
mov qword [rcx + rax + 8], rbx
inc qword [rsi + 0x10]
add rbx, rdi
dec r12
jne 0x14001ab62
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140030190
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140064d74]
call fcn.14002f024
cmp dword [0x140064d74], 0xffffffff
jne 0x14001ab18
lea rdi, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002efc4
jmp 0x14001ab18
mov dword [rsp + 0x20], 0
mov rcx, rsi
call fcn.140053ec0
jmp 0x14001abaa
mov edx, 1
mov rcx, r14
call fcn.140036be0
test al, al
je 0x14001ac14
mov rax, qword [rsi + 0x10]
jmp 0x14001ab8e
Function at 0x14001ae20
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 8]
test rax, rax
je 0x14001b03e
mov rdi, rcx
mov ebp, dword [rcx + 0x18]
shl ebp, 7
mov edx, ebp
or edx, 0x7f
mov ecx, dword [rcx + 0x14]
cmp edx, ecx
jb 0x14001aee8
cmp ecx, dword [rdi + 0x10]
jae 0x14001b03e
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001afbc
mov edx, dword [0x140064d70]
mov ecx, dword [rdi + 0x14]
add rcx, qword [rdi + 8]
mov r8d, 0x1000
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001b03e
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001affd
mov eax, dword [0x140064d70]
add dword [rdi + 0x14], eax
mov rax, qword [rdi + 8]
mov ecx, ebp
add rcx, rax
lea r9, [rsp + 0x30]
mov qword [r9 - 8], rdi
mov dword [r9], 0
mov qword [r9 + 8], rcx
mov qword [r9 + 0x10], rcx
xorps xmm0, xmm0
movups xmmword [r9 + 0x18], xmm0
mov dword [r9 + 0x28], 0x80
mov byte [r9 + 0x2c], 1
mov edx, 0x80
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001b055
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
test rdx, rdx
je 0x14001b062
mov r8, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x30]
mov cl, byte [rsp + 0x5c]
test r8, r8
je 0x14001af6a
test rax, rax
je 0x14001af6a
test r9d, r9d
je 0x14001af6a
test cl, cl
je 0x14001af6a
inc dword [rdi + 0x18]
mov qword [rsi], rdx
mov dword [rsi + 8], r9d
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rax
mov eax, dword [rsp + 0x48]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsi + 0x24], eax
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x28], eax
mov eax, dword [rsp + 0x54]
mov dword [rsi + 0x2c], eax
mov eax, dword [rsp + 0x58]
mov dword [rsi + 0x30], eax
mov byte [rsi + 0x34], cl
mov byte [rsi + 0x38], 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140030190
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140064d74]
call fcn.14002f024
cmp dword [0x140064d74], 0xffffffff
jne 0x14001ae8e
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002efc4
jmp 0x14001ae8e
lea rcx, [0x140064d74]
call fcn.14002f024
cmp dword [0x140064d74], 0xffffffff
jne 0x14001aedb
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002efc4
jmp 0x14001aedb
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
jmp 0x14001afa3
mov dword [rsp + 0x30], 0
jmp 0x14001af33
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov cl, byte [rsp + 0x5c]
jmp 0x14001af67