joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037048
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000023
je 0x140037099
cmp dword [rsp + 0x30], 0x80000005
jne 0x14003709f
mov eax, dword [rsp + 0x34]
jmp 0x1400370a1
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400371b0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14010ed80]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x140037209
cmp dword [rsp + 0x90], 0x7c
jge 0x140037209
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x14010d9e0]
call fcn.140037724
lea rcx, [rsp + 0x50]
call fcn.14002e894
nop
cmp qword [rsp + 0x30], 0
jne 0x14003722f
lea rdx, [0x1400458e0]
lea rcx, [rsp + 0x50]
call fcn.14002f6c4
jmp 0x14003723e
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14002f6c4
cmp dword [rsp + 0xa0], 1
jne 0x140037259
lea rdx, [0x1400458f0]
lea rcx, [rsp + 0x50]
call fcn.14002f6c4
movss xmm2, dword [0x140044920]
movss xmm1, dword [0x140045fc4]
lea rcx, [rsp + 0x48]
call fcn.14002ebdc
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.14003aef8
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14002371c
movzx eax, al
test eax, eax
je 0x1400372ce
cmp dword [rsp + 0xa0], 0
jne 0x1400372ce
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.14002f26c
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003d880
add rsp, 0x88
ret
Function at 0x140037570
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x140045990]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140045980]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400375f9
lea rcx, [0x1400459a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserSendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400375f9
lea rcx, [0x1400459bc]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400375f9
xor al, al
jmp 0x1400376ab
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400459c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003767b
lea rcx, [0x140045a00]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserGetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003767b
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140045a08]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003767b
xor al, al
jmp 0x1400376ab
mov r8d, 0x1e
mov rdx, qword [rsp + 0x20]
lea rcx, [0x14010fed0]
call fcn.14003e3c2
mov r8d, 0x1e
mov rdx, qword [rsp + 0x28]
lea rcx, [0x14010fef0]
call fcn.14003e3c2
mov al, 1
add rsp, 0x38
ret

Function at 0x1400390e4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140039116
xor eax, eax
jmp 0x14003916c
mov r8d, 0x1e
lea rdx, [0x14010fef0]
mov rcx, qword [rsp + 0x28]
call fcn.14003e3c2
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x140039174
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400391b0
xor al, al
jmp 0x140039223
mov r8d, 0x1e
lea rdx, [0x14010fed0]
mov rcx, qword [rsp + 0x28]
call fcn.14003e3c2
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x24], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [rsp + 0x24], 0
jle 0x14003921a
mov byte [rsp + 0x20], 1
jmp 0x14003921f
mov byte [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x140039e5c
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0xc0000001
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0x240
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwOpenKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140039f32
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140039f22
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x140039fc4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwCreateKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140039fb9
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140039fb9
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
mov al, byte [rsp + 0x40]
add rsp, 0x88
ret

Function at 0x14003c338
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret
Function at 0x14003c5ac
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14003984c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x140039d04]
mov qword [rsp + 0x78], rax
lea rax, [0x140044a68]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14003c664
lea rdx, str._n_n_Bluestacks
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14002a9e8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Bluestacks_5
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14010ff28], rax
mov edx, 5
mov rcx, qword [0x14010ff28]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140044a58]
mov rcx, qword [0x14010ff28]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14010ff28]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14010ff28]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x14003d068
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xb0
mov rax, qword [0x14010ed80]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x38], 0xd
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x32]
call fcn.14002ade0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x30]
call fcn.14002f87c
mov rdx, rax
lea rcx, [rsp + 0x33]
call fcn.14002ae2c
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x68], rax
call fcn.140037570
cmp qword [0x14010f418], 0
jne 0x14003d14f
lea rcx, str.seearching_for_fn_n
call fcn.14003d278
lea rdx, str.Fortnite
lea rcx, [rsp + 0x90]
call fcn.14002e450
lea rcx, [rsp + 0x90]
call fcn.14003b3b4
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14010f418], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14003d0f9
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400449d8]
mov rcx, qword [rsp + 0x58]
call fcn.14002e83c
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14003a3e8
mov dword [0x14010f420], eax
xor edx, edx
mov rcx, qword [0x14010fe70]
call fcn.1400372f0
movzx eax, al
test eax, eax
je 0x14003d1c0
mov edx, dword [0x14010f420]
mov rcx, qword [0x14010fe70]
call fcn.14002fb08
lea rdx, str.FortniteClient_Win64_Shipping.exe
mov rcx, qword [0x14010fe70]
call fcn.1400370a8
mov qword [0x14010f410], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400381ec]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x31]
call fcn.14002f8c8
mov rdx, rax
lea rcx, [rsp + 0x34]
call fcn.14002ae2c
mov rdx, qword [0x14010f410]
lea rcx, str.BaseID:__p
call fcn.14003d278
mov dword [rsp + 0x3c], 0x1f4
mov dword [rsp + 0x40], 0x230
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x35]
call fcn.14002ad9c
call fcn.14003c5ac
call fcn.14003c738
call fcn.14003cbb0
call fcn.14003cf50
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14003d880
add rsp, 0xb0
pop rdi
ret

