Function at 0x1400ecc40
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov dword [rsp + 0x188], 0
lea rcx, [rsp + 0x128]
call fcn.1400ec640
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
lea r8, [0x140216690]
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x130]
call fcn.1400010b0
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.140023510
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400eccea
mov dword [rsp + 0x1b0], 1
jmp 0x1400eccf5
mov dword [rsp + 0x1b0], 0
movzx eax, byte [rsp + 0x1b0]
mov byte [rsp + 0x120], al
lea rcx, [rsp + 0x130]
call fcn.140001490
nop
lea rcx, [rsp + 0x128]
call fcn.140001490
movzx r11d, byte [rsp + 0x120]
test r11d, r11d
je 0x1400ecd5f
lea rdx, [0x1402166b0]
mov rcx, qword [rsp + 0x200]
call fcn.1400020d0
mov eax, dword [rsp + 0x188]
or eax, 1
mov dword [rsp + 0x188], eax
mov rax, qword [rsp + 0x200]
jmp 0x1400ecfae
lea rcx, [rsp + 0x40]
call fcn.1400e7d10
nop
lea rcx, [rsp + 0x140]
call fcn.1400ec640
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
lea r8, [0x1402166b8]
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x148]
call fcn.1400010b0
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x1d0]
call fcn.140023510
mov dword [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_WSACleanup
mov r8, rax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.1400eb0e0
mov rcx, rax
call fcn.1400e4e10
movzx eax, al
test eax, eax
jne 0x1400ece0f
mov dword [rsp + 0x1d8], 1
jmp 0x1400ece1a
mov dword [rsp + 0x1d8], 0
movzx eax, byte [rsp + 0x1d8]
mov byte [rsp + 0x138], al
lea rcx, [rsp + 0x148]
call fcn.140001490
nop
lea rcx, [rsp + 0x140]
call fcn.140001490
movzx r11d, byte [rsp + 0x138]
test r11d, r11d
je 0x1400ece8e
lea rdx, [0x1402166d8]
mov rcx, qword [rsp + 0x200]
call fcn.1400020d0
mov eax, dword [rsp + 0x188]
or eax, 1
mov dword [rsp + 0x188], eax
lea rcx, [rsp + 0x40]
call fcn.1400e65e0
mov rax, qword [rsp + 0x200]
jmp 0x1400ecfae
lea rcx, [rsp + 0x30]
call fcn.140002db0
nop
mov r8, qword [rsp + 0x208]
lea rdx, [0x1402166e0]
lea rcx, [rsp + 0x30]
call fcn.140002c40
lea rcx, [rsp + 0x30]
call fcn.140023510
xor r9d, r9d
mov r8, rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x40]
call fcn.1400eb970
lea rcx, [rsp + 0x168]
call fcn.1400e5f10
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1400e5e60
movzx eax, al
test eax, eax
je 0x1400ecf3c
lea rdx, [0x140216718]
mov rcx, qword [rsp + 0x200]
call fcn.1400020d0
mov eax, dword [rsp + 0x188]
or eax, 1
mov dword [rsp + 0x188], eax
lea rcx, [rsp + 0x30]
call fcn.140001490
nop
lea rcx, [rsp + 0x40]
call fcn.1400e65e0
mov rax, qword [rsp + 0x200]
jmp 0x1400ecfae
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x110]
call fcn.1400e73e0
lea r8, str.ITEM
lea rdx, [rsp + 0x180]
mov rcx, rax
call fcn.1400e6840
mov rcx, rax
call fcn.1400e5170
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call fcn.1400020d0
mov eax, dword [rsp + 0x188]
or eax, 1
mov dword [rsp + 0x188], eax
lea rcx, [rsp + 0x30]
call fcn.140001490
nop
lea rcx, [rsp + 0x40]
call fcn.1400e65e0
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0x1f8
ret