joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a5228
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov ebp, r8d
mov rsi, r9
mov r15, rdx
mov rdi, rcx
test r9, r9
jne 0x1400a526d
lea r8, str.pAtom___NULL
mov edx, 0x10ec
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.140082070
test r15, r15
jne 0x1400a528a
lea r8, str.pbVal___NULL
mov edx, 0x10ed
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.140082070
or dword [rsi], 0xffffffff
xor eax, eax
test ebp, ebp
je 0x1400a52a9
mov rdx, r15
mov r8, rbp
movzx ecx, byte [rdx]
inc rdx
rol eax, 1
xor eax, ecx
sub r8, 1
jne 0x1400a5299
mov rcx, qword [rdi + 0x10]
xor edx, edx
div dword [rdi]
mov ebx, edx
mov r9d, edx
mov r8, qword [rcx + rdx*8]
test r8, r8
je 0x1400a537f
mov rdx, qword [rdi + 0x18]
mov ecx, ebx
shr r9, 5
and ecx, 0x1f
mov eax, dword [rdx + r9*4]
bt eax, ecx
jb 0x1400a5325
cmp byte [r8], 9
jne 0x1400a537f
lea rax, [r8 + 1]
and eax, 7
lea r13, [0x14014de58]
mov ecx, dword [r13 + rax*4]
mov eax, dword [rcx + r8 + 1]
test eax, eax
jne 0x1400a5303
xor ecx, ecx
jmp 0x1400a530a
add rcx, 5
add rcx, r8
cmp eax, ebp
jne 0x1400a537f
mov r8, rax
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400a537f
shl ebx, 0xb
jmp 0x1400a53a6
mov r12d, dword [r8]
lea r14, [r8 + 8]
xor edi, edi
test r12d, r12d
je 0x1400a537f
lea r13, [0x14014de58]
mov rcx, qword [r14]
cmp byte [rcx], 9
jne 0x1400a5374
lea rax, [rcx + 1]
and eax, 7
mov edx, dword [r13 + rax*4]
mov eax, dword [rdx + rcx + 1]
test eax, eax
jne 0x1400a535a
xor ecx, ecx
jmp 0x1400a5361
add rcx, 5
add rcx, rdx
cmp eax, ebp
jne 0x1400a5374
mov r8, rax
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400a53a1
inc edi
add r14, 8
cmp edi, r12d
jb 0x1400a533a
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
shl ebx, 0xb
or ebx, edi
xor eax, eax
mov dword [rsi], ebx
jmp 0x1400a5384
Function at 0x1400af194
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x14016f608]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r15, qword [rsp + 0x2f0]
mov r13b, r8b
mov r14, qword [rsp + 0x2f8]
mov r12b, dl
mov rsi, qword [rsp + 0x308]
mov dword [rsp + 0x40], r9d
mov qword [rsp + 0x48], rcx
mov r10, qword [0x14016f048]
lea rbx, [0x14016f048]
cmp r10, rbx
je 0x1400af25a
test byte [r10 + 0x1c], 4
je 0x1400af21f
cmp byte [r10 + 0x19], 4
jb 0x1400af21f
mov rcx, qword [r10 + 0x10]
lea r8, [0x14014f138]
mov edx, 0x60
call fcn.1400049d8
mov r10, qword [0x14016f048]
cmp r10, rbx
je 0x1400af25a
test byte [r10 + 0x1c], 4
je 0x1400af25a
cmp byte [r10 + 0x19], 5
jb 0x1400af25a
movzx eax, r13b
lea r8, [0x14014f138]
movzx ecx, r12b
mov edx, 0x61
mov dword [rsp + 0x28], eax
mov r9, r14
mov dword [rsp + 0x20], ecx
mov rcx, qword [r10 + 0x10]
call fcn.14001017c
or rdx, 0xffffffffffffffff
mov rcx, rdx
xor eax, eax
inc rcx
cmp word [r15 + rcx*2], ax
jne 0x1400af263
mov rdi, rdx
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400af270
lea ebp, [rdi + rcx]
lea eax, [rbp + 1]
cmp eax, 0x104
jbe 0x1400af2b6
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14013e290
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, ecx
mov rdx, r15
lea rcx, [rsp + 0x60]
lea rbx, [rax + rax]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov r8d, edi
lea rcx, [rsp + 0x60]
add r8, r8
add rcx, rbx
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov eax, ebp
add rax, rax
cmp rax, 0x208
jae 0x1400af417
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor edx, edx
mov word [rsp + rax + 0x60], cx
mov dword [rsp + 0x28], 0x2000080
lea r8d, [rcx + 7]
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400af38d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400af33e
xor eax, eax
jmp 0x1400af292
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400af383
test byte [rcx + 0x1c], 4
je 0x1400af383
cmp byte [rcx + 0x19], 2
jb 0x1400af383
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x62
mov dword [rsp + 0x20], eax
lea r8, [0x14014f138]
call fcn.140005938
mov eax, 6
jmp 0x1400af292
mov r8, qword [rsp + 0x300]
lea r9, [0x1400ae3b0]
mov edx, dword [rsp + 0x40]
mov rcx, rbx
movzx eax, r12b
mov dword [rsp + 0x50], eax
movzx eax, r13b
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400ae448
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400af410
test byte [rcx + 0x1c], 4
je 0x1400af410
cmp byte [rcx + 0x19], 4
jb 0x1400af410
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x63
call fcn.1400049d8
mov eax, edi
jmp 0x1400af292
call fcn.14013e464
int3
Function at 0x1400ba078
Capabilities:
Get volume information via ioctl

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x14016f608]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, qword [rsp + 0x120]
xor ebp, ebp
mov r15, qword [rsp + 0x128]
mov rsi, rcx
mov r12, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov dword [rsp + 0x40], ebp
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400ba100
test byte [rcx + 0x1c], 4
je 0x1400ba100
cmp byte [rcx + 0x19], 4
jb 0x1400ba100
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f1
call fcn.1400049d8
mov qword [r15], rbp
mov r8d, 3
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov qword [r12], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
mov dword [rbx], ebp
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400ba188
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400ba17e
test byte [rcx + 0x1c], 4
je 0x1400ba17e
cmp byte [rcx + 0x19], 2
jb 0x1400ba17e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f2
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005938
mov eax, 0xd
jmp 0x1400ba2b5
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x60
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x90064
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400ba1d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400ba17e
mov rsi, qword [rsp + 0x98]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14005a05c
lea rcx, [r14 + 8]
call fcn.1400051dc
lea rcx, [rsp + 0x48]
mov bl, al
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
test bl, bl
jne 0x1400ba250
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400ba249
test byte [rcx + 0x1c], 4
je 0x1400ba249
cmp byte [rcx + 0x19], 2
jb 0x1400ba249
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f3
call fcn.1400049d8
mov eax, 1
jmp 0x1400ba2b5
mov r8, rsi
mov rdx, rsi
mov rcx, r14
call fcn.14005a05c
lea rcx, [r14 + 8]
call fcn.1400051dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15], rsi
mov qword [r12], rsi
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400ba2b3
test byte [rcx + 0x1c], 4
je 0x1400ba2b3
cmp byte [rcx + 0x19], 4
jb 0x1400ba2b3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f4
call fcn.1400049d8
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14013e290
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400ba2e4
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14016f608]
xor rax, rsp
mov qword [rbp + 0x2f], rax
and dword [rbp - 0x25], 0
mov rbx, rcx
and dword [rbp - 0x29], 0
lea rcx, [rbp - 0x39]
mov rdi, r9
mov dword [rbp - 0x39], 0x67452301
mov esi, r8d
mov dword [rbp - 0x35], 0xefcdab89
mov dword [rbp - 0x31], 0x98badcfe
mov dword [rbp - 0x2d], 0x10325476
call fcn.1400ce17c
mov r14d, 8
lea rdx, [rbp - 0x29]
mov r8d, r14d
lea rcx, [rbp + 0x27]
call fcn.1400ce7d8
mov r9d, dword [rbp - 0x29]
lea eax, [r14 + 0x30]
shr r9d, 3
lea r8d, [r14 + 0x70]
and r9d, 0x3f
lea rdx, [0x14016fa10]
sub eax, r9d
lea rcx, [rbp - 0x39]
sub r8d, r9d
cmp r9d, 0x38
cmovb r8d, eax
call fcn.1400ce17c
mov r8d, r14d
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.1400ce17c
lea r9d, [r14 + 8]
mov rcx, rdi
mov r8d, r9d
lea rdx, [rbp - 0x39]
call fcn.1400ce7d8
mov rcx, rdi
mov r8, rbx
sub rcx, rbx
mov al, byte [rcx + r8]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x1400ba3af
mov rcx, qword [0x14016f048]
lea r14, [0x14016f048]
cmp rcx, r14
je 0x1400ba44e
test byte [rcx + 0x1c], 4
je 0x1400ba411
cmp byte [rcx + 0x19], 5
jb 0x1400ba411
mov eax, dword [rdi + 0xc]
mov edx, 0x1f5
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
call fcn.1400abfdc
mov rcx, qword [0x14016f048]
cmp rcx, r14
je 0x1400ba44e
test byte [rcx + 0x1c], 4
je 0x1400ba44e
cmp byte [rcx + 0x19], 5
jb 0x1400ba44e
mov eax, dword [rbx + 0xc]
mov edx, 0x1f6
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
call fcn.1400abfdc
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14013e290
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400ba468
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r15
sub rsp, 0x40
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov rcx, qword [0x14016f048]
lea r15, [0x14016f048]
cmp rcx, r15
je 0x1400ba4d5
test byte [rcx + 0x1c], 4
je 0x1400ba4d5
cmp byte [rcx + 0x19], 5
jb 0x1400ba4d5
mov eax, dword [r9 + 0x14]
mov edx, 0x1f7
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x38], eax
mov eax, dword [r9 + 0x10]
mov r9, rbp
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov qword [r11 - 0x28], rsi
call fcn.1400ac7fc
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor esi, esi
test eax, eax
jne 0x1400ba571
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400ba53c
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400ba5af
test byte [rcx + 0x1c], 4
je 0x1400ba5af
cmp byte [rcx + 0x19], 5
jb 0x1400ba5af
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f8
call fcn.1400049d8
jmp 0x1400ba5af
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400ba56c
test byte [rcx + 0x1c], 4
je 0x1400ba56c
cmp byte [rcx + 0x19], 2
jb 0x1400ba56c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f9
mov r9d, edi
call fcn.1400049f8
mov qword [rbx], rdi
jmp 0x1400ba5a1
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400ba59e
test byte [rcx + 0x1c], 4
je 0x1400ba59e
cmp byte [rcx + 0x19], 5
jb 0x1400ba59e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1fa
call fcn.1400049d8
mov rsi, rdi
mov qword [rbx + 8], rsi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x1400ba8a8
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r15
sub rsp, 0x40
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov rcx, qword [0x14016f048]
lea r15, [0x14016f048]
cmp rcx, r15
je 0x1400ba915
test byte [rcx + 0x1c], 4
je 0x1400ba915
cmp byte [rcx + 0x19], 5
jb 0x1400ba915
mov eax, dword [r9 + 0x14]
mov edx, 0x1fd
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x38], eax
mov eax, dword [r9 + 0x10]
mov r9, rbp
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov qword [r11 - 0x28], rsi
call fcn.1400ac7fc
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
test eax, eax
jne 0x1400ba9b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400ba97c
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400ba9ef
test byte [rcx + 0x1c], 4
je 0x1400ba9ef
cmp byte [rcx + 0x19], 5
jb 0x1400ba9ef
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1fe
call fcn.1400049d8
jmp 0x1400ba9ef
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400ba9ac
test byte [rcx + 0x1c], 4
je 0x1400ba9ac
cmp byte [rcx + 0x19], 2
jb 0x1400ba9ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1ff
mov r9d, edi
call fcn.1400049f8
mov qword [rbx], rdi
jmp 0x1400ba9e1
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400ba9de
test byte [rcx + 0x1c], 4
je 0x1400ba9de
cmp byte [rcx + 0x19], 5
jb 0x1400ba9de
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x200
call fcn.1400049d8
mov rsi, rdi
mov qword [rbx + 8], rsi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x1400bfaa0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x60
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bfaf9
test byte [rcx + 0x1c], 4
je 0x1400bfaf9
cmp byte [rcx + 0x19], 4
jb 0x1400bfaf9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xc4
call fcn.1400049d8
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x14016f048]
cmp rax, r12
je 0x1400bfb4e
test byte [rax + 0x1c], 4
je 0x1400bfb4e
cmp byte [rax + 0x19], 4
jb 0x1400bfb4e
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
cmp byte [rbx + 0x10], 0
je 0x1400bfc5e
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x50]
mov rdx, qword [rbx + 0x60]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
add rax, 0x1f
mov rdx, qword [rsp + 0x58]
shr rax, 5
test eax, eax
je 0x1400bfb9a
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400bfb88
cmp dword [rbx + 0x4c], 1
je 0x1400bfbaa
cmp dword [rbx + 0x4c], 4
jne 0x1400bfc57
mov rdi, qword [rsp + 0x90]
lea rax, str.pagefile.sys
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x40]
or qword [rsp + 0x30], 0xffffffffffffffff
mov r9d, esi
mov qword [rsp + 0x28], rax
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400af194
test eax, eax
jne 0x1400bfcef
mov qword [rsp + 0x38], rdi
lea rax, str.hiberfil.sys
or qword [rsp + 0x30], 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov r9d, esi
mov r8b, 1
mov qword [rsp + 0x20], rbp
xor edx, edx
call fcn.1400af194
test eax, eax
jne 0x1400bfcef
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x40]
mov r9d, esi
mov qword [rsp + 0x20], rbp
mov r8b, 1
xor edx, edx
call fcn.1400af980
test eax, eax
jne 0x1400bfcef
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c1654
test eax, eax
jne 0x1400bfcef
xor eax, eax
jmp 0x1400bfcef
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c178c
mov ebx, eax
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bfced
test byte [rcx + 0x1c], 4
je 0x1400bfcc7
cmp byte [rcx + 0x19], 4
jb 0x1400bfcc7
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bfced
test byte [rcx + 0x1c], 4
je 0x1400bfced
cmp byte [rcx + 0x19], 4
jb 0x1400bfced
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xc7
call fcn.1400049d8
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1400bfd0c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x60
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bfd65
test byte [rcx + 0x1c], 4
je 0x1400bfd65
cmp byte [rcx + 0x19], 4
jb 0x1400bfd65
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xc4
call fcn.1400049d8
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x14016f048]
cmp rax, r12
je 0x1400bfdba
test byte [rax + 0x1c], 4
je 0x1400bfdba
cmp byte [rax + 0x19], 4
jb 0x1400bfdba
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
cmp byte [rbx + 0x10], 0
je 0x1400bfeca
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x50]
mov rdx, qword [rbx + 0x60]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
add rax, 0x1f
mov rdx, qword [rsp + 0x58]
shr rax, 5
test eax, eax
je 0x1400bfe06
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400bfdf4
cmp dword [rbx + 0x4c], 1
je 0x1400bfe16
cmp dword [rbx + 0x4c], 4
jne 0x1400bfec3
mov rdi, qword [rsp + 0x90]
lea rax, str.pagefile.sys
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x40]
or qword [rsp + 0x30], 0xffffffffffffffff
mov r9d, esi
mov qword [rsp + 0x28], rax
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400af194
test eax, eax
jne 0x1400bff5b
mov qword [rsp + 0x38], rdi
lea rax, str.hiberfil.sys
or qword [rsp + 0x30], 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov r9d, esi
mov r8b, 1
mov qword [rsp + 0x20], rbp
xor edx, edx
call fcn.1400af194
test eax, eax
jne 0x1400bff5b
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x40]
mov r9d, esi
mov qword [rsp + 0x20], rbp
mov r8b, 1
xor edx, edx
call fcn.1400af980
test eax, eax
jne 0x1400bff5b
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c1654
test eax, eax
jne 0x1400bff5b
xor eax, eax
jmp 0x1400bff5b
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c1cd0
mov ebx, eax
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bff59
test byte [rcx + 0x1c], 4
je 0x1400bff33
cmp byte [rcx + 0x19], 4
jb 0x1400bff33
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bff59
test byte [rcx + 0x1c], 4
je 0x1400bff59
cmp byte [rcx + 0x19], 4
jb 0x1400bff59
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xc7
call fcn.1400049d8
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1400cea6c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r15
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x14016f048]
lea r15, [0x14016f048]
cmp rcx, r15
je 0x1400ceac5
test byte [rcx + 0x1c], 4
je 0x1400ceac5
cmp byte [rcx + 0x19], 4
jb 0x1400ceac5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f688]
mov edx, 0xa
call fcn.1400049d8
mov rax, qword [rsp + 0x70]
mov ecx, 0xffff
mov qword [rbx], rbp
mov qword [rbx + 8], rsi
movups xmm0, xmmword [rax]
mov rax, qword [rsp + 0x78]
movdqu xmmword [rbx + 0x10], xmm0
movups xmm1, xmmword [rax]
mov rax, rdi
cqo
and rdx, rcx
add rax, rdx
and rax, rcx
xor ecx, ecx
sub rax, rdx
mov dword [rbx + 0x30], eax
mov r8, rax
movdqu xmmword [rbx + 0x20], xmm1
test eax, eax
jne 0x1400ceb13
mov eax, 0x10000
mov dword [rbx + 0x30], eax
mov r8d, eax
mov rax, qword [rsp + 0x80]
mov r9d, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x68]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x58], eax
mov al, byte [rsp + 0x90]
mov byte [rbx + 0x5c], al
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x68], rax
mov al, byte [rsp + 0xa8]
mov byte [rbx + 0x70], al
mov qword [rbx + 0x34], rcx
mov qword [rbx + 0x48], rcx
mov dword [rbx + 0x3c], r9d
mov dword [rbx + 0x40], r10d
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400cec47
test byte [rcx + 0x1c], 4
je 0x1400cebb4
cmp byte [rcx + 0x19], 4
jb 0x1400cebb4
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r9d
mov r9d, r8d
lea r8, [0x14014f688]
call fcn.1400abf8c
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400cec47
test byte [rcx + 0x1c], 4
je 0x1400cebef
cmp byte [rcx + 0x19], 4
jb 0x1400cebef
mov rax, qword [rbx]
movzx r9d, byte [rbx + 0x5c]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
call fcn.1400ce8ec
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400cec47
test byte [rcx + 0x1c], 4
je 0x1400cec21
cmp byte [rcx + 0x19], 4
jb 0x1400cec21
movzx r9d, byte [rbx + 0x70]
lea r8, [0x14014f688]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400cec47
test byte [rcx + 0x1c], 4
je 0x1400cec47
cmp byte [rcx + 0x19], 4
jb 0x1400cec47
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f688]
mov edx, 0xe
call fcn.1400049d8
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret