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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x1f0], rbx
mov rax, qword [0x1404a90f8]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov qword [rbp - 0x38], r9
mov rbx, r8
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 8], rdx
mov dword [rsp + 0x38], 0
mov rax, qword [r8]
mov qword [rsp + 0x58], rax
lea rcx, [rax - 0x10]
lea rsi, [0x1402901c8]
cmp rcx, rsi
je 0x14018013a
mov eax, 1
lock xadd dword [rcx], eax
mov r8, r9
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1401859c0
nop
mov rax, qword [rax]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x18]
mov rdx, r13
mov rcx, rdi
call fcn.140183610
mov dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
or r12, 0xffffffffffffffff
cmp rcx, rsi
je 0x14018018d
mov eax, r12d
lock xadd dword [rcx], eax
test eax, eax
jne 0x14018018d
call fcn.1400bd658
mov rax, qword [r13]
cmp byte [rax], 0
je 0x14018078b
mov rdx, r13
lea rcx, [rbp]
call fcn.140040d80
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x14018078b
mov r15d, 1
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rbx
lea rcx, [rbx - 0x10]
cmp rcx, rsi
je 0x1401801dc
mov eax, r15d
lock xadd dword [rcx], eax
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.14018a2f0
mov edx, 0x29
mov rcx, rax
call fcn.140176a90
movzx edi, al
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x14018021e
mov eax, r12d
lock xadd dword [rcx], eax
test eax, eax
jne 0x140180219
call fcn.1400bd658
mov rbx, qword [rsp + 0x20]
test dil, dil
je 0x14018036b
mov byte [rsp + 0x28], 1
mov edx, 0x28
lea rcx, [rsp + 0x20]
call fcn.140177490
mov edi, eax
mov edx, 0x29
lea rcx, [rsp + 0x20]
call fcn.140177490
mov r14d, eax
test edi, edi
jle 0x140180294
cmp eax, edi
jle 0x140180294
lea r8d, [rdi + 1]
mov r9d, eax
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x20]
call fcn.14018a6c0
mov dword [rsp + 0x38], 3
lea rcx, str.0123456789
mov qword [rbp - 0x80], rcx
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140175d40
test al, al
je 0x140180294
mov sil, 1
jmp 0x140180297
xor sil, sil
test byte [rsp + 0x38], 2
je 0x1401802cc
and dword [rsp + 0x38], 0xfffffffd
mov rcx, qword [rbp - 0x78]
add rcx, 0xfffffffffffffff0
lea rax, [0x1402901c8]
cmp rcx, rax
je 0x1401802cc
mov eax, r12d
lock xadd dword [rcx], eax
test eax, eax
jne 0x1401802c7
call fcn.1400bd658
mov rbx, qword [rsp + 0x20]
test sil, sil
je 0x140180378
lea r8d, [rdi + 1]
mov r9d, r14d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x20]
call fcn.14018a6c0
mov rcx, qword [rax]
call fcn.1400cb814
mov r15d, eax
mov rcx, qword [rbp - 0x70]
add rcx, 0xfffffffffffffff0
lea rsi, [0x1402901c8]
cmp rcx, rsi
je 0x14018031e
mov edx, r12d
lock xadd dword [rcx], edx
test edx, edx
jne 0x140180319
call fcn.1400bd658
mov rbx, qword [rsp + 0x20]
mov r9d, edi
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x20]
call fcn.14018a6c0
mov rcx, rax
mov rax, rbx
mov qword [rbp + 8], rbx
mov rbx, qword [rcx]
mov qword [rsp + 0x20], rbx
mov qword [rcx], rax
mov rcx, qword [rbp - 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x14018037f
mov eax, r12d
lock xadd dword [rcx], eax
test eax, eax
jne 0x140180364
call fcn.1400bd658
mov rbx, qword [rsp + 0x20]
jmp 0x14018037f
movzx edx, byte [rbp + 0x100]
mov byte [rsp + 0x28], dl
jmp 0x140180381
lea rsi, [0x1402901c8]
mov dl, 1
lea rcx, [rbx - 0x10]
mov qword [rsp + 0x60], rcx
nop word [rax + rax]
mov rdi, rbx
mov qword [rsp + 0x40], rbx
cmp rcx, rsi
je 0x1401803b0
mov eax, 1
lock xadd dword [rcx], eax
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x40]
test dl, dl
je 0x14018050e
inc r15d
mov dword [rsp + 0x48], r15d
mov word [rsp + 0x2c], 0x28
lea rcx, [rsp + 0x2c]
mov rax, r12
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1401803d0
lea rcx, [rsp + 0x2c]
add rcx, rax
mov qword [rbp + 0x10], rcx
lea rax, [rsp + 0x2c]
mov qword [rbp + 0x18], rax
sub ecx, eax
test ecx, ecx
jle 0x14018043e
mov rsi, r12
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1401803f7
mov qword [rbp - 0x60], rbx
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x20]
call fcn.14003e200
mov rdi, qword [rax]
mov qword [rsp + 0x40], rdi
movsxd rsi, esi
add rsi, rdi
mov r8, r14
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call fcn.1400c0020
mov byte [rsi + r14], 0
mov edx, r15d
lea rcx, [rbp + 0x88]
call fcn.140178550
mov r15, rax
lea rcx, [rbp + 0x88]
sub ecx, eax
test ecx, ecx
jle 0x1401804a5
mov rsi, r12
inc rsi
cmp byte [rdi + rsi], 0
jne 0x140180460
mov qword [rbp - 0x58], rdi
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x28]
call fcn.14003e200
mov rdi, qword [rax]
mov qword [rsp + 0x40], rdi
movsxd rsi, esi
add rsi, rdi
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.1400c0020
mov byte [rsi + r14], 0
mov word [rsp + 0x30], 0x29
lea rcx, [rsp + 0x30]
mov rax, r12
inc rax
cmp byte [rcx + rax], 0
jne 0x1401804b4
lea rcx, [rsp + 0x30]
add rcx, rax
mov qword [rbp + 0x30], rcx
lea rax, [rsp + 0x30]
mov qword [rbp + 0x38], rax
sub ecx, eax
test ecx, ecx
jle 0x140180675
mov rsi, r12
nop
inc rsi
cmp byte [rdi + rsi], 0
jne 0x1401804e0
mov qword [rbp - 0x50], rdi
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x40]
call fcn.14003e200
lea rdx, [rsp + 0x30]
jmp 0x140180657
cmp byte [rbx], 0
jne 0x140180517
xor eax, eax
jmp 0x140180565
mov rax, rbx
xor edx, edx
nop dword [rax]
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x140180550
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x140180554
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x140180540
jmp 0x140180554
test ecx, ecx
je 0x140180559
inc rdx
jmp 0x140180520
dec edx
lea rcx, [rsp + 0x20]
call fcn.140007180
movzx ecx, ax
call fcn.1400c3378
test eax, eax
setne al
test al, al
je 0x140180605
mov word [rsp + 0x34], 0x5f
lea rcx, [rsp + 0x34]
mov rax, r12
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140180590
lea rcx, [rsp + 0x34]
add rcx, rax
mov qword [rbp + 0x48], rcx
lea rax, [rsp + 0x34]
mov qword [rbp + 0x50], rax
sub ecx, eax
test ecx, ecx
jle 0x140180605
mov rsi, r12
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1401805b7
mov qword [rbp - 0x48], rbx
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x58]
call fcn.14003e200
mov rdi, qword [rax]
mov qword [rsp + 0x40], rdi
movsxd rsi, esi
add rsi, rdi
mov r8, r14
lea rdx, [rsp + 0x34]
mov rcx, rsi
call fcn.1400c0020
mov byte [rsi + r14], 0
lea rsi, [0x1402901c8]
inc r15d
mov dword [rsp + 0x48], r15d
mov edx, r15d
lea rcx, [rbp + 0x98]
call fcn.140178550
mov r15, rax
lea rcx, [rbp + 0x98]
sub ecx, eax
test ecx, ecx
jle 0x14018067c
mov rsi, r12
nop
inc rsi
cmp byte [rdi + rsi], 0
jne 0x140180630
mov qword [rbp - 0x40], rdi
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x60]
call fcn.14003e200
mov rdx, r15
mov rdi, qword [rax]
movsxd rsi, esi
add rsi, rdi
mov qword [rsp + 0x40], rdi
mov r8, r14
mov rcx, rsi
call fcn.1400c0020
mov byte [rsi + r14], 0
lea rsi, [0x1402901c8]
mov qword [rsp + 0x50], rdi
add rdi, 0xfffffffffffffff0
cmp rdi, rsi
je 0x140180698
mov eax, 1
lock xadd dword [rdi], eax
mov rbx, qword [rsp + 0x20]
mov r8, qword [rbp - 0x38]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.1401859c0
nop
mov rax, qword [rax]
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
call fcn.140183610
mov rdx, rax
mov rax, qword [r13]
mov qword [rbp + 0x68], rax
mov rcx, qword [rdx]
mov qword [r13], rcx
mov qword [rdx], rax
mov rcx, qword [rbp - 0x20]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1401806fb
mov eax, r12d
lock xadd dword [rcx], eax
test eax, eax
jne 0x1401806f6
call fcn.1400bd658
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x14018071e
mov eax, r12d
lock xadd dword [rcx], eax
test eax, eax
jne 0x140180719
call fcn.1400bd658
mov rbx, qword [rsp + 0x20]
cmp rdi, rsi
je 0x14018073b
mov eax, r12d
lock xadd dword [rdi], eax
test eax, eax
jne 0x140180736
mov rcx, rdi
call fcn.1400bd658
mov rbx, qword [rsp + 0x20]
mov rax, qword [r13]
cmp byte [rax], 0
je 0x140180772
mov rdx, r13
lea rcx, [rbp + 0x70]
call fcn.140040d80
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
mov r15d, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x28]
jne 0x140180390
mov rcx, qword [rsp + 0x60]
cmp rcx, rsi
je 0x14018078b
lock xadd dword [rcx], r12d
test r12d, r12d
jne 0x14018078b
call fcn.1400bd658
mov rax, r13
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.1400bd5f0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret