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

Disassembly:
mov r11, rsp
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x1400400b0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebx, 0x104
mov byte [r11 - 0x58], 1
mov r12, rdx
mov qword [r11 - 0x50], rbx
mov r13, rcx
mov r14, 0xffffffffffffffff
xor edi, edi
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov qword [r11 - 0x60], rdi
xor edx, edx
xor bpl, bpl
mov r15d, r14d
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
cmp byte [rsp + 0x230], dil
lea rcx, [rsp + 0x20]
mov eax, 0x7fe7
cmovne ebx, eax
mov edx, ebx
call fcn.140010e10
test eax, eax
jns 0x14001068f
lea rcx, [rsp + 0x20]
call fcn.14001e0bc
lea eax, [rdi - 2]
jmp 0x140010919
mov qword [rsp + 0x2a0], rsi
mov ebx, edi
mov rsi, rdi
nop dword [rax]
mov rax, qword [r13 + 0x70]
movzx edi, word [rsi + rax]
cmp di, 0x22
jne 0x1400106b7
test bpl, bpl
sete bpl
jmp 0x1400106dc
test di, di
je 0x140010732
test bpl, bpl
jne 0x1400106dc
movzx edx, di
lea rcx, str._______t_
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x140010732
cmp r15d, r14d
jne 0x140010708
movzx edx, di
lea rcx, [0x1400386a0]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x140010708
cmp byte [0x14004cbc5], 0
je 0x140010732
mov r15d, ebx
mov rcx, qword [rsp + 0x228]
lea rdx, [rsp + 0x20]
test rcx, rcx
cmovne rdx, rcx
inc ebx
mov word [rsi + rdx], di
add rsi, 2
cmp ebx, 0x7fe6
jb 0x1400106a0
lea rcx, [rsp + 0x20]
test ebx, ebx
jne 0x140010748
call fcn.14001e0bc
mov eax, r14d
jmp 0x140010911
mov rax, qword [rsp + 0x228]
test rax, rax
cmovne rcx, rax
xor edi, edi
mov eax, ebx
mov word [rcx + rax*2], di
cmp r15d, r14d
je 0x1400107ab
mov rax, qword [rsp + 0x228]
lea rcx, [rsp + 0x20]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14001078d
test al, 0x10
je 0x1400107ab
mov rax, qword [rsp + 0x228]
lea rcx, [rsp + 0x20]
test rax, rax
mov ebx, r15d
cmovne rcx, rax
mov eax, r15d
mov word [rcx + rax*2], di
mov rax, qword [rsp + 0x228]
lea rsi, [rsp + 0x20]
test rax, rax
mov ebp, edi
lea rdi, [0x140036330]
cmovne rsi, rax
nop dword [rax + rax]
mov rdx, qword [rdi - 0x10]
test rdx, rdx
je 0x1400107fc
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400107fc
movzx eax, word [rdi]
test al, 4
je 0x14001084d
cmp byte [0x14004cbc5], 0
jne 0x14001084d
inc ebp
add rdi, 0x20
cmp ebp, 0x2a
jle 0x1400107d0
mov ebp, r14d
mov dword [0x1400400fc], r14d
mov rdx, qword [rsp + 0x228]
test rdx, rdx
jne 0x140010823
lea rdx, [rsp + 0x20]
mov r8, r12
mov ecx, 0x2d
call fcn.14001d988
cmp eax, 0x2d
jne 0x14001093d
lea rcx, [rsp + 0x20]
call fcn.14001e0bc
mov eax, 0x2d
jmp 0x140010911
mov word [r12], ax
mov dword [0x1400400fc], ebp
cmp ebp, 0xffffffff
je 0x140010811
cmp ebp, 0x14
jne 0x14001086d
mov dword [r13 + 0x80], 1
xor r15d, r15d
mov rcx, qword [r13 + 0x70]
mov rax, r14
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140010880
cmp ebx, eax
je 0x1400108f5
lea edi, [rax + 1]
mov rax, qword [r13 + 0x78]
test rax, rax
je 0x1400108ae
nop word [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400108a0
add edi, r14d
lea ecx, [rdi + rdi]
call fcn.14000fd4c
mov r8, qword [r13 + 0x70]
mov rsi, rax
mov ecx, ebx
movsxd rdi, edi
mov rdx, rdi
lea rbx, [rcx + rcx]
mov rcx, rax
add r8, rbx
call fcn.1400158f0
mov r8, qword [r13 + 0x78]
test r8, r8
je 0x1400108e8
mov rdx, rdi
mov rcx, rsi
call fcn.1400157fc
mov rcx, qword [r13 + 0x70]
mov qword [r13 + 0x78], rsi
mov word [rbx + rcx], r15w
mov rcx, qword [rsp + 0x228]
mov qword [rsp + 0x228], r15
test rcx, rcx
je 0x14001090f
call fcn.14001fe90
mov eax, ebp
mov rsi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001f920
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
xor sil, sil
xor r15d, r15d
mov ebx, r15d
nop word [rax + rax]
mov rax, qword [r13 + 0x70]
mov ecx, ebx
movzx edi, word [rax + rcx*2]
test di, di
je 0x140010870
cmp di, 0x22
jne 0x14001097c
test sil, sil
jne 0x140010975
mov sil, 1
inc ebx
jmp 0x140010950
xor sil, sil
inc ebx
jmp 0x140010950
test sil, sil
jne 0x1400109c1
movzx ecx, di
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_iswspace]
nop dword [rax + rax]
test eax, eax
jne 0x140010870
movzx edx, di
lea rcx, [0x140037ab0]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x140010870
cmp di, 0x2f
je 0x140010870
inc ebx
jmp 0x140010950