joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000eb70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.140029140
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov qword [rbp + 0xfd8], rdx
mov rbx, rcx
lea rsi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xfec], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea r14, [rbp + 0xfec]
mov qword [rbp + 0xfc8], r14
lea r15, [0x140014500]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xfb0]
mov rcx, rbx
mov rdx, rsi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14000ed61
mov r12, qword [sym.imp.KERNEL32.dll_SleepEx]
lea rsi, [rbp + 0xfb0]
mov r13, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov qword [rbp + 0xfe0], rbx
mov ecx, 0xffffffff
mov edx, 1
call r12
cmp dword [rbp + 0xfec], 0
je 0x14000ec37
cmp dword [rbp + 0xff0], 0
jne 0x14000ed76
mov eax, dword [rbp + 0xff4]
test rax, rax
je 0x14000ed76
cmp eax, 0x1000
ja 0x14000edc1
xor ebx, ebx
nop word cs:[rax + rax]
cmp rbx, rax
ja 0x14000eda6
lea rdx, [rbx + rbp]
add rdx, 0xffffffffffffffb0
mov rdi, rax
mov r8d, eax
sub r8d, ebx
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r14
mov qword [rsp + 0x20], r15
mov rcx, qword [rbp + 0xfd8]
mov r9, rsi
call r13
test eax, eax
je 0x14000ed69
nop word [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r12
cmp dword [rbp + 0xfec], 0
je 0x14000ece0
cmp dword [rbp + 0xff0], 0
jne 0x14000ed6f
mov eax, dword [rbp + 0xff4]
add rbx, rax
mov rax, rdi
cmp rbx, rdi
jne 0x14000ec80
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r14
mov qword [rsp + 0x20], r15
mov rbx, qword [rbp + 0xfe0]
mov rcx, rbx
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14000ec37
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000ed76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rbp + 0xfe0]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call rsi
mov rcx, qword [rbp + 0xfd8]
call rsi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, rbx
mov qword [rbp + 0xfd0], rax
mov rdx, rax
call fcn.14002acb0
jmp 0x14000eddc
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov qword [rbp + 0xfd0], rax
mov rcx, rax
call fcn.14002ac30
ud2
Function at 0x140012240
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140031be8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140012284
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400122ea
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140012321
test eax, eax
js 0x1400122fb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140012314
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000b140
mov rcx, rax
call fcn.140003cf0
mov ecx, 7
int 0x29
ud2
Function at 0x140019ff0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14001a033
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14000a1c0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14002a730
ud2

Function at 0x14001a670
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
invalid
movzx eax, byte [0x14003c181]
mov dh, 5
invalid
sbb al, byte [rdx]
invalid
mov ecx, 0x10
mov edx, 8
call fcn.1400024b0
test rax, rax
je 0x14001a74f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov dword [rax + 8], edi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, case.0x14000d80b.354
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14001a741
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x20], ecx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
invalid
je 0x14001a718
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.1400024c0
test al, 0x7d
invalid
invalid
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.1400024c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
loop case.0x14000d41e.394
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14002a650
ud2
Function at 0x140027ac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140027b3a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140027b30
cmp r11, r10
ja 0x140027bd3
cmp r10, rdx
ja 0x140027be7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140027b32
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140027b10
jmp 0x140027ba7
ja 0x140027b3a
mov r11, r10
cmp rax, r8
jne 0x140027ae2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140027bab
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140027b80
mov r8, r10
sub ecx, r9d
jns 0x140027b9e
jmp 0x140027bad
cmp r10, rdx
je 0x140027bb9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140027bad
xor al, 1
cmp r8, rdx
jne 0x140027b60
jmp 0x140027bad
xor eax, eax
jmp 0x140027bad
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14002a7e0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002acb0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002ac30
ud2

Function at 0x140029670
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400296ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400296ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400296ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400296ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400296ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400296bc
xor al, al
add rsp, 0x28
ret
Function at 0x180001340
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 1
jne 0x1800014b8
mov qword [r11 + 8], rbx
xor eax, eax
mov qword [r11 + 0x10], rbp
xor ecx, ecx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r14
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x68], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x20]
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rdi, qword [rsp + 0x20]
movsxd rcx, dword [rdi + 0x3c]
mov ebx, dword [rcx + rdi + 0x90]
add rbx, rdi
cmp dword [rbx], 0
je 0x1800013ef
nop word [rax + rax]
mov edx, dword [rbx + 0xc]
lea rcx, str.ntdll.dll
add rdx, rdi
call fcn.18000ff90
test eax, eax
je 0x1800013ef
add rbx, 0x14
cmp dword [rbx], 0
jne 0x1800013d0
mov esi, dword [rbx]
xor ebp, ebp
mov ebx, dword [rbx + 0x10]
add rsi, rdi
add rbx, rdi
mov rax, qword [rsi]
test rax, rax
js 0x180001432
sub rsi, rbx
test rax, rax
je 0x180001432
lea rbp, [rax + rdi]
lea rdx, [rbp + 2]
lea rcx, str.NtQuerySystemInformation
call fcn.18000ff90
test eax, eax
je 0x180001432
mov rax, qword [rsi + rbx + 8]
add rbx, 8
test rax, rax
jns 0x18000140a
mov edx, 4
mov dword [rsp + 0x38], 0
mov r8d, edx
lea r9, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor r9d, r9d
lea rax, [0x1800010a0]
mov qword [rbx], rax
mov rcx, rbx
mov r8d, dword [rsp + 0x38]
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, qword [rbx]
lea r8, [rbp + 2]
lea rdx, str._s_0x_X
lea rcx, [rsp + 0x40]
call fcn.180001040
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800014f0
add rsp, 0x98
ret

