joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008e4b4
Capabilities:
Get common file path

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 r15, rcx
xor r13d, r13d
xor ecx, ecx
xor edx, edx
mov ebp, r13d
mov r12d, r8d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
test eax, eax
jne 0x14008e546
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008e6e7
test byte [rcx + 0x1c], 1
je 0x14008e6e7
cmp byte [rcx + 0x19], 2
jb 0x14008e6e7
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x3e]
mov r9d, ebx
lea r8, [0x14014b890]
call fcn.140004988
jmp 0x14008e6e7
or rbx, 0xffffffffffffffff
mov rdx, rbx
inc rdx
cmp word [r15 + rdx*2], r13w
jne 0x14008e54d
lea r14d, [rax + 1]
xor ecx, ecx
inc r14
add r14, rdx
lea rdx, [r14 + r14]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x14008e57f
mov ebx, 0x8007000e
jmp 0x14008e703
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
ja 0x14008e69d
test eax, eax
je 0x14008e687
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x14008e59a
mov eax, 0x5c
cmp ax, word [rdi + rbx*2 - 2]
je 0x14008e610
lea r8, [0x1401447d4]
mov rdx, r14
mov rcx, rdi
call fcn.14005034c
mov ebx, eax
test eax, eax
jns 0x14008e610
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008e6d9
test byte [rcx + 0x1c], 1
je 0x14008e6d9
cmp byte [rcx + 0x19], 2
jb 0x14008e6d9
mov edx, 0x40
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b890]
mov r9d, ebx
call fcn.140004988
jmp 0x14008e6d9
mov r8, r15
mov rdx, r14
mov rcx, rdi
call fcn.14005034c
mov ebx, eax
test eax, eax
jns 0x14008e656
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008e6d9
test byte [rcx + 0x1c], 1
je 0x14008e6d9
cmp byte [rcx + 0x19], 2
jb 0x14008e6d9
mov edx, 0x41
jmp 0x14008e5f8
mov r8d, r12d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbp, rax
test rax, rax
jne 0x14008e682
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14008e6d9
mov ebx, r13d
jmp 0x14008e6d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14008e6a2
mov ebx, 0x8007006f
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008e6d9
test byte [rcx + 0x1c], 1
je 0x14008e6d9
cmp byte [rcx + 0x19], 2
jb 0x14008e6d9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b890]
mov edx, 0x3f
mov r9d, ebx
call fcn.140004988
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
jne 0x14008e70b
test ebx, ebx
jne 0x14008e703
lea r8, str.S_OK___hr
mov edx, 0x64c
lea rcx, str.base_stor_blbutil_blbutility.cpp
call fcn.140081b60
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x50]
mov rax, rbp
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140090700
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14016d608]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
test rcx, rcx
jne 0x140090744
lea r8, str.pwszLogsDirectory
mov edx, 0x23c
lea rcx, str.base_stor_blbutil_blbtrace.cpp
call fcn.140081b60
and qword [rdi], 0
mov rcx, qword [0x14016d090]
lea rsi, [0x14016d090]
cmp rcx, rsi
je 0x14009077c
test byte [rcx + 0x1c], 1
je 0x14009077c
cmp byte [rcx + 0x19], 4
jb 0x14009077c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014bb40]
mov edx, 0x23
call fcn.140004968
mov ebx, 0x208
lea rcx, [rsp + 0x20]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rsp + 0x230]
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, str._SystemRoot_Logs
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140039a84
mov ebx, eax
test eax, eax
js 0x140090806
mov r8d, 0x104
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1400907f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140090806
xor r8d, r8d
lea rcx, [rsp + 0x230]
mov rdx, rdi
call fcn.14008290c
mov ebx, eax
mov rcx, qword [0x14016d090]
cmp rcx, rsi
je 0x140090833
test byte [rcx + 0x1c], 1
je 0x140090833
cmp byte [rcx + 0x19], 4
jb 0x140090833
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014bb40]
mov edx, 0x24
call fcn.140004968
mov eax, ebx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14013cc00
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14009f4ac
Capabilities:
Move file

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 rsi, rdx
lea r15, [0x14016d090]
mov rbp, rcx
xor edi, edi
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14009f53c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x20
jne 0x14009f573
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x14009f52a
test byte [rcx + 0x1c], 1
je 0x14009f52a
cmp byte [rcx + 0x19], 3
jb 0x14009f52a
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x32]
mov r9, rbp
mov qword [rsp + 0x20], rsi
lea r8, [0x14014cb68]
call fcn.14000593c
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jb 0x14009f4d4
cmp edi, 5
jne 0x14009f5bb
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x14009f56c
test byte [rcx + 0x1c], 1
je 0x14009f56c
cmp byte [rcx + 0x19], 2
jb 0x14009f56c
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x4f]
lea r8, [0x14014cb68]
call fcn.140004968
mov eax, 0x80780163
jmp 0x14009f5bd
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x14009f5ac
test byte [rcx + 0x1c], 1
je 0x14009f5ac
cmp byte [rcx + 0x19], 2
jb 0x14009f5ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014cb68]
mov edx, 0x53
mov dword [rsp + 0x28], ebx
mov r9, rbp
mov qword [rsp + 0x20], rsi
call fcn.1400059f4
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
jmp 0x14009f5bd
xor eax, eax
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
Function at 0x1400a051c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14016d608]
xor rax, rsp
mov qword [rsp + 0x78], rax
and dword [rsp + 0x30], 0
mov edi, edx
mov rsi, rcx
mov ebx, 0x20
mov r8d, ebx
lea rcx, [rsp + 0x58]
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x58]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400a05cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400a05b9
test byte [rcx + 0x1c], 2
je 0x1400a05b9
cmp byte [rcx + 0x19], 2
jb 0x1400a05b9
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x43]
mov r9d, edi
lea r8, [0x14014cb68]
call fcn.140004988
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400a066a
mov r9d, dword [rsp + 0x30]
cmp r9d, ebx
je 0x1400a0610
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400a0660
test byte [rcx + 0x1c], 2
je 0x1400a0660
cmp byte [rcx + 0x19], 2
jb 0x1400a0660
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014cb68]
mov edx, 0x64
mov dword [rsp + 0x20], ebx
call fcn.14000f654
jmp 0x1400a0660
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.14008c1b0
mov ebx, eax
test eax, eax
js 0x1400a064f
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
call fcn.14008c850
test al, al
mov ecx, 0x80004005
cmove ebx, ecx
lea r8, [rsi + 0x10]
lea rdx, [rsi + 8]
call fcn.14008c99c
test ebx, ebx
jns 0x1400a066a
neg edi
sbb ebx, ebx
add ebx, 0x80780002
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14013cc00
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a0690
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14016d608]
xor rax, rsp
mov qword [rsp + 0x58], rax
and dword [rsp + 0x30], 0
xor edx, edx
mov rdi, rcx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x38]
call fcn.14008c1b0
mov ebx, eax
test eax, eax
js 0x1400a076b
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x38]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a074c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400a073c
test byte [rcx + 0x1c], 2
je 0x1400a073c
cmp byte [rcx + 0x19], 2
jb 0x1400a073c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014cb68]
mov edx, 0x65
mov r9d, edi
call fcn.140004988
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400a076b
cmp dword [rsp + 0x30], 0x20
je 0x1400a076b
lea r8, str.dwWritten__sizeof_rgChecksum_
mov edx, 0xd2f
lea rcx, str.base_stor_blbcatalogcatsys.cpp
call fcn.140081b60
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14013cc00
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400a475c
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 0x1400a47a1
lea r8, str.pAtom___NULL
mov edx, 0x10ec
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.140081b60
test r15, r15
jne 0x1400a47be
lea r8, str.pbVal___NULL
mov edx, 0x10ed
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.140081b60
or dword [rsi], 0xffffffff
xor eax, eax
test ebp, ebp
je 0x1400a47dd
mov rdx, r15
mov r8, rbp
movzx ecx, byte [rdx]
inc rdx
rol eax, 1
xor eax, ecx
sub r8, 1
jne 0x1400a47cd
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 0x1400a48b3
mov rdx, qword [rdi + 0x18]
mov ecx, ebx
shr r9, 5
and ecx, 0x1f
mov eax, dword [rdx + r9*4]
bt eax, ecx
jb 0x1400a4859
cmp byte [r8], 9
jne 0x1400a48b3
lea rax, [r8 + 1]
and eax, 7
lea r13, [0x14014ce98]
mov ecx, dword [r13 + rax*4]
mov eax, dword [rcx + r8 + 1]
test eax, eax
jne 0x1400a4837
xor ecx, ecx
jmp 0x1400a483e
add rcx, 5
add rcx, r8
cmp eax, ebp
jne 0x1400a48b3
mov r8, rax
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400a48b3
shl ebx, 0xb
jmp 0x1400a48da
mov r12d, dword [r8]
xor edi, edi
test r12d, r12d
je 0x1400a48b3
lea r14, [r8 + 8]
lea r13, [0x14014ce98]
mov rcx, qword [r14]
cmp byte [rcx], 9
jne 0x1400a48a8
lea rax, [rcx + 1]
and eax, 7
mov edx, dword [r13 + rax*4]
mov eax, dword [rdx + rcx + 1]
test eax, eax
jne 0x1400a488e
xor ecx, ecx
jmp 0x1400a4895
add rcx, 5
add rcx, rdx
cmp eax, ebp
jne 0x1400a48a8
mov r8, rax
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400a48d5
inc edi
add r14, 8
cmp edi, r12d
jb 0x1400a486e
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 0x1400a48b8
Function at 0x1400ae62c
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 [0x14016d608]
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 [0x14016d090]
lea rbx, [0x14016d090]
cmp r10, rbx
je 0x1400ae6f2
test byte [r10 + 0x1c], 4
je 0x1400ae6b7
cmp byte [r10 + 0x19], 4
jb 0x1400ae6b7
mov rcx, qword [r10 + 0x10]
lea r8, [0x14014e198]
mov edx, 0x60
call fcn.140004968
mov r10, qword [0x14016d090]
cmp r10, rbx
je 0x1400ae6f2
test byte [r10 + 0x1c], 4
je 0x1400ae6f2
cmp byte [r10 + 0x19], 5
jb 0x1400ae6f2
movzx eax, r13b
lea r8, [0x14014e198]
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.14000fd50
or rdx, 0xffffffffffffffff
mov rcx, rdx
xor eax, eax
inc rcx
cmp word [r15 + rcx*2], ax
jne 0x1400ae6fb
mov rdi, rdx
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400ae708
lea ebp, [rdi + rcx]
lea eax, [rbp + 1]
cmp eax, 0x104
jbe 0x1400ae74e
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14013cc00
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 0x1400ae8af
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 0x1400ae825
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400ae7d6
xor eax, eax
jmp 0x1400ae72a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x14016d090]
lea rdx, [0x14016d090]
cmp rcx, rdx
je 0x1400ae81b
test byte [rcx + 0x1c], 4
je 0x1400ae81b
cmp byte [rcx + 0x19], 2
jb 0x1400ae81b
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x62
mov dword [rsp + 0x20], eax
lea r8, [0x14014e198]
call fcn.1400058c8
mov eax, 6
jmp 0x1400ae72a
mov r8, qword [rsp + 0x300]
lea r9, [0x1400ad850]
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.1400ad8e8
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14016d090]
lea rdx, [0x14016d090]
cmp rcx, rdx
je 0x1400ae8a8
test byte [rcx + 0x1c], 4
je 0x1400ae8a8
cmp byte [rcx + 0x19], 4
jb 0x1400ae8a8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x63
call fcn.140004968
mov eax, edi
jmp 0x1400ae72a
call fcn.14013cdd4
int3
Function at 0x1400b94d4
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 [0x14016d608]
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 [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x1400b955c
test byte [rcx + 0x1c], 4
je 0x1400b955c
cmp byte [rcx + 0x19], 4
jb 0x1400b955c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1f1
call fcn.140004968
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 0x1400b95e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rcx, qword [0x14016d090]
lea rdx, [0x14016d090]
cmp rcx, rdx
je 0x1400b95da
test byte [rcx + 0x1c], 4
je 0x1400b95da
cmp byte [rcx + 0x19], 2
jb 0x1400b95da
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1f2
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.1400058c8
mov eax, 0xd
jmp 0x1400b9711
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 0x1400b9630
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b95da
mov rsi, qword [rsp + 0x98]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140059bf8
lea rcx, [r14 + 8]
call fcn.14000516c
lea rcx, [rsp + 0x48]
mov bl, al
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
test bl, bl
jne 0x1400b96ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14016d090]
lea rdx, [0x14016d090]
cmp rcx, rdx
je 0x1400b96a5
test byte [rcx + 0x1c], 4
je 0x1400b96a5
cmp byte [rcx + 0x19], 2
jb 0x1400b96a5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1f3
call fcn.140004968
mov eax, 1
jmp 0x1400b9711
mov r8, rsi
mov rdx, rsi
mov rcx, r14
call fcn.140059bf8
lea rcx, [r14 + 8]
call fcn.14000516c
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 [0x14016d090]
lea rdx, [0x14016d090]
cmp rcx, rdx
je 0x1400b970f
test byte [rcx + 0x1c], 4
je 0x1400b970f
cmp byte [rcx + 0x19], 4
jb 0x1400b970f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1f4
call fcn.140004968
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14013cc00
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 0x1400b9740
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 [0x14016d608]
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.1400cd4b0
mov r14d, 8
lea rdx, [rbp - 0x29]
mov r8d, r14d
lea rcx, [rbp + 0x27]
call fcn.1400cdb04
mov r9d, dword [rbp - 0x29]
lea eax, [r14 + 0x30]
shr r9d, 3
lea r8d, [r14 + 0x70]
and r9d, 0x3f
lea rdx, [0x14016da10]
sub eax, r9d
lea rcx, [rbp - 0x39]
sub r8d, r9d
cmp r9d, 0x38
cmovb r8d, eax
call fcn.1400cd4b0
mov r8d, r14d
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.1400cd4b0
lea r9d, [r14 + 8]
mov rcx, rdi
mov r8d, r9d
lea rdx, [rbp - 0x39]
call fcn.1400cdb04
mov rcx, rdi
mov r8, rbx
sub rcx, rbx
mov al, byte [rcx + r8]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x1400b980b
mov rcx, qword [0x14016d090]
lea r14, [0x14016d090]
cmp rcx, r14
je 0x1400b98aa
test byte [rcx + 0x1c], 4
je 0x1400b986d
cmp byte [rcx + 0x19], 5
jb 0x1400b986d
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.1400ab474
mov rcx, qword [0x14016d090]
cmp rcx, r14
je 0x1400b98aa
test byte [rcx + 0x1c], 4
je 0x1400b98aa
cmp byte [rcx + 0x19], 5
jb 0x1400b98aa
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.1400ab474
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14013cc00
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b98c4
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 [0x14016d090]
lea r15, [0x14016d090]
cmp rcx, r15
je 0x1400b9931
test byte [rcx + 0x1c], 4
je 0x1400b9931
cmp byte [rcx + 0x19], 5
jb 0x1400b9931
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.1400abc94
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400b99d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400b999a
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x1400b9a0f
test byte [rcx + 0x1c], 4
je 0x1400b9a0f
cmp byte [rcx + 0x19], 5
jb 0x1400b9a0f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1f8
call fcn.140004968
jmp 0x1400b9a0f
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x1400b99ca
test byte [rcx + 0x1c], 4
je 0x1400b99ca
cmp byte [rcx + 0x19], 2
jb 0x1400b99ca
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1f9
mov r9d, edi
call fcn.140004988
and qword [rbx + 8], 0
mov qword [rbx], rdi
jmp 0x1400b9a05
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x1400b9a01
test byte [rcx + 0x1c], 4
je 0x1400b9a01
cmp byte [rcx + 0x19], 5
jb 0x1400b9a01
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1fa
call fcn.140004968
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 0x1400b9d08
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 [0x14016d090]
lea r15, [0x14016d090]
cmp rcx, r15
je 0x1400b9d75
test byte [rcx + 0x1c], 4
je 0x1400b9d75
cmp byte [rcx + 0x19], 5
jb 0x1400b9d75
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.1400abc94
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b9e18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400b9dde
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x1400b9e53
test byte [rcx + 0x1c], 4
je 0x1400b9e53
cmp byte [rcx + 0x19], 5
jb 0x1400b9e53
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1fe
call fcn.140004968
jmp 0x1400b9e53
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x1400b9e0e
test byte [rcx + 0x1c], 4
je 0x1400b9e0e
cmp byte [rcx + 0x19], 2
jb 0x1400b9e0e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x1ff
mov r9d, edi
call fcn.140004988
and qword [rbx + 8], 0
mov qword [rbx], rdi
jmp 0x1400b9e49
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x1400b9e45
test byte [rcx + 0x1c], 4
je 0x1400b9e45
cmp byte [rcx + 0x19], 5
jb 0x1400b9e45
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014e198]
mov edx, 0x200
call fcn.140004968
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