joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400de030
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov rdi, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetParent]
mov r12, rax
test rax, rax
je 0x1400de187
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x1400de073
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rdi + 0x20]
and qword [rdi + 0xc0], 0
and dword [rsp + 0x50], 0
and dword [rsp + 0x54], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
and dword [rsp + 0x80], 0
and dword [rsp + 0x84], 0
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
mov ebp, dword [rsp + 0x58]
mov esi, dword [rsp + 0x5c]
lea rcx, [rsp + 0x50]
sub ebp, dword [rsp + 0x50]
sub esi, dword [rsp + 0x54]
neg r8d
neg edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, esi
mov edx, ebp
mov rcx, r13
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbx
mov rdx, rax
mov qword [rdi + 0xc0], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x50]
mov r9d, ebp
mov dword [rsp + 0x30], ecx
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov rdi, rax
mov dword [rsp + 0x20], esi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
test rbx, rbx
je 0x1400de176
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
test r13, r13
je 0x1400de187
mov rdx, r13
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x1400df2d0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0xffdf
and cx, ax
mov eax, 0x41
cmp ax, cx
je 0x1400df2f9
mov eax, 0x42
cmp ax, cx
je 0x1400df2f9
mov eax, 0xfffffffe
jmp 0x1400df322
mov word [rsp + 0x38], cx
mov eax, 0x3a
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400df3f8
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x38], rax
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
jmp 0x1400df45e
add rsp, 0x78
ret
Function at 0x1400e6268
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400e8b44
nop
cmp dword [0x14011c330], 1
je 0x1400e6214
mov dword [0x14011c32c], 1
mov byte [0x14011c328], r12b
test ebx, ebx
jne 0x1400e6200
mov rcx, qword [0x14011d490]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400e61ed
mov rcx, qword [0x14011d488]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400e618c
call fcn.1400e5984
cmp qword [rdi], rax
jne 0x1400e618c
jmp 0x1400e6172
cmp rdi, rsi
jb 0x1400e61ed
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400e5984
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14011d490]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14011d488]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400e61cb
cmp r13, rax
je 0x1400e61eb
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400e6172
lea rdx, [0x1400fc328]
lea rcx, [0x1400fc310]
call fcn.1400e5fbc
lea rdx, [0x1400fc338]
lea rcx, [0x1400fc330]
call fcn.1400e5fbc
nop
test r12d, r12d
je 0x1400e6223
mov ecx, 8
call fcn.1400e8a44
test r12d, r12d
jne 0x1400e624e
mov dword [0x14011c330], 1
lea ecx, [r12 + 8]
call fcn.1400e8a44
mov ecx, r15d
call fcn.1400e5f50
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400e60dc

Function at 0x1400e6274
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400e60dc
Function at 0x1400f28cf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1401194d0]
jne 0x1400e83ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400e83c6
repz ret
ror rcx, 0x10
jmp 0x1400f2828
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14011ccf0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14011cde8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400f28ad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14011ccf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400f28cf
mov rax, qword [rsp + 0x88]
mov qword [0x14011cde8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14011cd88], rax
mov rax, qword [0x14011cde8]
mov qword [0x14011cc60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14011cd70], rax
mov dword [0x14011cc50], 0xc0000409
mov dword [0x14011cc54], 1
mov rax, qword [0x1401194d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1401194d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14011cce8], eax
mov ecx, 1
call fcn.1400f1a14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14010e830]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14011cce8], 0
jne 0x1400f2956
mov ecx, 1
call fcn.1400f1a14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400f3f88
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400e5984
xor ebx, ebx
mov rdi, rax
cmp qword [0x14011d1c8], rbx
jne 0x1400f408e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400f4163
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f4163
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14010e890]
mov rcx, rsi
mov qword [0x14011d1c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14011d1d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14011d1d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14011d1e8], rax
test rax, rax
je 0x1400f4085
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14011d1e0], rax
jmp 0x1400f4095
mov rax, qword [0x14011d1e0]
jmp 0x1400f409c
mov rax, qword [0x14011d1e0]
mov r11, qword [0x14011d1e8]
cmp rax, rdi
je 0x1400f4104
cmp r11, rdi
je 0x1400f4104
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14011d1e8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400f4104
test rax, rax
je 0x1400f4104
call rsi
test rax, rax
je 0x1400f40fe
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400f40fe
test byte [rsp + 0x38], 1
jne 0x1400f4104
bts ebp, 0x15
jmp 0x1400f4142
mov rcx, qword [0x14011d1d0]
cmp rcx, rdi
je 0x1400f4142
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f4142
call rax
mov rbx, rax
test rax, rax
je 0x1400f4142
mov rcx, qword [0x14011d1d8]
cmp rcx, rdi
je 0x1400f4142
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f4142
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14011d1c8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f4163
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400f4165
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1800024a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800024c8
xor eax, eax
lea r8, [0x180002400]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180002750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180002784
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180002770
ret
Function at 0x180008ba0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180008c6c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180008c6c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180008c85
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180008c5c
cmp byte [rax], 0x5c
jne 0x180008c56
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180008c56
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180008c42
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180008c53
test r8b, 0x10
jne 0x180008c56
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180008c56
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180004250
test edi, edi
jne 0x180008bc0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.180004240
int3

