joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400133dc
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
lea rbx, str.BlackBoneDrv7.sys
mov eax, dword [0x1400f590c]
xor r14d, r14d
test eax, eax
je 0x140013464
cmp eax, 9
ja 0x140013456
cmp eax, 6
ja 0x140013448
jb 0x140013464
mov rax, qword [0x1400f5910]
cmp eax, 3
jae 0x140013448
cmp eax, 1
jbe 0x140013464
lea rbx, str.BlackBoneDrv8.sys
mov edx, 0x93
jmp 0x140013469
lea rbx, str.BlackBoneDrv81.sys
mov edx, 0x95
jmp 0x140013469
lea rbx, str.BlackBoneDrv10.sys
mov edx, 0x96
jmp 0x140013469
mov edx, 0x8e
lea r8, str.Driver
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400135af
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
lea rcx, [rbp + 0x1f]
call fcn.1400249b0
nop
lea r8, [0x1400d88e8]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000812c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.14000812c
cmp qword [rax + 0x18], 8
jb 0x1400134d2
mov rax, qword [rax]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140013516
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
call fcn.140008df4
mov qword [rbp - 0x11], r14
mov r15d, 7
mov qword [rbp - 9], r15
mov word [rbp - 0x21], r14w
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140013544
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
call fcn.140008df4
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r15
mov word [rbp - 1], r14w
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x14001356c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
call fcn.140008df4
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x37], r15
mov word [rbp + 0x1f], r14w
cmp rbx, 0xffffffffffffffff
je 0x1400135af
mov dword [rbp - 0x29], r14d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x29]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14006a730
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400135d8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rbx, str.BlackBoneDrv7.sys
mov eax, dword [0x1400f590c]
xor edi, edi
test eax, eax
je 0x14001364b
cmp eax, 9
ja 0x140013644
cmp eax, 6
ja 0x14001363b
jb 0x14001364b
mov rcx, qword [0x1400f5910]
cmp ecx, 3
jae 0x14001363b
lea rax, str.BlackBoneDrv8.sys
cmp ecx, 2
cmovb rax, rbx
mov rbx, rax
jmp 0x14001364b
lea rbx, str.BlackBoneDrv81.sys
jmp 0x14001364b
lea rbx, str.BlackBoneDrv10.sys
lea rcx, [rbp + 0x27]
call fcn.1400249b0
nop
lea r8, [0x1400d88e8]
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.14000812c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14000812c
cmp qword [rax + 0x18], 8
jb 0x140013682
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1400136a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
call fcn.140008df4
mov qword [rbp - 9], rdi
mov ebx, 7
mov qword [rbp - 1], rbx
mov word [rbp - 0x19], di
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400136d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
call fcn.140008df4
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rbx
mov word [rbp + 7], di
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x1400136f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
call fcn.140008df4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14006a730
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400167c4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov edx, 0x8b
call fcn.140012540
nop
lea rax, vtable.DlgWait.0
mov qword [rsi], rax
mov qword [rsi + 0x88], rbx
mov qword [rsi + 0x90], rdi
mov ecx, 0x10
call fcn.14006a75c
mov qword [rax], rsi
lea rcx, [0x140016a8c]
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rax
lea rbx, [rsi + 0xa0]
mov qword [rsp + 0x28], rbx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140016b14]
xor edx, edx
xor ecx, ecx
call fcn.140099a20
mov qword [rsi + 0x98], rax
test rax, rax
je 0x14001688d
mov dword [rsi + 0xa8], edi
lea rcx, [rsi + 0x70]
mov eax, 0x3fa
mov word [rsp + 0x48], ax
lea rdx, [rsp + 0x48]
call fcn.1400154a8
lea rcx, [0x14001677c]
mov qword [rax], rcx
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], edi
mov ecx, 6
call fcn.140069254
int3

