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

Disassembly:
jmp 0x140029880
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1298
call fcn.14001600a
sub rsp, rax
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x4a6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x12b8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x1268], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0xcb8], 0
mov qword [rbp + 0xcd8], 0
mov dword [rbp + 0xcf4], 0
mov dword [rbp + 0xd14], 0
mov edx, 0x410
lea rcx, [rbp + 0x30]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001616d
lea rdx, str.inetsrv_
lea rcx, [rbp + 0x30]
call fcn.1400165e1
lea rdx, str.InetMgr.exe
lea rcx, [rbp + 0x30]
call fcn.1400165e1
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140029975
mov edx, 0x50
lea rcx, str.ucmGWX
call fcn.14001629e
mov dword [rbp + 4], 0x40000000
jmp 0x140029b5f
lea rdx, [rbp + 0xd14]
lea rcx, str.Kongou64.cd
call fcn.1400169c4
mov qword [rbp + 0xcd8], rax
cmp qword [rbp + 0xcd8], 0
jne 0x1400299b6
mov edx, 2
lea rcx, str.ucmGWX
call fcn.14001629e
mov dword [rbp + 4], 0xc0000034
jmp 0x140029b5f
lea r9, [rbp + 0xcf4]
mov r8d, dword [rbp + 0xd14]
mov rdx, qword [rbp + 0xcd8]
mov ecx, 0xfffffffe
mov rax, qword [0x140065a08]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov qword [rbp + 0xcb8], rax
cmp qword [rbp + 0xcb8], 0
jne 0x1400299f0
jmp 0x140029b5f
mov edx, 0x410
lea rcx, [rbp + 0x460]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.14001616d
lea rdx, str.SLC.dll
lea rcx, [rbp + 0x460]
call fcn.1400165e1
mov r8d, dword [rbp + 0x1298]
mov rdx, qword [rbp + 0x1290]
lea rcx, [rbp + 0x460]
call fcn.140016ad7
test eax, eax
jne 0x140029a53
jmp 0x140029b5f
mov edx, 0x410
lea rcx, [rbp + 0x30]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001616d
lea rdx, str.inetsrv_
lea rcx, [rbp + 0x30]
call fcn.1400165e1
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x460]
call fcn.1400168de
test eax, eax
jne 0x140029aa3
jmp 0x140029b5f
mov edx, 0x410
lea rcx, [rbp + 0x460]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.14001616d
lea rdx, str.InetMgr.exe
lea rcx, [rbp + 0x460]
call fcn.1400165e1
mov r8d, dword [rbp + 0xcf4]
mov rdx, qword [rbp + 0xcb8]
lea rcx, [rbp + 0x460]
call fcn.140016ad7
test eax, eax
jne 0x140029b03
jmp 0x140029b5f
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x460]
call fcn.1400168de
test eax, eax
jne 0x140029b19
jmp 0x140029b5f
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x890]
call fcn.14001616d
lea rdx, str.InetMgr.exe
lea rcx, [rbp + 0x890]
call fcn.1400165e1
xor edx, edx
lea rcx, [rbp + 0x890]
call fcn.140016a7d
test eax, eax
je 0x140029b55
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140029902
cmp qword [rbp + 0xcb8], 0
je 0x140029b8b
mov eax, dword [rbp + 0xcf4]
mov edx, eax
mov rcx, qword [rbp + 0xcb8]
call fcn.140016c2b
xor edx, edx
mov rcx, qword [rbp + 0xcb8]
call fcn.140016163
cmp qword [rbp + 0xcd8], 0
je 0x140029ba3
xor edx, edx
mov rcx, qword [rbp + 0xcd8]
call fcn.140016163
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14004bcc0]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0x1268]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x1278]
pop rdi
pop rbp
ret