Function at 0x140063d30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x250
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebp, ebp
lea rax, [rsp + 0x30]
mov ebx, 0x104
mov qword [r8], rbp
mov r9d, ebx
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r15, r8
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x140063d96
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140063d96
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x140063d74
test r9, r9
lea rax, [rdx - 2]
mov rcx, rbx
cmovne rax, rdx
mov word [rax], bp
lea rax, [rsp + 0x30]
nop dword [rax]
cmp word [rax], bp
je 0x140063dbf
add rax, 2
sub rcx, 1
jne 0x140063db0
mov rax, rbx
mov esi, 0x7ffffffe
sub rax, rcx
test rcx, rcx
cmove rax, rbp
je 0x140063e1f
mov rdx, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140063e11
lea r9, [0x1400d20d8]
mov eax, esi
sub r9, rcx
test rax, rax
je 0x140063e11
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140063e11
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140063df0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], bp
lea r8, [rsp + 0x30]
mov qword [rsp + 0x270], r14
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
jne 0x140063e62
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x140063e96
mov rcx, qword [rsp + 0x268]
mov edx, reloc.OLEAUT32.dll_CreateErrorInfo
call fcn.140063870
mov ebp, eax
jmp 0x140063e96
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebp
mov rcx, rdi
mov dword [rsp + 0x24], ebp
call fcn.140063ba0
mov r14d, eax
test eax, eax
jns 0x140063ed1
mov rcx, qword [rsp + 0x268]
mov r9d, eax
mov edx, 0xcf
call fcn.140063850
mov ebp, r14d
test rdi, rdi
jne 0x140063fcc
mov r14, qword [rsp + 0x270]
mov eax, ebp
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140078e50
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret
mov rcx, rbx
lea rax, [rsp + 0x30]
nop dword [rax]
cmp word [rax], bp
je 0x140063eef
add rax, 2
sub rcx, 1
jne 0x140063ee0
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, rbp
je 0x140063f42
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rax*2]
sub rbx, rax
je 0x140063f34
lea rcx, [0x1400d20e0]
sub rcx, rdx
test rsi, rsi
je 0x140063f34
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140063f34
mov word [rdx], ax
dec rsi
add rdx, 2
sub rbx, 1
jne 0x140063f16
test rbx, rbx
lea rax, [rdx - 2]
cmovne rax, rdx
mov word [rax], bp
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
jne 0x140063f74
mov rcx, qword [rsp + 0x268]
mov edx, 0xd5
call fcn.140063870
mov esi, eax
mov ebp, esi
jmp 0x140063fcc
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.140063ba0
mov esi, eax
test eax, eax
jns 0x140063fab
mov rcx, qword [rsp + 0x268]
mov r9d, eax
mov edx, QISearch
call fcn.140063850
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140063ff1
jmp 0x140063f70
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140063fde
movsxd rcx, dword [rsp + 0x24]
movsxd rax, dword [rsp + 0x20]
shl rcx, 0x1f
or rcx, rax
mov qword [r15], rcx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140064004
jmp 0x140063e9f
mov rcx, qword [rsp + 0x268]
mov edx, 0x93e
call fcn.1400239e0
int3
mov rcx, qword [rsp + 0x268]
mov edx, 0x93e
call fcn.1400239e0
int3
mov rcx, qword [rsp + 0x268]
mov edx, 0x93e
call fcn.1400239e0
int3