Function at 0x140016b94
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov byte [0x1400f5b68], 1
xorps xmm0, xmm0
mov qword [0x1400f5b60], rbx
lea rdx, [0x1400cef44]
mov qword [0x1400f5b6c], rbx
lea rcx, [0x1400f5b90]
mov qword [0x1400f5b78], rbx
movdqa xmmword [0x1400f5b80], xmm0
lea rdi, [0x1400f5b60]
mov qword [0x1400f5ba0], rbx
mov word [0x1400f5b90], bx
mov qword [0x1400f5ba8], 7
call fcn.140006890
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov r9, rdi
mov qword [0x1400f5b80], rcx
lea r8, [0x140016d64]
mov qword [0x1400f5bb0], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x48]
mov qword [0x1400f5b78], rax
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x140016d9c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400069d8
nop
lea rcx, [rsp + 0x40]
call fcn.1400069d8
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140016f0c
mov eax, dword [rbx + 0xc]
test al, 2
je 0x140016dfd
mov r8d, 0x47
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140016e48
mov eax, dword [rbx + 0xc]
test al, 1
je 0x140016e11
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140016e48
mov rdi, qword [rbx + 0x50]
test rdi, rdi
je 0x140016e34
lea rcx, [rsp + 0x20]
call fcn.140004570
mov r9b, 1
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call rdi
and qword [rbx + 0x18], 0
mov ecx, 0x1337
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140016e48
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [rdx + 0x18], 8
mov esi, r8d
mov rax, rdx
mov rbx, rcx
jb 0x140016e6a
mov rax, qword [rdx]
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [rbx + 0x10]
mov rdi, rax
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x44], rcx
mov dword [rsp + 0x4c], 1
cmp rax, 0xffffffffffffffff
je 0x140016ef9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x28], 0
mov r9d, esi
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, rax
mov edx, ebx
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400197bc
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
xor eax, eax
mov rbx, rdx
mov edx, dword [rdx + 0xa4]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
mov rdi, rcx
movups xmmword [rsp + 0x50], xmm0
test edx, edx
jne 0x140019801
cmp dword [rbx + 0xc0], eax
jne 0x140019801
mov eax, dword [rbx + 0x98]
mov dword [rbx + 0xc0], eax
lea r10, [rbx + 0x78]
cmp qword [r10 + 0x18], 8
jb 0x14001980f
mov r10, qword [r10]
lea r9, [rbx + 0x58]
cmp qword [r9 + 0x18], 8
jb 0x14001981d
mov r9, qword [r9]
movzx eax, byte [rbx + 0xb4]
movzx ecx, byte [rbx + 0xb5]
movzx r8d, byte [rbx + 0xb6]
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r9
mov r9d, dword [rbx + 0xc0]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x9c]
mov dword [rsp + 0x30], ecx
lea rcx, str.Injection_initiated._Mode:__d__process_type:__d__pid:__d__mmap_flags:_0x_X__erasePE:__d__unlink:__d__thread_hijack:__d__init_routine:__s__init_arg:__ls
mov dword [rsp + 0x28], r8d
mov r8d, dword [rbx + 0xa0]
mov dword [rsp + 0x20], eax
call fcn.140017908
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.140017ea8
mov esi, eax
test eax, eax
jne 0x140019965
mov ecx, dword [rbx + 0xa8]
test ecx, ecx
je 0x140019898
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rbx + 0xd0]
mov r14, qword [rbx + 0xc8]
jmp 0x1400198cc
mov r8, qword [r14]
mov rdx, rbx
mov rcx, rdi
call fcn.14001997c
mov ecx, dword [rbx + 0xac]
or esi, eax
test ecx, ecx
je 0x1400198c8
call qword [sym.imp.KERNEL32.dll_Sleep]
add r14, 0x10
cmp r14, rbp
jne 0x1400198a8
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400198f0
test esi, esi
jne 0x1400198ea
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140019900
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x140019954
test byte [rbx + 0x9c], 0x10
je 0x140019954
mov eax, dword [rbx + 0xa4]
cmp eax, 1
je 0x14001991d
cmp eax, 4
jne 0x140019954
mov rdx, qword [rdi + 0x368]
lea rcx, [rdi + 0x360]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x98], eax
cmp rdx, qword [rdi + 0x370]
je 0x140019947
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x140019954
lea r8, [rsp + 0x98]
call fcn.14001b450
lea rcx, [rdi + 8]
cmp qword [rcx], 0
je 0x140019963
call fcn.1400311f0
mov eax, esi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001ea7c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rbx, [rcx + 0x538]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call fcn.1400696c0
test eax, eax
jne 0x14001eb40
lea ecx, [rax + 0x10]
call fcn.14006a75c
mov qword [rax], rdi
lea rcx, [fcn.140020c9c]
mov qword [rax + 8], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140016b14]
xor edx, edx
xor ecx, ecx
call fcn.140099a20
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001eb30
cmp dword [rsp + 0x48], 0
je 0x14001eb48
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140069358
test eax, eax
jne 0x14001eb53
mov rcx, rbx
call fcn.1400696e4
test eax, eax
jne 0x14001eb28
mov eax, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov ecx, eax
call fcn.140069218
nop
and dword [rsp + 0x48], 0
mov ecx, 6
call fcn.140069254
nop
mov ecx, eax
call fcn.140069218
nop
mov ecx, 1
call fcn.140069254
int3
mov ecx, eax
call fcn.140069218
int3
Function at 0x1400249b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140089280
mov dword [rsp + 0x50], 0x104
call fcn.140023e20
mov rsi, rax
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r15b
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x20]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov ecx, r15d
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140024a93
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140024a80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140025420
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140024ac4
cmp rbx, qword [rsi + 8]
je 0x140024ac4
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140024ad1
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, r15
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140024b0e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024b09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024bf6
call fcn.14006a754
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
test rbx, rbx
je 0x140024b3f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
xor edx, edx
call rbx
jmp 0x140024b51
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140006890
nop
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1400246b0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140024bc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024bf0
call fcn.14006a754
mov rax, r14
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14006a730
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140097d64
int3
call fcn.140097d64
int3

