Function at 0x1400ec990
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 [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov dword [rsp + 0x188], 0
lea rcx, [rsp + 0x128]
call fcn.1400eba50
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
lea r8, [0x14021d498]
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x130]
call fcn.1400010b0
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.14000f8f0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400eca3a
mov dword [rsp + 0x1b0], 1
jmp 0x1400eca45
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 0x1400ecaaf
lea rdx, [0x14021d4b8]
mov rcx, qword [rsp + 0x200]
call fcn.140002100
mov eax, dword [rsp + 0x188]
or eax, 1
mov dword [rsp + 0x188], eax
mov rax, qword [rsp + 0x200]
jmp 0x1400eccfe
lea rcx, [rsp + 0x40]
call fcn.1400e7060
nop
lea rcx, [rsp + 0x140]
call fcn.1400eba50
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
lea r8, [0x14021d4c0]
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.14000f8f0
mov dword [rsp + 0x20], 0
mov r9d, reloc.WSOCK32.dll_WSACleanup
mov r8, rax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.1400ea430
mov rcx, rax
call fcn.1400e4160
movzx eax, al
test eax, eax
jne 0x1400ecb5f
mov dword [rsp + 0x1d8], 1
jmp 0x1400ecb6a
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 0x1400ecbde
lea rdx, [0x14021d4e0]
mov rcx, qword [rsp + 0x200]
call fcn.140002100
mov eax, dword [rsp + 0x188]
or eax, 1
mov dword [rsp + 0x188], eax
lea rcx, [rsp + 0x40]
call fcn.1400e5930
mov rax, qword [rsp + 0x200]
jmp 0x1400eccfe
lea rcx, [rsp + 0x30]
call fcn.140002de0
nop
mov r8, qword [rsp + 0x208]
lea rdx, str.__root_LANG__VALUE_s_
lea rcx, [rsp + 0x30]
call fcn.140002c70
lea rcx, [rsp + 0x30]
call fcn.14000f8f0
xor r9d, r9d
mov r8, rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x40]
call fcn.1400eacc0
lea rcx, [rsp + 0x168]
call fcn.1400e5260
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1400e51b0
movzx eax, al
test eax, eax
je 0x1400ecc8c
lea rdx, [0x14021d520]
mov rcx, qword [rsp + 0x200]
call fcn.140002100
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.1400e5930
mov rax, qword [rsp + 0x200]
jmp 0x1400eccfe
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x110]
call fcn.1400e6730
lea r8, str.ITEM
lea rdx, [rsp + 0x180]
mov rcx, rax
call fcn.1400e5b90
mov rcx, rax
call fcn.1400e44c0
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call fcn.140002100
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.1400e5930
mov rax, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x1f8
ret