Function at 0x140001190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
or dword [0x140011714], 0xffffffff
xor edi, edi
mov r15, rdx
mov dword [0x14001171c], edi
mov r12d, ecx
mov dword [0x140011708], edi
mov dword [0x140011718], edi
lea r13d, [rdi + 1]
mov dword [0x140011720], edi
mov dword [0x140011710], edi
mov ebp, r13d
mov dword [0x14001170c], edi
mov qword [0x140011700], rdi
cmp ecx, r13d
jle 0x14000143d
lea r14, [rdx + 8]
mov rcx, qword [r14]
mov al, byte [rcx]
sub al, 0x2d
test al, 0xfd
je 0x140001230
mov dword [0x140011714], ebp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140001224
test al, 0x10
jne 0x140001400
add dword [0x140011710], r13d
jmp 0x140001400
movsx ebx, byte [rcx + 1]
mov cl, bl
call qword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
nop dword [rax + rax]
test eax, eax
jne 0x14000146c
mov ecx, ebx
mov esi, ebx
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
mov ecx, 0x52
mov ebx, eax
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
cmp ebx, eax
jne 0x14000127d
mov dword [0x14001171c], r13d
jmp 0x140001400
mov ecx, esi
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
mov ecx, 0x49
mov ebx, eax
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
cmp ebx, eax
jne 0x1400012b5
mov dword [0x14001171c], r13d
mov dword [0x140011708], r13d
jmp 0x140001400
mov ecx, esi
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
mov ecx, 0x3f
mov ebx, eax
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
cmp ebx, eax
jne 0x1400012e6
mov dword [0x140011718], r13d
jmp 0x140001400
mov ecx, esi
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
mov ecx, 0x44
mov ebx, eax
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
cmp ebx, eax
jne 0x14000131e
mov dword [0x14001171c], r13d
mov dword [0x14001170c], r13d
jmp 0x140001400
mov ecx, esi
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
mov ecx, 0x46
mov ebx, eax
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
cmp ebx, eax
jne 0x14000136a
mov rax, qword [r14]
cmp byte [rax + 2], 0x3a
jne 0x14000136a
add rax, 3
cmp byte [rax], dil
je 0x14000136a
cmp qword [0x140011700], rdi
jne 0x14000136a
mov qword [0x140011700], rax
jmp 0x140001400
mov ecx, esi
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
mov ecx, 0x4b
mov ebx, eax
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
cmp ebx, eax
jne 0x1400013b3
mov rax, qword [r14]
cmp byte [rax + 2], 0x3a
jne 0x1400013b3
add rax, 3
cmp byte [rax], dil
je 0x1400013b3
cmp qword [0x14000f608], rdi
jne 0x1400013b3
mov qword [0x14000f608], rax
jmp 0x140001400
mov ecx, esi
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
mov ecx, 0x45
mov ebx, eax
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
cmp ebx, eax
jne 0x14000145e
mov rax, qword [r14]
cmp byte [rax + 2], 0x3a
jne 0x14000145e
lea rcx, [rax + 3]
cmp byte [rcx], dil
je 0x14000145e
call qword [sym.imp.msvcrt.dll_atoi]
nop dword [rax + rax]
mov dword [0x14000f610], eax
add ebp, r13d
add r14, 8
cmp ebp, r12d
jl 0x1400011fa
movsxd rax, dword [0x140011714]
cmp eax, 0xffffffff
je 0x14000143d
mov rcx, qword [r15 + rax*8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140001437
test al, 0x10
cmovne edi, r13d
mov dword [0x140011720], edi
mov eax, r13d
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, esi
mov ecx, 3
call fcn.14000254c
jmp 0x1400014cd
movsxd rax, ebp
lea rcx, [rsp + 0x50]
mov edx, 3
mov r8, qword [r15 + rax*8]
add r8, r13
lea r9d, [rdx - 1]
call qword [sym.imp.msvcrt.dll_strncpy_s]
nop dword [rax + rax]
mov rcx, qword [0x14000f618]
lea r8, [0x140010f00]
mov r9d, 0x400
mov edx, FDIIsCabinet
call qword [sym.imp.USER32.dll_LoadStringA]
nop dword [rax + rax]
lea rdx, [rsp + 0x50]
lea rcx, [0x140010f00]
call qword [sym.imp.msvcrt.dll_printf]
nop dword [rax + rax]
xor eax, eax
jmp 0x140001440