Function at 0x140025190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14002519e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x140031440
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
xor ebp, ebp
mov qword [rsp + 0x30], rbp
xor edx, edx
lea ecx, [rbp + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
setg r15b
test rax, rax
jg 0x1400314ab
mov qword [r14], rbp
mov qword [r14 + 8], rbp
jmp 0x140031552
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.140089280
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rdi, qword [rsp + 0x28]
test eax, eax
je 0x140031546
nop dword [rax]
cmp qword [rsi + 0x10], 0
je 0x140031502
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400314f4
mov rdx, qword [rsi]
lea rcx, [rsp + 0x6c]
call fcn.140099b40
test eax, eax
jne 0x140031534
cmp rdi, rbp
je 0x140031518
mov eax, dword [rsp + 0x48]
mov dword [rdi], eax
add rdi, 4
mov qword [rsp + 0x28], rdi
jmp 0x140031534
lea r8, [rsp + 0x48]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140031ba0
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400314e0
mov rax, qword [rsp + 0x20]
mov qword [r14], rax
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rbp
test r15b, r15b
je 0x140031565
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, r14
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14006a730
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140034060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14d, edx
mov rsi, rcx
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
movzx r15d, byte [rcx + 0x15]
xor r12d, r12d
test r15b, r15b
sete r12b
lea rdi, [rsi + 0x58]
mov qword [rsp + 0x20], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rsi + 0x20]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400341a4
movabs rcx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
mov rbp, qword [rbx]
mov rax, qword [rbx + 0x38]
cmp byte [rax + 0x58], 0
jne 0x140034197
mov r10, qword [rbx + 0x20]
lea r9, [rbx + 0x10]
cmp qword [rbx + 0x28], 8
jb 0x1400340f4
mov r9, qword [rbx + 0x10]
mov rdx, rcx
xor eax, eax
add r10, r10
je 0x140034114
nop
movzx ecx, byte [rax + r9]
xor rdx, rcx
imul rdx, r11
inc rax
cmp rax, r10
jb 0x140034100
movsxd rcx, dword [rbx + 0x30]
xor rcx, rdx
and rcx, qword [rsi + 0x48]
shl rcx, 4
mov rdx, qword [rsi + 0x30]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14003414f
cmp rax, rbx
jne 0x140034145
mov rax, qword [rsi + 0x20]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140034157
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140034157
cmp rax, rbx
jne 0x140034157
mov qword [rdx], rbp
mov rcx, qword [rbx]
dec qword [rsi + 0x28]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x10]
call fcn.140023d78
mov edx, 0x48
mov rcx, rbx
call fcn.14006a754
movabs rcx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
mov rbx, rbp
cmp rbp, qword [rsi + 0x20]
jne 0x1400340d0
mov r8d, r12d
mov edx, r14d
mov rcx, rsi
call fcn.1400377f0
test r14d, r14d
jne 0x1400341cb
test r15b, r15b
je 0x1400341cb
xor edx, edx
lea r8d, [r14 + 1]
mov rcx, rsi
call fcn.1400377f0
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rsi + 0x18]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140036da0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140089280
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x140036e8f
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x140036e8f
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x140036e8f
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x140036e8f
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x140036e8f
cmp dword [rsp + 0x80], 0x4550
jne 0x140036e8f
mov al, 1
jmp 0x140036e91
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14006a730
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140037590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0xb0
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, rcx
movsxd r15, r8d
lea rcx, [rsp + 0x48]
call fcn.140024390
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140024fe0
xor ebx, ebx
mov dword [rsp + 0x88], r15d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x40]
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm1
cmp rdx, 8
jb 0x140037637
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037632
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400377ea
call fcn.14006a754
mov qword [rsp + 0xe0], rbp
lea rcx, [rsp + 0x68]
mov rbp, qword [rsp + 0x80]
movabs rdx, 0xcbf29ce484222325
mov qword [rsp + 0xe8], rdi
cmp rbp, 8
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0xa8], r12
cmovae rcx, rdi
mov qword [rsp + 0xa0], r14
mov r14, qword [rsp + 0x78]
lea r8, [r14 + r14]
test r8, r8
je 0x1400376b3
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rbx
xor rdx, rax
imul rdx, r9
cmp rbx, r8
jb 0x1400376a0
mov rax, qword [rsi + 0x30]
mov rcx, r15
xor rcx, rdx
and rcx, qword [rsi + 0x48]
add rcx, rcx
mov r11, qword [rax + rcx*8 + 8]
cmp r11, qword [rsi + 0x20]
je 0x140037771
mov rbx, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [r11 + 0x28], 8
lea rax, [r11 + 0x10]
jb 0x1400376ef
mov rax, qword [r11 + 0x10]
cmp rbp, 8
lea r9, [rsp + 0x68]
cmovae r9, rdi
cmp r14, qword [r11 + 0x20]
jne 0x140037746
mov rcx, r14
test r14, r14
je 0x140037740
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140037746
sub r9, rax
cmp dx, r8w
ja 0x140037746
cmp rcx, 1
je 0x140037740
movzx edx, word [rax + r9 + 2]
add rax, 2
dec rcx
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14003771f
jmp 0x140037746
cmp r15d, dword [r11 + 0x30]
je 0x140037751
cmp r11, rbx
je 0x140037771
mov r11, qword [r11 + 8]
jmp 0x1400376e0
test r11, r11
je 0x140037771
lea rdx, [rsp + 0x68]
lea rcx, [rsi + 0x18]
call fcn.140039830
mov rbp, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
cmp rbp, 8
jb 0x1400377b8
lea rdx, [rbp*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400377b0
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400377e4
mov rcx, rdi
call fcn.14006a754
mov rbp, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006a730
add rsp, 0xb0
pop r15
pop rsi
pop rbx
ret
call fcn.140097d64
int3
call fcn.140097d64
int3