joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bb28
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rsi, r9
mov r15, r8
mov r14, rdx
mov rdi, rcx
xor r12d, r12d
test rdx, rdx
jne 0x14000bb78
test r9, r9
jne 0x14000bb78
mov eax, 0x80070057
jmp 0x14000bd64
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r12
mov word [rbp - 0x39], r12w
mov rdx, rsi
test r14, r14
cmovne rdx, r14
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14000bb97
lea rcx, [rbp - 0x41]
call fcn.1400071ec
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.14000c354
lea rdx, [rbp - 0x41]
call fcn.14000c260
mov ebx, eax
test eax, eax
js 0x14000bd52
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.14000bd8c
mov ebx, eax
test eax, eax
js 0x14000bd52
mov dword [rbp - 0x51], r12d
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
lea r8, [rbp - 0x51]
mov rcx, rdi
call fcn.14000bfb4
mov ebx, eax
test eax, eax
js 0x14000bd52
mov edx, dword [rbp - 0x51]
cmp edx, 1
jne 0x14000bc5f
test byte [rbp + 0x7f], dl
jne 0x14000bc2d
mov r8, r14
mov ebx, 0x80070057
mov edx, ebx
mov ecx, 0xb9
call fcn.14000589c
jmp 0x14000bd52
test rsi, rsi
je 0x14000bd2f
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
lea r8, [rbp - 0x41]
mov rdx, rsi
call fcn.14000c49c
mov ebx, eax
test eax, eax
js 0x14000bd52
mov edx, 2
test edx, 0xfffffffd
jne 0x14000bd2f
test r15, r15
je 0x14000bce2
mov qword [rbp + 7], 7
mov qword [rbp - 1], r12
mov word [rbp - 0x11], r12w
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x41]
call fcn.14000be98
cmp qword [rbp - 1], r12
je 0x14000bcb5
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
mov rdx, r15
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000bcd2
lea rdx, [0x1400acc48]
lea rcx, [rbp - 0x41]
call fcn.140006ec8
mov rdx, r15
lea rcx, [rbp - 0x41]
call fcn.140006ec8
nop
cmp qword [rbp + 7], 8
jb 0x14000bce2
mov rcx, qword [rbp - 0x11]
call sub.msvcrt.dll_free
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x14000bd1c
lea r8, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae r8, qword [rbp - 0x39]
mov edx, dword [rbp + 0x7f]
call fcn.14000c1a0
mov ebx, eax
test eax, eax
js 0x14000bd52
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.14000c064
mov eax, 8
jmp 0x14000bd34
mov eax, 0x80
lea rcx, [rdi + rax]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x41]
call fcn.140007f64
mov dword [rdi + 4], 1
mov ebx, r12d
cmp qword [rbp - 0x21], 8
jb 0x14000bd62
mov rcx, qword [rbp - 0x39]
call sub.msvcrt.dll_free
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400a0610
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000cc5c
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15, r9
mov r14, rdx
xor edi, edi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], edi
mov rax, qword [rcx + 8]
mov qword [rsp + 0x68], rax
lea rdx, [0x1400acd48]
lea rcx, [rsp + 0x50]
call fcn.14003d5c4
lea rcx, [rsp + 0x50]
call fcn.14003d4d8
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000ce56
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.140058c58
mov eax, edi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400a0610
lea r11, [rsp + 0x2d0]
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
lea rdx, [0x1400acc48]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000ce56
lea rdx, [0x1400acd50]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000ce56
mov rax, qword [r14 + 8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000ce56
lea rcx, [rbx + 0x18]
cmp qword [rbx + 0x30], 8
jb 0x14000cdce
mov rcx, qword [rcx]
lea rdx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14000ce49
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14000cdfd
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call fcn.1400071ec
nop
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.14000d794
nop
cmp qword [rsp + 0x40], 8
jb 0x14000ce36
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
mov rbx, qword [rbx]
cmp rbx, qword [r14 + 8]
jne 0x14000cdc0
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000cd72
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
jmp 0x14000cd34
Function at 0x14000ce90
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, r8
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], ebx
mov rax, qword [rcx]
mov qword [rsp + 0x68], rax
lea rdx, [0x1400acd48]
lea rcx, [rsp + 0x50]
call fcn.14003d5c4
lea rcx, [rsp + 0x50]
call fcn.14003d4d8
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d03b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.140058c58
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400a0610
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, [0x1400acc48]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000d03b
lea rdx, [0x1400acd50]
lea rcx, [rbp - 0x64]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14000d03b
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14000cfef
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x20]
call fcn.1400071ec
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000d794
nop
cmp qword [rsp + 0x40], 8
jb 0x14000d028
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000cf9a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
jmp 0x14000cf60
Function at 0x14000d1d0
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [r9]
mov rbx, r9
mov rbp, r8
mov r9, r8
mov rsi, rdx
mov r8, rdx
lea rdx, str.Attempting_to_copy___s__to___s_
mov rcx, rbx
mov rax, qword [rax + 0xa0]
xor edi, edi
call qword [case.0x1400462a5.0]
and dword [rsp + 0x28], edi
xor r9d, r9d
and qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d26d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
lea rdx, str.CopyFile_failed
or edi, 0x80070000
mov rcx, rbx
test eax, eax
cmovle edi, eax
mov rax, qword [rbx]
mov r8d, edi
mov rax, qword [rax + 0xa8]
call qword [case.0x1400462a5.0]
jmp 0x14000d28d
mov rax, qword [rbx]
lea rdx, str.__s__successfully_copied_to___s_
mov r9, rbp
mov r8, rsi
mov rcx, rbx
mov rax, qword [rax + 0xa0]
call qword [case.0x1400462a5.0]
test edi, edi
js 0x14000d369
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d34c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9, qword [rbx]
lea rdx, str.DeleteFile_first_attempt_failed.
movzx r8d, ax
mov rcx, rbx
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov rax, qword [r9 + 0xa8]
call qword [case.0x1400462a5.0]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d340
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9, qword [rbx]
lea rdx, str.DeleteFile_second_attempt_failed.
movzx r8d, ax
mov rcx, rbx
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov rax, qword [r9 + 0xa8]
call qword [case.0x1400462a5.0]
jmp 0x14000d369
mov rax, qword [rbx]
mov rax, qword [rax + 0xa0]
jmp 0x14000d356
mov rcx, qword [rbx]
mov rax, qword [rcx + 0xa0]
mov r8, rsi
lea rdx, str.__s__successfully_deleted
mov rcx, rbx
call qword [case.0x1400462a5.0]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000d388
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rdx
mov rbx, rcx
xor r12d, r12d
mov edi, r12d
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], r12w
jne 0x14000d3e7
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400071ec
nop
lea rdx, [0x1400acd48]
lea rcx, [rsp + 0x50]
call fcn.140006ec8
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000d546
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
mov r14d, eax
movzx eax, word [rbp - 0x52]
cmp word [rbp - 0x54], 0x2e
jne 0x14000d480
test ax, ax
je 0x14000d52d
cmp word [rbp - 0x54], 0x2e
jne 0x14000d480
cmp ax, 0x2e
jne 0x14000d480
cmp word [rbp - 0x50], r12w
je 0x14000d52d
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x14000d498
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400071ec
nop
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x28]
call fcn.140006ec8
lea rcx, [rsp + 0x30]
test byte [rbp - 0x80], 0x10
je 0x14000d502
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov rdx, r15
call fcn.14000d388
mov edi, eax
test eax, eax
js 0x14000d51b
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [rax + rax]
jmp 0x14000d51b
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
nop
cmp qword [rsp + 0x48], 8
jb 0x14000d52d
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
test r14d, r14d
jne 0x14000d43e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
nop
cmp qword [rsp + 0x70], 8
jb 0x14000d558
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_free
mov eax, edi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a0610
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000d58c
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1400de638]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rdi, rdx
lea r9, [rsp + 0x28]
mov rsi, rcx
lea r8, [rsp + 0x20]
mov r15d, 0x104
xor r14d, r14d
mov edx, r15d
mov qword [rsp + 0x28], r14
mov rcx, rdi
call fcn.14003d3e8
mov ecx, eax
mov rdx, rsi
call fcn.1400164b4
mov rdx, qword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
test eax, eax
je 0x14000d732
lea rcx, [rsp + 0x30]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
nop dword [rax + rax]
test eax, eax
jne 0x14000d732
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d732
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x28]
lea r8, [0x1400ac45c]
mov edx, r15d
lea rcx, [rsp + 0x40]
call fcn.140001314
lea rcx, [rsp + 0x28]
mov ebx, eax
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
test ebx, ebx
js 0x14000d762
lea r8d, [r14 + 0x5c]
mov rcx, rdi
lea rdx, [rsp + 0x40]
call fcn.14003d7b8
mov rdx, rsi
mov ecx, eax
call fcn.1400164b4
test al, al
jne 0x14000d74c
mov rcx, qword [rdi]
lea rdx, [rsp + 0x20]
call fcn.140058a70
cmp qword [rsp + 0x20], r15
jbe 0x14000d6fe
mov rcx, rdi
mov qword [rsp + 0x20], r14
call fcn.14003d4d8
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140016ecc
mov ebx, eax
test eax, eax
js 0x14000d74c
mov rdx, qword [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14000d6ea
mov rcx, rdi
call fcn.14003d298
mov ebx, eax
test ebx, ebx
js 0x14000d762
mov rcx, rdi
call fcn.14003d4d8
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d74c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x14000d74c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000d762
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x58]
call qword [case.0x1400462a5.0]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400a0610
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140016780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x1400167b4
shr eax, 4
not al
and al, 1
mov byte [rsi], al
jmp 0x1400167cf
mov rax, qword [rbx]
mov r8, rdi
mov edx, 0xdef00512
mov rcx, rbx
mov rax, qword [rax + 0x80]
call qword [case.0x1400462a5.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x58]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [case.0x1400462a5.0]
Function at 0x14002ca7c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rcx + 0x58]
cmp qword [rdi], 0
je 0x14002cb12
test rbx, rbx
je 0x14002cae9
mov rax, qword [r8]
and dword [rsp + 0x28], 0
lea rcx, [0x1400ac3ac]
mov qword [rsp + 0x20], rcx
mov r9d, 0x5d
lea r8, [0x1400b2fd0]
mov edx, 0xdef0000a
mov rcx, rbx
mov rax, qword [rax + 0x50]
call qword [case.0x1400462a5.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x58]
call qword [case.0x1400462a5.0]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rdx, rdi
mov ecx, 0x10
call fcn.14002e104
mov ecx, eax
mov rdx, rbx
call fcn.1400164b4
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x40]
call qword [case.0x1400462a5.0]
test al, al
je 0x14002cb55
lea rdx, [rsi + 0x60]
mov ecx, 0x80
call fcn.14002e104
mov ecx, eax
mov rdx, rbx
call fcn.1400164b4
cmp qword [rdi], 0
je 0x14002cae9
cmp qword [rsi + 0x60], 0
je 0x14002cae9
and qword [rbp + 0x67], 0
lea rdx, [rbp + 0x67]
mov rcx, r14
call fcn.140016ecc
mov edi, eax
test eax, eax
jns 0x14002cb98
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_basemrtibc_srccschemareader.cpp
mov edx, 0x6e
call fcn.140002980
mov eax, edi
jmp 0x14002caf9
lea rax, [rbp + 0x67]
mov qword [rbp - 0x11], rax
mov byte [rbp - 9], 1
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
jne 0x14002cbeb
mov rax, qword [rbx]
mov r8, qword [rbp + 0x67]
mov edx, 0xdef00071
mov rcx, rbx
mov rax, qword [rax + 0x80]
call qword [case.0x1400462a5.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x58]
call qword [case.0x1400462a5.0]
mov edi, eax
jmp 0x14002cc73
xorps xmm0, xmm0
movdqa xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm1
movdqa xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x3f], 0
mov qword [rsp + 0x20], rbx
lea r9, str.PriInfo
xor r8d, r8d
mov rdx, qword [rbp + 0x67]
lea rcx, [rbp + 7]
call fcn.14001d780
mov edi, eax
test eax, eax
jns 0x14002cc2d
mov edx, 0x79
jmp 0x14002cc47
mov r9, rbx
mov rdx, qword [rbp + 0x67]
mov rcx, rsi
call fcn.14002cc88
mov edi, eax
test eax, eax
jns 0x14002cc5c
mov edx, 0x82
lea r8, str.onecoreuap_basemrtibc_srccschemareader.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x5f]
call fcn.140002980
jmp 0x14002cc69
mov rdx, rbx
mov rcx, rsi
call fcn.14002d864
mov edi, eax
lea rcx, [rbp + 7]
call fcn.14001da30
nop
mov rcx, qword [rbp + 0x67]
call sub.msvcrt.dll_free
jmp 0x14002cb91
Function at 0x140043b98
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
and dword [r11 + 0x10], 0
xor eax, eax
and qword [rdx], rax
mov r15, r8
and qword [r8], rax
mov r12, rdx
and qword [r11 + 0x18], rax
mov qword [r11 + 0x20], rax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x48], rax
call fcn.140058568
mov rdi, qword [rsp + 0x90]
mov esi, eax
test eax, eax
jns 0x140043be9
mov r9d, eax
mov edx, 0x66
jmp 0x140043c2e
lea rdx, [rsp + 0x98]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
test eax, eax
jne 0x140043c20
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x140043c22
xor esi, esi
test esi, esi
jns 0x140043c44
mov r9d, esi
mov edx, 0x68
mov rcx, qword [rsp + 0x78]
lea r8, str.minkernelmrtmrm_srcmrmmin_basefile.cpp
call fcn.140002980
jmp 0x140043d14
mov ebp, dword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebp
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140043c80
mov esi, 0x8007000e
lea edx, [rax + 0x6c]
jmp 0x140043ce3
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x140043cc3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x140043cc5
xor esi, esi
test esi, esi
jns 0x140043cd0
mov edx, 0x6e
jmp 0x140043ce3
cmp dword [rsp + 0x88], ebp
je 0x140043cf9
mov esi, 0x80073b16
mov edx, 0x70
mov rcx, qword [rsp + 0x78]
lea r8, str.minkernelmrtmrm_srcmrmmin_basefile.cpp
mov r9d, esi
call fcn.140002980
jmp 0x140043d07
mov rax, rbx
mov qword [r12], rbp
xor ebx, ebx
mov qword [r15], rax
xor esi, esi
test rbx, rbx
je 0x140043d14
mov rcx, rbx
call fcn.14006202c
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140043d26
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
mov eax, esi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140055e38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx eax, word [rcx]
mov edi, edx
mov rsi, rcx
mov ebx, 0x3482
test ax, ax
je 0x140055e87
and edi, 1
test edi, edi
je 0x140055e74
movzx ecx, ax
call qword [sym.imp.msvcrt.dll_towlower]
nop dword [rax + rax]
add rsi, 2
movzx eax, ax
add ebx, ebx
xor ebx, eax
movzx eax, word [rsi]
test ax, ax
jne 0x140055e61
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400585e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9d, ecx
mov r10, rdx
not r9d
test r8d, r8d
je 0x14005861f
mov r11d, r8d
movzx eax, byte [r10]
mov edx, r9d
xor rdx, rax
inc r10
mov eax, r9d
movzx ecx, dl
shr eax, 8
lea rdx, [0x1400b7de0]
mov r9d, dword [rdx + rcx*4]
xor r9d, eax
sub r11, 1
jne 0x1400585f5
not r9d
mov eax, r9d
ret

Function at 0x140058630
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov r10d, 0xffff5432
test r9d, r9d
je 0x140058685
mov r9d, r9d
lea rbx, [0x1400b7de0]
movzx r8d, word [r11]
mov eax, r10d
xor rax, r8
shr r10d, 8
movzx ecx, al
lea r11, [r11 + 2]
shr r8, 8
mov edx, dword [rbx + rcx*4]
xor edx, r10d
mov eax, edx
shr edx, 8
xor r8, rax
movzx eax, r8b
mov r10d, dword [rbx + rax*4]
xor r10d, edx
sub r9, 1
jne 0x14005864d
mov rbx, qword [rsp + 8]
not r10d
mov eax, r10d
ret