Function at 0x18000b030
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18000b250
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18000b137
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18000b094
mov rax, qword [0x180015008]
cmp qword [rsp + 0x20], rax
ja 0x18000b094
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18000b056
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18000b0c3
jmp 0x18000b137
cmp dword [rsp + 0x50], 0x10000
jne 0x18000b11a
cmp qword [rsp + 0x48], 0x10000
jb 0x18000b11a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000b108
mov rax, qword [rsp + 0x28]
jmp 0x18000b139
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18000b132
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18000b250
mov qword [rsp + 0x20], rax
jmp 0x18000b056
xor eax, eax
add rsp, 0x68
ret
Function at 0x18000b140
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18000b290
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18000b243
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18000b19b
mov rax, qword [0x180015008]
cmp qword [rsp + 0x20], rax
ja 0x18000b19b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18000b15d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18000b1ca
jmp 0x18000b243
cmp dword [rsp + 0x50], 0x10000
jne 0x18000b221
cmp qword [rsp + 0x48], 0x10000
jb 0x18000b221
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000b20f
mov rax, qword [rsp + 0x28]
jmp 0x18000b245
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18000b23e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18000b290
mov qword [rsp + 0x20], rax
jmp 0x18000b15d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18000b2e0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18000b870
mov qword [rsp + 0x28], 0
cmp qword [0x180015408], 0
jne 0x18000b328
cmp qword [0x180015400], 0
je 0x18000b328
mov rax, qword [0x180015400]
mov qword [0x180015408], rax
cmp qword [0x180015408], 0
je 0x18000b3ce
mov rax, qword [0x180015408]
cmp qword [rax + 0x10], 0
je 0x18000b3ce
mov rax, qword [0x180015408]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000b3ce
mov rax, qword [0x180015408]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000b3ce
mov rax, qword [0x180015408]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18000b394
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18000b39b
xor eax, eax
jmp 0x18000b549
mov rax, qword [0x180015408]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18000b549
mov rax, qword [0x180015400]
mov qword [0x180015408], rax
jmp 0x18000b3f0
mov rax, qword [0x180015408]
mov rax, qword [rax + 8]
mov qword [0x180015408], rax
cmp qword [0x180015408], 0
je 0x18000b43d
cmp qword [0x180015408], 0
je 0x18000b43b
mov rax, qword [0x180015408]
cmp qword [rax + 0x10], 0
je 0x18000b43b
mov rax, qword [0x180015408]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000b43b
mov rax, qword [0x180015408]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000b43b
jmp 0x18000b36c
jmp 0x18000b3de
mov rcx, qword [rsp + 0x60]
call fcn.18000d4a0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18000b550
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18000b547
mov rax, qword [rsp + 0x48]
mov qword [0x180015408], rax
mov rax, qword [0x180015408]
mov dword [rax], 0x52727464
mov rax, qword [0x180015408]
mov qword [rax + 0x10], 0
mov rax, qword [0x180015408]
mov rcx, qword [0x180015400]
mov qword [rax + 8], rcx
mov rax, qword [0x180015408]
mov qword [0x180015400], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180015408]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18000b4f8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18000b532
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18000b4ee
mov rax, qword [0x180015408]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18000b36c
xor eax, eax
add rsp, 0x58
ret
Function at 0x140007f40
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 [0x1400a1028]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
lea rcx, [rbp + 4]
xor edx, edx
mov r8d, 0x434
call sub.VCRUNTIME140.dll_memset
mov edx, dword [0x14016c6c8]
mov ecx, 8
mov dword [rbp], 0x438
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]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140007fd0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000804a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140007ffb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140081a60
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000804a
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 0x14000804d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14000805a
mov rdx, qword [rdi]
test rbx, rbx
je 0x14000808a
test rdx, rdx
je 0x14000808a
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140008082
inc rbx
test eax, eax
jne 0x140008070
test ecx, ecx
je 0x140008124
lea rdx, [rbp]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140007fc1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400080e2
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400080dd
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000816f
mov rcx, r8
call fcn.140080c5c
xor eax, eax
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400809b0
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
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140008167
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140008162
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000816f
mov rcx, r8
call fcn.140080c5c
mov rax, rbx
jmp 0x1400080e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400083e0
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 [0x1400a1028]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
lea rcx, [rbp + 4]
xor edx, edx
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rbp], 0x238
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 dword [rax + rax]
cmp word [rbp + 0x2c], r14w
je 0x14000851d
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140008476
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400084f0
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400084a1
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140081a60
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400084f0
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 0x1400084f3
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x140008500
mov rdx, qword [rdi]
sub rdx, rbx
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140008515
inc rbx
test eax, eax
jne 0x140008503
test ecx, ecx
je 0x1400085b7
lea rdx, [rbp]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140008460
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140008575
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140008570
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008600
mov rcx, r8
call fcn.140080c5c
xor eax, eax
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400809b0
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
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x1400085f9
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400085f4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140008600
mov rcx, r8
call fcn.140080c5c
mov eax, ebx
jmp 0x140008577
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3