Function at 0x14003df88
Capabilities:
Parse pe header

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

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1030
call fcn.14000acf0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rdx
mov rdi, r8
lea rdx, [0x14002a640]
call fcn.140003c90
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.140006a00
xor edi, edi
mov rbx, rax
test rsi, rsi
je 0x1400066b3
mov rcx, rsi
test rax, rax
je 0x1400066bb
call fcn.14000f260
test eax, eax
jne 0x14000669f
nop word [rax + rax]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14000f518
test rax, rax
jne 0x14000665e
mov rcx, rsi
call fcn.14000f28c
test eax, eax
je 0x140006684
mov rcx, rsi
jmp 0x140006695
mov r9, rbx
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.14000fc24
test rax, rax
je 0x140006692
mov rcx, rbx
call fcn.14000f28c
test eax, eax
jne 0x140006692
mov rcx, rsi
call fcn.14000f260
test eax, eax
je 0x140006630
jmp 0x14000669f
mov rcx, rbx
call fcn.1400176f8
mov edi, 0xffffffff
mov rcx, rsi
call fcn.14000f1c8
mov rcx, rbx
call fcn.14000f1c8
mov eax, edi
jmp 0x1400066c5
test rbx, rbx
je 0x1400066c0
mov rcx, rbx
call fcn.14000f1c8
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000acc0
add rsp, 0x1030
pop rdi
pop rsi
pop rbx
ret

Function at 0x140007160
Capabilities:
Read file on windows

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov rsi, r8
mov ecx, 0x2000
mov r14, rdx
xor r13d, r13d
call fcn.140013e60
mov r15, rax
test rax, rax
je 0x140007273
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, r12
call fcn.14000f830
test eax, eax
js 0x140007273
mov rcx, r12
mov qword [rsp + 0x50], rbx
call fcn.140017c94
mov rbx, rax
cmp rax, rsi
jb 0x14000726e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
nop dword [rax]
cmp rbx, 0x2000
lea rbp, [rbx - 0x2000]
cmovb rbp, r13
sub rbx, rbp
cmp rbx, rsi
jb 0x140007264
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.14000f830
test eax, eax
js 0x140007264
mov r9, r12
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.14000f518
cmp rax, rbx
jne 0x140007264
sub rbx, rsi
add rbx, 1
je 0x14000724b
lea rdi, [r15 - 1]
add rdi, rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14000c710
test eax, eax
je 0x14000725d
dec rdi
sub rbx, 1
jne 0x140007230
lea rbx, [rsi - 1]
add rbx, rbp
test rbp, rbp
jne 0x1400071d0
jmp 0x140007264
lea r13, [rbp - 1]
add r13, rbx
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rcx, r15
call fcn.140013e4c
mov rax, r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x14000b75c
Capabilities:
Parse pe header

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

Function at 0x140018d28
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140018b18

Function at 0x14001b6d8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14001b70a
call fcn.1400141f4
mov dword [rax], 0x16
call fcn.14001a100
jmp 0x14001b829
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001b829
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14001b829
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14001b739
lock or dword [rcx + 0x14], 0x10
jmp 0x14001b829
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14001b74d
call fcn.140022a90
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1400194e4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14001b170
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14001b817
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14001b7e2
mov rcx, rsi
call fcn.1400194e4
cmp eax, edi
je 0x14001b7cd
mov rcx, rsi
call fcn.1400194e4
cmp eax, 0xfffffffe
je 0x14001b7cd
mov rcx, rsi
call fcn.1400194e4
movsxd rbx, eax
lea r14, [0x14004ca50]
mov rcx, rsi
sar rbx, 6
call fcn.1400194e4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14001b7d4
lea rdx, [0x14003d3d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001b7e2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14001b806
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14001b806
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14001b806
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14001b82c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14000b3c0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x14007d040]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
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]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14000b430
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000b4aa
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000b45b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140061fd0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000b4aa
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 0x14000b4ad
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14000b4ba
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x14000b4d2
inc rbx
test eax, eax
jne 0x14000b4c0
test ecx, ecx
mov rcx, rsi
je 0x14000b532
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14000b421
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000b52e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000b529
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b5a9
mov rcx, r8
call fcn.1400612f4
xor eax, eax
jmp 0x14000b575
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14000b572
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000b56d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b5a9
mov rcx, r8
call fcn.1400612f4
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.140060f30
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000be80
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 [0x14007d040]
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 0x14000bf00
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000bf7a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000bf2b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140061fd0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14000bf7a
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 0x14000bf7d
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14000bf8a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x14000bfa2
inc rbx
test eax, eax
jne 0x14000bf90
test ecx, ecx
mov rcx, rsi
je 0x14000c002
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000bef0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000bffe
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000bff9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c083
mov rcx, r8
call fcn.1400612f4
xor eax, eax
jmp 0x14000c043
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000c041
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000c03c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c083
mov rcx, r8
call fcn.1400612f4
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140060f30
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3