Function at 0x180002cb4
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, str.FlsAlloc
xor ecx, ecx
lea r8, [0x180011d88]
lea rdx, str.FlsAlloc
call fcn.180002adc
mov rbx, rax
test rax, rax
je 0x180002cf4
mov rcx, rax
call fcn.1800021a0
mov rcx, rdi
call rbx
jmp 0x180002cfa
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180002d5c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, str.FlsGetValue
mov ecx, 2
lea r8, [0x180011db0]
lea rdx, str.FlsGetValue
call fcn.180002adc
mov rdi, rax
test rax, rax
je 0x180002d9d
mov rcx, rax
call fcn.1800021a0
mov ecx, ebx
call rdi
jmp 0x180002da5
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180002db0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, str.FlsSetValue
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180011dc8]
call fcn.180002adc
mov rsi, rax
test rax, rax
je 0x180002dfc
mov rcx, rax
call fcn.1800021a0
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x180002e07
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140fbd058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140fbd1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140fbd089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fbd06f
add dl, dl
jne 0x140fbd096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fbd0f6
xor eax, eax
add dl, dl
jne 0x140fbd0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fbd1ad
add dl, dl
jne 0x140fbd0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fbd0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fbd0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fbd0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140fbd0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140fbd07e
mov eax, 1
add dl, dl
jne 0x140fbd106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fbd113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fbd0fb
sub eax, ebx
mov ebx, 1
jne 0x140fbd14c
mov ecx, 1
add dl, dl
jne 0x140fbd12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fbd13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fbd123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fbd07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140fbd168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fbd175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fbd15d
cmp eax, 0x7d00
jae 0x140fbd19b
cmp eax, 0x500
jb 0x140fbd196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fbd07e
cmp eax, 0x7f
ja 0x140fbd19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fbd07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140fbd1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140fbd07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14145d1f8
Capabilities:
Encode data using xor

Disassembly:
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14145d221
pop rbp
sub rbp, 0x29
sub rbp, 0x145d1f8
jmp 0x14145d281
sub rsp, 0x20
jmp 0x14145d291
mov rax, 0x145d1f8
add rax, rbp
add rax, 0xcb
mov rcx, 0x64a
mov rdx, 0x5db04252
xor byte [rax], dl
inc rax
dec rcx
jne 0x14145d2b0
jmp 0x14145d2c7
sbb bl, bl
mov ebx, 0x526edbd9
push rdx
push rdx
sbb dl, bl
xchg ebx, eax
pop rdx
push rbx
push rdx
push rdx
sbb dl, byte [rbx - 0x45]
sbb dl, byte [rbp + 0x52525c92]
push rdx
sbb dl, byte [rbp + 0x52527a90]
push rdx
sbb ah, byte [rbp - 0x6cace550]
invalid
Function at 0x595110
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x59511d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x59512d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x595115
lea eax, [rcx + 1]
jmp 0x59513b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x59514e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x595134
sub eax, 3
jb 0x59516e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x5951bd
sar eax, 1
movsxd rbp, eax
jb 0x5951a4
jmp 0x59517c
add ebx, ebx
jne 0x59517a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5951a4
inc ecx
add ebx, ebx
jne 0x59518a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5951a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x59519d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x59518c
add ecx, 2
jmp 0x5951a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.005950d2
jmp 0x59511d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x96800
mov dl, 0x19
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x595209
cmp rsi, rcx
jae 0x595211
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x5951f0
cmp al, 0x8f
ja 0x5951f0
cmp byte [rsi - 2], 0xf
je 0x5951f6
sub al, 0xe8
cmp al, 1
ja 0x5951da
cmp rsi, rcx
jae 0x595211
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x5951e0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x595211
lodsb al, byte [rsi]
jmp 0x5951f0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x18f000]
mov eax, dword [rdi]
or eax, eax
je 0x59526e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x195000]
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 0x59521e
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 0x595268
mov qword [rbx], rax
add rbx, 8
jmp 0x59523e
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 0x5952a8
cmp al, 0xef
ja 0x59529a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x59527a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x595289
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 + 0x1af]
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 0x5952fc
sub rsp, 0xffffffffffffff80
jmp 0x465b00
Function at 0x140010c70
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x470], rbx
mov qword [rbp + 0x480], rsi
mov qword [rbp + 0x488], rdi
mov rax, qword [0x140423010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [0x14042b5d0]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140010cf0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140010d6a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140010d1b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400a90b0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140010d6a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140010d6d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x140010d7a
mov rcx, qword [rdi]
sub rcx, rbx
nop dword [rax]
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x140010d92
inc rbx
test eax, eax
jne 0x140010d80
mov rcx, rsi
test edx, edx
je 0x140010dc0
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140010ce0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14000efd0
xor eax, eax
jmp 0x140010dd5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbp + 0x28]
mov rcx, rdi
call fcn.14000efd0
mov rax, rbx
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400a8000
mov rbx, qword [rbp + 0x470]
mov rsi, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rbp
ret
Function at 0x140011880
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140423010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140011900
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14001197a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14001192b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400a90b0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14001197a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14001197d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rcx, rdi
jb 0x14001198a
mov rcx, qword [rdi]
sub rcx, rbx
nop dword [rax]
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x1400119a2
inc rbx
test eax, eax
jne 0x140011990
mov rcx, rsi
test edx, edx
je 0x1400119d0
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400118f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14000efd0
xor eax, eax
jmp 0x1400119e3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 8]
mov rcx, rdi
call fcn.14000efd0
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400a8000
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret