Function at 0x180005ab0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x490
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x480], rax
cmp qword [0x1801647f0], 0
jne 0x180005adf
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x180005f20
lea rcx, [0x180164860]
call fcn.180003d20
movzx eax, al
test eax, eax
jne 0x180005af9
xor eax, eax
jmp 0x180005f20
mov byte [rsp + 0x290], 0
lea rdi, [rsp + 0x291]
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
lea rdx, [rsp + 0x290]
lea rcx, str.libIriCoreImpl
call fcn.180004130
mov byte [rsp + 0x190], 0
lea rdi, [rsp + 0x191]
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov byte [rsp + 0x60], 0
lea rdi, [rsp + 0x61]
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov rdx, qword [0x1801647f0]
lea rcx, [rsp + 0x3b8]
call fcn.180004600
mov r8, qword [0x18012ea90]
lea rdx, [0x180128cfc]
lea rcx, [rsp + 0x3b8]
call fcn.180007f70
mov qword [rsp + 0x3e8], rax
mov r9, qword [rsp + 0x3e8]
xor r8d, r8d
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x3b8]
call fcn.180007fb0
lea rcx, [rsp + 0x160]
call fcn.180002b30
lea r9, [rsp + 0x290]
mov r8, rax
lea rdx, [0x18012b150]
lea rcx, [rsp + 0x60]
call fcn.1800ca8e4
lea rcx, [rsp + 0x60]
call sub.SHLWAPI.dll_PathFileExistsA
test eax, eax
jne 0x180005c11
mov dword [rsp + 0x418], 0x17
lea rcx, [rsp + 0x160]
call fcn.180002b10
lea rcx, [rsp + 0x3b8]
call fcn.180002b10
mov eax, dword [rsp + 0x418]
jmp 0x180005f20
lea rcx, [rsp + 0x420]
call fcn.180024fc0
mov rcx, rax
call fcn.180002b30
mov rdi, rax
lea rcx, [rsp + 0x448]
call fcn.1800247b0
mov rcx, rax
call fcn.180002b30
mov r8, rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea rdx, str._s__s__s
lea rcx, [rsp + 0x190]
call fcn.1800ca8e4
lea rcx, [rsp + 0x448]
call fcn.180002b10
lea rcx, [rsp + 0x420]
call fcn.180002b10
mov dword [rsp + 0x3e0], 0x114
cmp qword [0x1801625b8], 0
jne 0x180005cec
lea rdx, [0x1801625b8]
lea rcx, [0x180164bd8]
call fcn.1800046a0
mov dword [rsp + 0x3e0], eax
cmp dword [rsp + 0x3e0], 0
je 0x180005cec
mov eax, dword [rsp + 0x3e0]
mov dword [rsp + 0x470], eax
lea rcx, [rsp + 0x160]
call fcn.180002b10
lea rcx, [rsp + 0x3b8]
call fcn.180002b10
mov eax, dword [rsp + 0x470]
jmp 0x180005f20
lea rdx, [0x180127cd9]
lea rcx, [rsp + 0x390]
call fcn.180002ab0
lea rdx, [0x180127cda]
lea rcx, [rsp + 0x38]
call fcn.180002ab0
lea r9, [rsp + 0x190]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x390]
call fcn.180005380
mov dword [rsp + 0x3e0], eax
cmp dword [rsp + 0x3e0], 0
je 0x180005d8c
mov eax, dword [rsp + 0x3e0]
mov dword [rsp + 0x474], eax
lea rcx, [rsp + 0x38]
call fcn.180002b10
lea rcx, [rsp + 0x390]
call fcn.180002b10
lea rcx, [rsp + 0x160]
call fcn.180002b10
lea rcx, [rsp + 0x3b8]
call fcn.180002b10
mov eax, dword [rsp + 0x474]
jmp 0x180005f20
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x390]
call fcn.180004e50
mov dword [rsp + 0x3e0], eax
cmp dword [rsp + 0x3e0], 0
je 0x180005e02
mov eax, dword [rsp + 0x3e0]
mov dword [rsp + 0x478], eax
lea rcx, [rsp + 0x38]
call fcn.180002b10
lea rcx, [rsp + 0x390]
call fcn.180002b10
lea rcx, [rsp + 0x160]
call fcn.180002b10
lea rcx, [rsp + 0x3b8]
call fcn.180002b10
mov eax, dword [rsp + 0x478]
jmp 0x180005f20
cmp dword [reloc.WS2_32.dll_closesocket], 1
jne 0x180005e4b
lea r9, [0x1801647f8]
lea r8, [0x1801625b0]
mov rdx, qword [0x1801625b8]
lea rcx, [0x180164b80]
call fcn.180002440
mov dl, 1
lea rcx, [0x180164b80]
call fcn.180002480
lea rcx, [0x180164b80]
call fcn.180013de0
jmp 0x180005eda
cmp dword [reloc.WS2_32.dll_closesocket], 2
jne 0x180005eda
lea rdx, [0x180127cdb]
lea rcx, [rsp + 0x3f0]
call fcn.180002ab0
lea rdx, [rsp + 0x3f0]
mov rcx, qword [0x1801625b8]
call fcn.180018b10
mov dword [rsp + 0x3e0], eax
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x28], rax
lea rax, [0x180164838]
mov qword [rsp + 0x20], rax
lea r9, [0x180164cd8]
lea r8, [0x1801647f8]
lea rdx, [0x1801625b0]
lea rcx, [0x180164c00]
call fcn.180003830
lea rcx, [0x180164c00]
call fcn.180013de0
lea rcx, [rsp + 0x3f0]
call fcn.180002b10
mov eax, dword [rsp + 0x3e0]
mov dword [rsp + 0x47c], eax
lea rcx, [rsp + 0x38]
call fcn.180002b10
lea rcx, [rsp + 0x390]
call fcn.180002b10
lea rcx, [rsp + 0x160]
call fcn.180002b10
lea rcx, [rsp + 0x3b8]
call fcn.180002b10
mov eax, dword [rsp + 0x47c]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x490
pop rdi
ret