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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], si
mov edx, 0x108
lea rcx, [rsp + 0x38]
call fcn.14002a980
mov rdx, rax
mov qword [rsp + 0x48], 0x104
mov qword [rsp + 0x50], 0x107
movzx eax, si
mov rdi, rdx
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [rdx + 0x208], si
mov qword [rsp + 0x38], rdx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, rdx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x27]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.1401062f0
nop
mov rdx, rax
mov rcx, rbx
call fcn.140106110
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400e1b52
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1b4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e1b4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400e1baa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1ba5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e1ba5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140115700
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400e4020
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400e409a
nop
mov ecx, dword [rsp + 0x28]
cmp rcx, rbx
je 0x1400e40c2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400e4080
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140115700
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
mov eax, dword [rsp + 0x40]
jmp 0x1400e40a1
Function at 0x1401046e0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1038
call fcn.1401160b0
sub rsp, rax
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor edx, edx
lea rcx, [0x140492e50]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea rcx, str.VBOX_APP_HOME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140104747
xor edx, edx
mov rcx, rax
call fcn.1401048f0
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140115700
add rsp, 0x1038
ret
lea rcx, str.ProgramFiles
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1401047e6
mov qword [rsp + 0x1040], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x1030], rdi
mov rdx, rax
mov edi, 0x1000
mov r8d, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x101f], 0
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140104797
sub rdi, rax
lea rbx, [rsp + 0x20]
add rbx, rax
lea rdx, str._Oracle_VirtualBox
mov rcx, rbx
mov r8, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov edx, 1
mov byte [rbx + rdi - 1], 0
lea rcx, [rsp + 0x20]
call fcn.1401048f0
mov rdi, qword [rsp + 0x1030]
mov rbx, qword [rsp + 0x1040]
test eax, eax
je 0x140104828
mov edx, 1
lea rcx, str.C:_Program_Files_Oracle_VirtualBox
call fcn.1401048f0
test eax, eax
je 0x140104828
mov edx, 1
xor ecx, ecx
call fcn.1401048f0
test eax, eax
je 0x140104828
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140115700
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140115700
add rsp, 0x1038
ret
Function at 0x140104e60
Capabilities:
Check if file exists
Delete file

Disassembly:
jmp 0x140110a50
push rbx
sub rsp, 0x50
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x140110a7c
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x38]
test eax, eax
sete bl
cmp rdx, 8
jb 0x140110acf
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110aca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110aca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test bl, bl
je 0x140110afe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140110afe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret
Function at 0x1401052c0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
call fcn.140110b20
mov edi, eax
test eax, eax
je 0x140105349
call fcn.1401084b0
mov ecx, dword [0x14048f3a4]
mov edx, 1
mov r8, qword [rax]
call r8
test eax, eax
je 0x140105349
call fcn.1401084b0
cmp qword [rbx + 0x18], 0x10
mov r10, qword [rax + 8]
mov rax, rbx
jb 0x140105310
mov rax, qword [rbx]
mov edx, dword [0x14048f3a4]
lea r9, str.xfileMove
mov dword [rsp + 0x38], edi
lea r8, str.C:code_app_playerhdSourcexplXfile.cpp
mov qword [rsp + 0x30], rax
mov ecx, 1
lea rax, str.Error_in_flushing_file__s_to_disk._Error___d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x9f
call r10
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140110c60
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
lea rcx, [rsp + 0x40]
call fcn.140106110
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x140110c93
mov rbx, qword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x140110caa
mov rax, qword [rax]
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140110d06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110d01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], ax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140110d60
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110d5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110d5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test bl, bl
je 0x140110d73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
jmp 0x140110d75
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140115700
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x140105540
Capabilities:
Delete directory

Disassembly:
jmp 0x140110fe0
push rbx
sub rsp, 0x50
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x14011100c
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rdx, qword [rsp + 0x38]
test eax, eax
sete bl
cmp rdx, 8
jb 0x14011105f
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011105a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011105a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test bl, bl
je 0x140111083
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret

Function at 0x140107f50
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov ecx, 1
call fcn.1401155a8
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140106820]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140107fc0
cmp dword [rsp + 0x38], 0
je 0x140107fd3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140107fb8
add rsp, 0x58
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140109910
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140109a02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
mov ebx, eax
call fcn.1401084b0
mov r8, qword [rax]
xor edx, edx
mov ecx, dword [0x14048f3b0]
call r8
test eax, eax
je 0x140109a02
call fcn.1401084b0
mov rdi, qword [rax + 8]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14010fe70
nop
cmp qword [rax + 0x18], 0x10
jb 0x140109987
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
lea r9, str.xprocKill
mov qword [rsp + 0x30], r9
lea rax, str._s:_TerminateProcess_failed_err_d___s_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x9e
lea r8, str.C:code_app_playerhdSourcexplXprocWinnt.cpp
mov edx, dword [0x14048f3b0]
xor ecx, ecx
call rdi
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140109a02
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401099fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401099fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140115700
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x14010a3e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov esi, edx
mov rdi, rcx
mov dword [rcx + 0xc0], edx
xor ebp, ebp
mov dword [rcx + 0xc4], ebp
mov dword [rcx + 0xc8], edx
mov ebx, ebp
test edx, edx
jle 0x14010a48a
mov ecx, 8
call fcn.1401155a8
test rax, rax
je 0x14010a427
mov qword [rax], rdi
jmp 0x14010a42a
mov rax, rbp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140109f10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14010a4ac
cmp dword [rsp + 0x38], 0
je 0x14010a4a1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14010a4bb
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
inc ebx
cmp ebx, esi
jl 0x14010a413
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
Function at 0x14010ec50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov ebx, r9d
mov rsi, r8
mov rdi, rcx
xor r14d, r14d
mov qword [rbp - 0x21], r14
lea rcx, [rbp + 0xf]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x14010ec94
mov rax, qword [rax]
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14010ecf7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010ecf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010ecf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test edi, edi
jne 0x14010edce
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140106110
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x29]
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010ed7a
cmp dword [rbp - 0x29], 4
jne 0x14010ed7a
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x15]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010ed7a
mov ebx, dword [rbp - 0x15]
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14010edbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010edb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010edb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14010edde
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140115700
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140110a50
Capabilities:
Check if file exists
Delete file

Disassembly:
jmp 0x140110a50
push rbx
sub rsp, 0x50
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x140110a7c
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x38]
test eax, eax
sete bl
cmp rdx, 8
jb 0x140110acf
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110aca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110aca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test bl, bl
je 0x140110afe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140110afe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret

Function at 0x140110b90
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x140110bbc
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0x38]
test eax, eax
sete bl
cmp rdx, 8
jb 0x140110c11
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110c0c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110c0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test bl, bl
je 0x140110c42
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140110c42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret
Function at 0x140110c60
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
call fcn.140110b20
mov edi, eax
test eax, eax
je 0x140105349
call fcn.1401084b0
mov ecx, dword [0x14048f3a4]
mov edx, 1
mov r8, qword [rax]
call r8
test eax, eax
je 0x140105349
call fcn.1401084b0
cmp qword [rbx + 0x18], 0x10
mov r10, qword [rax + 8]
mov rax, rbx
jb 0x140105310
mov rax, qword [rbx]
mov edx, dword [0x14048f3a4]
lea r9, str.xfileMove
mov dword [rsp + 0x38], edi
lea r8, str.C:code_app_playerhdSourcexplXfile.cpp
mov qword [rsp + 0x30], rax
mov ecx, 1
lea rax, str.Error_in_flushing_file__s_to_disk._Error___d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x9f
call r10
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140110c60
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
lea rcx, [rsp + 0x40]
call fcn.140106110
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x140110c93
mov rbx, qword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x140110caa
mov rax, qword [rax]
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140110d06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110d01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], ax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140110d60
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110d5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110d5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test bl, bl
je 0x140110d73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
jmp 0x140110d75
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140115700
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x140110ed0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x140110efc
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 8
jb 0x140110f4c
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140110f47
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140110f47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
cmp ebx, 0xffffffff
jne 0x140110f71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret

Function at 0x140110f90
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
mov rbx, r9
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140110fc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
add rsp, 0x30
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov qword [rbx], rax
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140110fe0
Capabilities:
Delete directory

Disassembly:
jmp 0x140110fe0
push rbx
sub rsp, 0x50
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x14011100c
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rdx, qword [rsp + 0x38]
test eax, eax
sete bl
cmp rdx, 8
jb 0x14011105f
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011105a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011105a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test bl, bl
je 0x140111083
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115700
add rsp, 0x50
pop rbx
ret

Function at 0x140111200
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
mov rbx, r9
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140111237
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
add rsp, 0x30
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov qword [rbx], rax
xor eax, eax
add rsp, 0x30
pop rbx
ret