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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rsp + 0x78], rax
and dword [rsp + 0x30], 0
mov rsi, rcx
mov edi, edx
mov ebx, 0x20
lea rcx, [rsp + 0x58]
xor edx, edx
mov r8d, ebx
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 8]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400c83d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x1400c83c1
test byte [rcx + 0x1c], 2
je 0x1400c83c1
cmp byte [rcx + 0x19], 2
jb 0x1400c83c1
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x43]
lea r8, [0x14000bbb0]
mov r9d, edi
call fcn.14001de24
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400c8472
mov r9d, dword [rsp + 0x30]
cmp r9d, ebx
je 0x1400c8418
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x1400c8468
test byte [rcx + 0x1c], 2
je 0x1400c8468
cmp byte [rcx + 0x19], 2
jb 0x1400c8468
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000bbb0]
mov edx, 0x64
mov dword [rsp + 0x20], ebx
call fcn.1400285b4
jmp 0x1400c8468
mov rsi, qword [rsi + 0x10]
lea rcx, [rsp + 0x38]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400b36bc
mov ebx, eax
test eax, eax
js 0x1400c8457
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1400b3d54
mov ecx, 0x80004005
test al, al
cmove ebx, ecx
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 8]
call fcn.1400b3ea8
test ebx, ebx
jns 0x1400c8472
neg edi
sbb ebx, ebx
add ebx, 0x80780002
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400c849c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rsp + 0x58], rax
and dword [rsp + 0x30], 0
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x20]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x38]
call fcn.1400b36bc
mov ebx, eax
test eax, eax
js 0x1400c8577
mov rcx, qword [rdi + 8]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400c8558
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x1400c8548
test byte [rcx + 0x1c], 2
je 0x1400c8548
cmp byte [rcx + 0x19], 2
jb 0x1400c8548
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000bbb0]
mov edx, 0x65
mov r9d, edi
call fcn.14001de24
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400c8577
cmp dword [rsp + 0x30], 0x20
je 0x1400c8577
lea r8, [0x14000b9f8]
lea rcx, [0x14000b1d0]
mov edx, 0xd2f
call fcn.1400a8be8
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140168920
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400cc37c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rsi, r9
mov ebp, r8d
mov r15, rdx
mov rdi, rcx
test r9, r9
jne 0x1400cc3bb
lea r8, [0x14000be78]
lea rcx, [0x14000bbd8]
mov edx, 0x10ec
call fcn.1400a8be8
test r15, r15
jne 0x1400cc3d8
lea r8, [0x14000bc80]
lea rcx, [0x14000bbd8]
mov edx, 0x10ed
call fcn.1400a8be8
or dword [rsi], reloc.ADVAPI32.dll_TraceEvent
xor eax, eax
test ebp, ebp
je 0x1400cc3f6
mov rdx, r15
mov r8, rbp
rol eax, 1
movzx ecx, byte [rdx]
inc rdx
xor eax, ecx
dec r8
jne 0x1400cc3e7
mov rcx, qword [rdi + 0x10]
xor edx, edx
div dword [rdi]
mov ebx, edx
mov r10d, edx
mov r9, qword [rcx + rdx*8]
test r9, r9
je 0x1400cc4ab
mov r8, qword [rdi + 0x18]
shr r10, 5
mov edx, ebx
mov eax, dword [r8 + r10*4]
and edx, 0x1f
bt eax, edx
jb 0x1400cc45f
cmp byte [r9], 9
jne 0x1400cc4ab
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, r9
call fcn.1400cc548
cmp dword [rsp + 0x60], ebp
jne 0x1400cc4ab
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400cc4ab
shl ebx, 0xb
jmp 0x1400cc4cc
mov r12d, dword [r9]
xor edi, edi
lea r14, [r9 + 8]
test r12d, r12d
je 0x1400cc4ab
mov rcx, qword [r14]
cmp byte [rcx], 9
jne 0x1400cc4a0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
call fcn.1400cc548
cmp dword [rsp + 0x60], ebp
jne 0x1400cc4a0
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400cc4c7
inc edi
add r14, 8
cmp edi, r12d
jb 0x1400cc46d
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
shl ebx, 0xb
or ebx, edi
xor eax, eax
mov dword [rsi], ebx
jmp 0x1400cc4b0
Function at 0x1400d660c
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 [0x14017d140]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r15, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2f8]
mov rsi, qword [rsp + 0x308]
mov dword [rsp + 0x40], r9d
mov r13b, r8b
mov r12b, dl
mov qword [rsp + 0x48], rcx
mov r10, qword [0x14017d3a8]
lea rbx, [0x14017d3a8]
cmp r10, rbx
je 0x1400d66d2
test byte [r10 + 0x1c], 4
je 0x1400d6697
cmp byte [r10 + 0x19], 4
jb 0x1400d6697
mov rcx, qword [r10 + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x60
call fcn.14001dd24
mov r10, qword [0x14017d3a8]
cmp r10, rbx
je 0x1400d66d2
test byte [r10 + 0x1c], 4
je 0x1400d66d2
cmp byte [r10 + 0x19], 5
jb 0x1400d66d2
movzx eax, r13b
movzx ecx, r12b
lea r8, [0x14000d0d8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [r10 + 0x10]
mov edx, 0x61
mov r9, r14
call fcn.140028d10
or rdx, 0xffffffffffffffff
xor eax, eax
mov rcx, rdx
inc rcx
cmp word [r15 + rcx*2], ax
jne 0x1400d66db
mov rdi, rdx
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400d66e8
lea ebp, [rdi + rcx]
lea eax, [rbp + 1]
cmp eax, 0x104
jbe 0x1400d672e
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140168920
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, ecx
lea rcx, [rsp + 0x60]
mov rdx, r15
lea rbx, [rax + rax]
mov r8, rbx
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x60]
mov r8d, edi
add r8, r8
mov rdx, r14
add rcx, rbx
call sub.msvcrt.dll_memcpy
mov r11d, ebp
add r11, r11
cmp r11, 0x208
jae 0x1400d6892
xor eax, eax
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea r8d, [rax + 7]
xor edx, edx
mov dword [rsp + 0x28], reloc.ADVAPI32.dll_TraceEvent
mov word [rsp + r11 + 0x60], ax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400d6808
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400d67b9
xor eax, eax
jmp 0x1400d670a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x14017d3a8]
lea rdx, [0x14017d3a8]
cmp rcx, rdx
je 0x1400d67fe
test byte [rcx + 0x1c], 4
je 0x1400d67fe
cmp byte [rcx + 0x19], 2
jb 0x1400d67fe
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
lea r8, [0x14000d0d8]
mov edx, 0x62
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
mov eax, 6
jmp 0x1400d670a
mov r8, qword [rsp + 0x300]
mov edx, dword [rsp + 0x40]
movzx eax, r12b
mov dword [rsp + 0x50], eax
movzx eax, r13b
lea r9, [0x1400d5800]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400d58a0
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14017d3a8]
lea rdx, [0x14017d3a8]
cmp rcx, rdx
je 0x1400d688b
test byte [rcx + 0x1c], 4
je 0x1400d688b
cmp byte [rcx + 0x19], 4
jb 0x1400d688b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x63
call fcn.14001dd24
mov eax, edi
jmp 0x1400d670a
xor ecx, ecx
call fcn.140168954
int3
Function at 0x1400e1158
Capabilities:
Get volume information via ioctl

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rsp + 0x130]
xor ebp, ebp
mov r12, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x40], ebp
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x1400e11ca
test byte [rcx + 0x1c], 4
je 0x1400e11ca
cmp byte [rcx + 0x19], 4
jb 0x1400e11ca
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1f1
call fcn.14001dd24
mov qword [r15], rbp
mov r8d, 3
mov qword [rsp + 0x30], rbp
mov qword [r12], rbp
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r8d
mov dword [rbx], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e1252
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rcx, qword [0x14017d3a8]
lea rdx, [0x14017d3a8]
cmp rcx, rdx
je 0x1400e1248
test byte [rcx + 0x1c], 4
je 0x1400e1248
cmp byte [rcx + 0x19], 2
jb 0x1400e1248
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1f2
mov r9, rsi
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
mov eax, reloc.ADVAPI32.dll_GetTraceEnableLevel
jmp 0x1400e137f
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x90064
mov rcx, rdi
mov dword [rsp + 0x28], 0x60
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400e129e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400e1248
mov rsi, qword [rsp + 0x98]
xor r8d, r8d
mov rcx, r14
mov rdx, rsi
call fcn.140072660
lea rcx, [r14 + 8]
call fcn.14001e554
lea rcx, [rsp + 0x48]
mov bl, al
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
test bl, bl
jne 0x1400e131a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14017d3a8]
lea rdx, [0x14017d3a8]
cmp rcx, rdx
je 0x1400e1313
test byte [rcx + 0x1c], 4
je 0x1400e1313
cmp byte [rcx + 0x19], 2
jb 0x1400e1313
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1f3
call fcn.14001dd24
mov eax, 1
jmp 0x1400e137f
mov r8, rsi
mov rdx, rsi
mov rcx, r14
call fcn.140072660
lea rcx, [r14 + 8]
call fcn.14001e554
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 [0x14017d3a8]
lea rdx, [0x14017d3a8]
cmp rcx, rdx
je 0x1400e137d
test byte [rcx + 0x1c], 4
je 0x1400e137d
cmp byte [rcx + 0x19], 4
jb 0x1400e137d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1f4
call fcn.14001dd24
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140168920
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400e13a8
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0x2f], rax
and dword [rbp - 0x25], 0
and dword [rbp - 0x29], 0
mov rbx, rcx
lea rcx, [rbp - 0x39]
mov rdi, r9
mov esi, r8d
mov dword [rbp - 0x39], reloc.ADVAPI32.dll_TraceEvent
mov dword [rbp - 0x35], reloc.ADVAPI32.dll_TraceEvent
mov dword [rbp - 0x31], reloc.ADVAPI32.dll_TraceEvent
mov dword [rbp - 0x2d], reloc.ADVAPI32.dll_TraceEvent
call fcn.1400f4968
lea r11, [rbp + 0x28]
lea rcx, [rbp - 0x27]
mov edx, 2
mov al, byte [rcx - 2]
mov byte [r11 - 1], al
mov al, byte [rcx - 1]
mov byte [r11], al
mov al, byte [rcx]
add r11, 4
mov byte [r11 - 3], al
mov al, byte [rcx + 1]
add rcx, 4
mov byte [r11 - 2], al
dec rdx
jne 0x1400e140c
mov ecx, dword [rbp - 0x29]
lea eax, [rdx + 0x38]
lea r8d, [rdx + 0x78]
shr ecx, 3
lea rdx, [0x14017d480]
and ecx, 0x3f
sub eax, ecx
sub r8d, ecx
cmp ecx, 0x38
lea rcx, [rbp - 0x39]
cmovb r8d, eax
call fcn.1400f4968
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
mov r8d, 8
call fcn.1400f4968
lea r11, [rdi + 1]
lea rcx, [rbp - 0x38]
mov edx, 4
mov al, byte [rcx - 1]
mov byte [r11 - 1], al
mov al, byte [rcx]
add rcx, 4
mov byte [r11], al
mov al, byte [rcx - 3]
add r11, 4
mov byte [r11 - 3], al
mov al, byte [rcx - 2]
mov byte [r11 - 2], al
dec rdx
jne 0x1400e147f
mov rdx, rdi
mov rcx, rbx
mov r8d, CoRevokeClassObject
sub rdx, rbx
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
dec r8
jne 0x1400e14b5
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x1400e154b
test byte [rcx + 0x1c], 4
je 0x1400e1511
cmp byte [rcx + 0x19], 5
jb 0x1400e1511
mov eax, dword [rdi + 0xc]
mov r9d, dword [rdi]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 8]
mov edx, 0x1f5
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 4]
mov r8d, esi
mov dword [rsp + 0x20], eax
call fcn.1400d32d8
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400e154b
test byte [rcx + 0x1c], 4
je 0x1400e154b
cmp byte [rcx + 0x19], 5
jb 0x1400e154b
mov eax, dword [rbx + 0xc]
mov r9d, dword [rbx]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 8]
mov edx, 0x1f6
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 4]
mov r8d, esi
mov dword [rsp + 0x20], eax
call fcn.1400d32d8
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140168920
add rsp, 0xb0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400e156c
Capabilities:
Read file on windows

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, 0x40
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x1400e15d8
test byte [rcx + 0x1c], 4
je 0x1400e15d8
cmp byte [rcx + 0x19], 5
jb 0x1400e15d8
mov eax, dword [r9 + 0x14]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1f7
mov dword [rsp + 0x30], eax
mov eax, dword [r9 + 0x10]
mov r9, rsi
mov dword [rsp + 0x28], eax
mov r8, rbp
mov dword [rsp + 0x20], edi
call fcn.1400d3c1c
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e167b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400e1641
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400e16b6
test byte [rcx + 0x1c], 4
je 0x1400e16b6
cmp byte [rcx + 0x19], 5
jb 0x1400e16b6
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1f8
call fcn.14001dd24
jmp 0x1400e16b6
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400e1671
test byte [rcx + 0x1c], 4
je 0x1400e1671
cmp byte [rcx + 0x19], 2
jb 0x1400e1671
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1f9
mov r9d, edi
call fcn.14001de24
and qword [rbx + 8], 0
mov qword [rbx], rdi
jmp 0x1400e16ac
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400e16a8
test byte [rcx + 0x1c], 4
je 0x1400e16a8
cmp byte [rcx + 0x19], 5
jb 0x1400e16a8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1fa
call fcn.14001dd24
mov qword [rbx + 8], rdi
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 0x1400e19b8
Capabilities:
Write file on windows

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, 0x40
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x1400e1a24
test byte [rcx + 0x1c], 4
je 0x1400e1a24
cmp byte [rcx + 0x19], 5
jb 0x1400e1a24
mov eax, dword [r9 + 0x14]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1fd
mov dword [rsp + 0x30], eax
mov eax, dword [r9 + 0x10]
mov r9, rsi
mov dword [rsp + 0x28], eax
mov r8, rbp
mov dword [rsp + 0x20], edi
call fcn.1400d3c1c
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400e1ac7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400e1a8d
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400e1b02
test byte [rcx + 0x1c], 4
je 0x1400e1b02
cmp byte [rcx + 0x19], 5
jb 0x1400e1b02
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1fe
call fcn.14001dd24
jmp 0x1400e1b02
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400e1abd
test byte [rcx + 0x1c], 4
je 0x1400e1abd
cmp byte [rcx + 0x19], 2
jb 0x1400e1abd
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x1ff
mov r9d, edi
call fcn.14001de24
and qword [rbx + 8], 0
mov qword [rbx], rdi
jmp 0x1400e1af8
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x1400e1af4
test byte [rcx + 0x1c], 4
je 0x1400e1af4
cmp byte [rcx + 0x19], 5
jb 0x1400e1af4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0x200
call fcn.14001dd24
mov qword [rbx + 8], rdi
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 0x1400e6c24
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 [0x14017d3a8]
lea r12, [0x14017d3a8]
cmp rcx, r12
je 0x1400e6c7d
test byte [rcx + 0x1c], 4
je 0x1400e6c7d
cmp byte [rcx + 0x19], 4
jb 0x1400e6c7d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0xc4
call fcn.14001dd24
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x14017d3a8]
cmp rax, r12
je 0x1400e6cd2
test byte [rax + 0x1c], 4
je 0x1400e6cd2
cmp byte [rax + 0x19], 4
jb 0x1400e6cd2
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14017d3a8]
lea r8, [0x14000d0d8]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0xc5
call fcn.14001de24
cmp byte [rbx + 0x10], 0
je 0x1400e6de3
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov r11d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
add r11, 0x1f
shr r11, 5
test r11d, r11d
je 0x1400e6d1f
mov r8d, r11d
mov eax, dword [rdx]
add rdx, 4
xor dword [rcx], eax
add rcx, 4
dec r8
jne 0x1400e6d0e
cmp dword [rbx + 0x4c], 1
je 0x1400e6d2f
cmp dword [rbx + 0x4c], 4
jne 0x1400e6ddc
mov rdi, qword [rsp + 0x90]
lea rax, [0x14000d068]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rdi
or qword [rsp + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x28], rax
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400d660c
test eax, eax
jne 0x1400e6e74
mov qword [rsp + 0x38], rdi
or qword [rsp + 0x30], 0xffffffffffffffff
lea rax, [0x14000d088]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400d660c
test eax, eax
jne 0x1400e6e74
lea rcx, [rsp + 0x40]
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.1400d6e60
test eax, eax
jne 0x1400e6e74
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400e8894
test eax, eax
jne 0x1400e6e74
xor eax, eax
jmp 0x1400e6e74
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400e89d0
mov ebx, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400e6e72
test byte [rcx + 0x1c], 4
je 0x1400e6e4c
cmp byte [rcx + 0x19], 4
jb 0x1400e6e4c
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14017d3a8]
lea r8, [0x14000d0d8]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0xc6
call fcn.14001de24
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400e6e72
test byte [rcx + 0x1c], 4
je 0x1400e6e72
cmp byte [rcx + 0x19], 4
jb 0x1400e6e72
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0xc7
call fcn.14001dd24
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 0x1400e6e98
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 [0x14017d3a8]
lea r12, [0x14017d3a8]
cmp rcx, r12
je 0x1400e6ef1
test byte [rcx + 0x1c], 4
je 0x1400e6ef1
cmp byte [rcx + 0x19], 4
jb 0x1400e6ef1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0xc4
call fcn.14001dd24
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x14017d3a8]
cmp rax, r12
je 0x1400e6f46
test byte [rax + 0x1c], 4
je 0x1400e6f46
cmp byte [rax + 0x19], 4
jb 0x1400e6f46
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14017d3a8]
lea r8, [0x14000d0d8]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0xc5
call fcn.14001de24
cmp byte [rbx + 0x10], 0
je 0x1400e7057
mov r8d, dword [rbx + 0x48]
mov rdx, qword [rbx + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov r11d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
add r11, 0x1f
shr r11, 5
test r11d, r11d
je 0x1400e6f93
mov r8d, r11d
mov eax, dword [rdx]
add rdx, 4
xor dword [rcx], eax
add rcx, 4
dec r8
jne 0x1400e6f82
cmp dword [rbx + 0x4c], 1
je 0x1400e6fa3
cmp dword [rbx + 0x4c], 4
jne 0x1400e7050
mov rdi, qword [rsp + 0x90]
lea rax, [0x14000d068]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rdi
or qword [rsp + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x28], rax
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400d660c
test eax, eax
jne 0x1400e70e8
mov qword [rsp + 0x38], rdi
or qword [rsp + 0x30], 0xffffffffffffffff
lea rax, [0x14000d088]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400d660c
test eax, eax
jne 0x1400e70e8
lea rcx, [rsp + 0x40]
mov r9d, esi
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.1400d6e60
test eax, eax
jne 0x1400e70e8
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400e8894
test eax, eax
jne 0x1400e70e8
xor eax, eax
jmp 0x1400e70e8
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400e8f18
mov ebx, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400e70e6
test byte [rcx + 0x1c], 4
je 0x1400e70c0
cmp byte [rcx + 0x19], 4
jb 0x1400e70c0
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14017d3a8]
lea r8, [0x14000d0d8]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0xc6
call fcn.14001de24
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400e70e6
test byte [rcx + 0x1c], 4
je 0x1400e70e6
cmp byte [rcx + 0x19], 4
jb 0x1400e70e6
mov rcx, qword [rcx + 0x10]
lea r8, [0x14000d0d8]
mov edx, 0xc7
call fcn.14001dd24
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