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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x328
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov dl, 1
mov rcx, qword [rsp + 0x330]
call fcn.14000f220
movzx eax, al
test eax, eax
je 0x14000caa6
xor al, al
jmp 0x14000cfee
mov rax, qword [rsp + 0x330]
movsx eax, byte [rax + 0x190]
test eax, eax
je 0x14000cac0
xor al, al
jmp 0x14000cfee
mov rax, qword [rsp + 0x330]
add rax, 0xc8
mov rcx, rax
call fcn.1400151f0
cmp eax, 0xffffffff
jne 0x14000cae2
xor al, al
jmp 0x14000cfee
mov rcx, qword [rsp + 0x330]
call fcn.14000f0e0
cmp rax, 0xffff
jne 0x14000cafe
xor al, al
jmp 0x14000cfee
cmp qword [rsp + 0x348], 0
je 0x14000cb7a
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0xe0]
call fcn.1400031a0
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x348]
call fcn.1400dcf2c
test eax, eax
jne 0x14000cb3e
mov byte [rsp + 0x40], 0
jmp 0x14000cb6a
mov rcx, qword [rsp + 0x348]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [rsp + 0x338]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x338]
cmp dword [rax + 0x28], 0xffffffff
jne 0x14000cb6a
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x14000cb7a
xor al, al
jmp 0x14000cfee
mov rax, qword [rsp + 0x330]
add rax, 0x38
mov rcx, rax
call fcn.140019d00
mov rax, qword [rsp + 0x330]
add rax, 0x198
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x338]
mov rcx, qword [rsp + 0x68]
call fcn.140017cb0
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.1400124c0
nop
lea rcx, [rsp + 0x50]
call fcn.140007860
movzx eax, al
test eax, eax
je 0x14000cc3d
mov rcx, qword [rsp + 0x330]
call fcn.14000f0e0
mov r8, rax
lea rdx, str.file_i
lea rcx, [rsp + 0x50]
call fcn.140004850
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x50]
call fcn.140003250
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.140012540
mov rax, qword [rsp + 0x330]
add rax, 0x198
mov qword [rsp + 0x88], rax
xor r9d, r9d
mov rax, qword [rsp + 0x330]
movzx r8d, byte [rax + 0x268]
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.1400116a0
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x330]
call fcn.1400105c0
mov byte [rsp + 0x44], al
mov rax, qword [rsp + 0x330]
add rax, 0x10
mov rcx, rax
call fcn.1400028c0
test eax, eax
je 0x14000ccb8
mov dword [rsp + 0x48], 1
jmp 0x14000ccc0
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x42], al
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
mov qword [rsp + 0x90], rax
movzx eax, byte [rsp + 0x42]
mov byte [rsp + 0x43], al
mov rax, qword [rsp + 0x330]
add rax, 0xc8
mov rcx, rax
call fcn.1400151f0
cmp eax, 1
jne 0x14000cd09
mov byte [rsp + 0x41], 1
jmp 0x14000cd0e
mov byte [rsp + 0x41], 0
movzx r9d, byte [rsp + 0x43]
movzx r8d, byte [rsp + 0x41]
mov edx, dword [rsp + 0x340]
mov rcx, qword [rsp + 0x90]
call fcn.1400129f0
movzx eax, al
test eax, eax
jne 0x14000cd47
mov edx, 0xffffff95
mov rcx, qword [rsp + 0x330]
call fcn.140010c40
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x330]
add rax, 0xc8
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.140012be0
mov rax, qword [rsp + 0x330]
movzx eax, byte [rax + 0x268]
test eax, eax
je 0x14000cdc9
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x50]
call fcn.140003250
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.140012540
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x14000ce5c
xor r8d, r8d
mov edx, reloc.WS2_32.dll_inet_ntoa
lea rcx, [rsp + 0xb8]
call fcn.140014330
nop
mov rax, qword [rsp + 0x338]
movzx eax, word [rax + 0x14]
shl eax, 0x10
lea r8, [rsp + 0xb8]
mov edx, eax
mov rcx, qword [rsp + 0x330]
call fcn.14000ffe0
mov rax, qword [rsp + 0x330]
add rax, 0xc8
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xb8]
call fcn.1400028b0
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140015420
nop
lea rcx, [rsp + 0xb8]
call fcn.140014460
mov rax, qword [rsp + 0x330]
mov dword [rax + 0xa4], 0
mov rax, qword [rsp + 0x330]
mov dword [rax + 0x50], 0
mov rax, qword [rsp + 0x330]
add rax, 0xb0
mov rcx, rax
call fcn.1400028c0
mov rcx, qword [rsp + 0x330]
mov dword [rcx + 0x60], eax
mov rax, qword [rsp + 0x330]
add rax, 0xb0
mov rcx, rax
call fcn.1400028b0
mov rcx, qword [rsp + 0x330]
mov qword [rcx + 0x58], rax
mov rax, qword [rsp + 0x330]
mov dword [rax + 0x54], 0
mov rax, qword [rsp + 0x330]
mov dword [rax + 0x64], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x14000cf0f
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
movzx eax, word [rax + 0x12]
test eax, eax
je 0x14000cf0f
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
xor ecx, ecx
mov word [rax + 0x12], cx
mov rcx, qword [rsp + 0x330]
call fcn.140010b00
movzx eax, word [rax + 0x12]
cmp eax, 8
jne 0x14000cfcb
mov rax, qword [rsp + 0x330]
movzx eax, byte [rax + 8]
test eax, eax
je 0x14000cf4e
mov rax, qword [rsp + 0x330]
add rax, 0x158
mov qword [rsp + 0x60], rax
jmp 0x14000cf57
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x88], rcx
mov rax, qword [rsp + 0x330]
add rax, 0x48
mov dword [rsp + 0x38], 0x58
lea rcx, str.1.2.11
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
mov r9d, 0xfffffff1
mov r8d, 8
mov edx, dword [rsp + 0x340]
mov rcx, rax
call fcn.14001b8f0
mov dword [rsp + 0x58], eax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x330]
call fcn.140010b20
mov rax, qword [rsp + 0x330]
mov byte [rax + 0x190], 1
mov byte [rsp + 0x45], 1
lea rcx, [rsp + 0x50]
call fcn.1400031c0
movzx eax, byte [rsp + 0x45]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x328
ret