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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x1400ab020]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rcx
mov dword [rsp + 0x20], edx
xor esi, esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], sil
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
test edx, edx
je 0x14004cfbd
cmp edx, 1
je 0x14004cd4b
lea rcx, [rbp + 0x60]
call fcn.14001bb40
nop
lea rdx, str.iclsUtils::FileUtils::getIclsDirectory
mov rcx, rax
call fcn.1400243f0
mov rcx, rax
call fcn.14004ded0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140025350
mov rdx, rax
lea rcx, [rbp]
call fcn.14001bd30
lea rax, vtable.Exception.0
mov qword [rbp], rax
lea rdx, [0x1400a7580]
lea rcx, [rbp]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14004cbd0
mov rcx, rax
mov r8d, 1
lea rdx, [rsp + 0x78]
call fcn.14004cb00
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14004fc90
test rax, rax
setne dil
mov rax, qword [rbp - 0x70]
cmp rax, 0x10
jb 0x14004cde0
inc rax
mov rcx, qword [rsp + 0x78]
cmp rax, 0xffffffffffffffff
jbe 0x14004cd97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rax, 0x1000
jb 0x14004cddb
test cl, 0x1f
je 0x14004cdab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004cdbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004cdcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004cdd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140055148
test dil, dil
je 0x14004ce32
lea rcx, [rsp + 0x38]
or r9, 0xffffffffffffffff
lea rdx, [0x1400b39e0]
xor r8d, r8d
call fcn.140022920
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 0x10
jb 0x14004ce15
mov rcx, qword [rbx]
jmp 0x14004ce18
mov rcx, rbx
mov byte [rcx], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.1400226a0
jmp 0x14004d0e3
lea rcx, [rbp - 0x28]
call fcn.1400503f0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b39e0]
mov rcx, rax
call fcn.140022920
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b2c20]
mov rcx, rax
call fcn.140022920
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b39e0]
mov rcx, rax
call fcn.140022920
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x68], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400226a0
nop
lea rcx, [rbp - 0x28]
call fcn.1400212b0
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x78], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400226a0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x48]
call fcn.14001c040
cmp qword [rax + 0x18], 8
jb 0x14004cee9
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004cf00
test al, 0x10
je 0x14004cf00
mov dil, 1
jmp 0x14004cf03
xor dil, dil
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x14004cf19
inc r8
mov rdx, qword [rbp - 0x48]
call fcn.140022ad0
test dil, dil
je 0x14004cf52
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 0x10
jb 0x14004cf36
mov rax, qword [rbx]
jmp 0x14004cf39
mov rax, rbx
mov byte [rax], 0
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.140022a40
nop
lea rcx, [rbp - 0x68]
jmp 0x14004d0dd
lea rcx, [rbp - 0x48]
call fcn.1400502b0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b39e0]
mov rcx, rax
call fcn.140022920
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b2c20]
mov rcx, rax
call fcn.140022920
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b39e0]
mov rcx, rax
call fcn.140022920
mov rdx, rax
mov rcx, rbx
call fcn.140021460
nop
lea rcx, [rbp - 0x48]
call fcn.1400212b0
nop
lea rcx, [rbp - 0x68]
jmp 0x14004d0dd
call fcn.14004cbd0
mov rcx, rax
xor r8d, r8d
lea rdx, [rbp - 0x48]
call fcn.14004cb00
nop
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14004fc90
test rax, rax
setne dil
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x14004d04d
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0xffffffffffffffff
jbe 0x14004d004
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rax, 0x1000
jb 0x14004d048
test cl, 0x1f
je 0x14004d018
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14004d028
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14004d038
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14004d045
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140055148
test dil, dil
je 0x14004d05c
lea rcx, [rsp + 0x58]
jmp 0x14004cdea
lea rcx, [rbp - 0x28]
call fcn.1400502b0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b39e0]
mov rcx, rax
call fcn.140022920
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b3660]
mov rcx, rax
call fcn.140022920
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b39e0]
mov rcx, rax
call fcn.140022920
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 0x10
jb 0x14004d0c0
mov rcx, qword [rbx]
jmp 0x14004d0c3
mov rcx, rbx
mov byte [rcx], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.1400226a0
nop
lea rcx, [rbp - 0x28]
call fcn.1400212b0
nop
lea rcx, [rsp + 0x38]
call fcn.1400212b0
nop
lea rcx, [rsp + 0x58]
call fcn.1400212b0
mov rax, rbx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140054e30
mov rbx, qword [rsp + 0x200]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret