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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov rdi, rsp
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov edx, 1
mov rcx, qword [rsp + 0x110]
call fcn.180037fb4
mov rax, qword [rsp + 0x110]
cmp dword [rax + 0x158], 1
jne 0x180030c81
lea rcx, [rsp + 0x28]
call fcn.180006450
nop
mov edx, 0xbbc
mov rcx, qword [rsp + 0x110]
call fcn.18003d64c
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.18003a990
lea rcx, [rsp + 0x28]
call fcn.180012d80
lea rcx, [rsp + 0x28]
call fcn.180012cc0
lea rcx, [rsp + 0x28]
call fcn.180006c80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
jne 0x180030b86
lea rcx, [rsp + 0x48]
call fcn.180006450
nop
lea rcx, [rsp + 0x68]
call fcn.180006450
nop
mov edx, 0x4e21
lea rcx, [rsp + 0x48]
call fcn.180005840
mov edx, 0x4e25
lea rcx, [rsp + 0x68]
call fcn.180005840
lea rcx, [rsp + 0x68]
call fcn.180006c80
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x48]
call fcn.180006c80
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x110]
call fcn.180003ff0
mov r9d, 0x1121
mov rcx, qword [rsp + 0xc0]
mov r8, rcx
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x180030a7b
lea rcx, [rsp + 0x68]
call fcn.1800064d0
nop
lea rcx, [rsp + 0x48]
call fcn.1800064d0
nop
lea rcx, [rsp + 0x28]
call fcn.1800064d0
jmp 0x180030c8e
mov dx, 0x5c
lea rcx, [rsp + 0x28]
call fcn.180030fe0
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x28]
call fcn.1800145c0
dec eax
mov ecx, dword [rsp + 0xd0]
cmp ecx, eax
je 0x180030ab8
lea rdx, [0x1801f85dc]
lea rcx, [rsp + 0x28]
call fcn.180026290
lea rcx, [rsp + 0x28]
call fcn.180006c80
mov rcx, rax
call fcn.180030540
test eax, eax
jne 0x180030b6c
mov edx, 0x4e22
lea rcx, [rsp + 0x48]
call fcn.180005840
mov edx, 0x4e24
lea rcx, [rsp + 0x68]
call fcn.180005840
lea rcx, [rsp + 0x68]
call fcn.180006c80
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x48]
call fcn.180006c80
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x110]
call fcn.180003ff0
mov r9d, 0x10
mov rcx, qword [rsp + 0xd8]
mov r8, rcx
mov rcx, qword [rsp + 0xe0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, [rsp + 0x68]
call fcn.1800064d0
nop
lea rcx, [rsp + 0x48]
call fcn.1800064d0
nop
lea rcx, [rsp + 0x28]
call fcn.1800064d0
jmp 0x180030c8e
lea rcx, [rsp + 0x68]
call fcn.1800064d0
nop
lea rcx, [rsp + 0x48]
call fcn.1800064d0
jmp 0x180030c5b
mov eax, dword [rsp + 0x34]
and eax, 0x10
cmp eax, 0x10
je 0x180030c5b
lea rcx, [rsp + 0x88]
call fcn.180006450
nop
lea rcx, [rsp + 0xa8]
call fcn.180006450
nop
mov edx, 0x4e23
lea rcx, [rsp + 0x88]
call fcn.180005840
mov edx, 0x4e24
lea rcx, [rsp + 0xa8]
call fcn.180005840
lea rcx, [rsp + 0xa8]
call fcn.180006c80
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x88]
call fcn.180006c80
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0x110]
call fcn.180003ff0
mov r9d, 0x10
mov rcx, qword [rsp + 0xe8]
mov r8, rcx
mov rcx, qword [rsp + 0xf0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, [rsp + 0xa8]
call fcn.1800064d0
nop
lea rcx, [rsp + 0x88]
call fcn.1800064d0
nop
lea rcx, [rsp + 0x28]
call fcn.1800064d0
jmp 0x180030c8e
mov rax, qword [rsp + 0x110]
add rax, 0x160
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.1800085f0
nop
lea rcx, [rsp + 0x28]
call fcn.1800064d0
mov rcx, qword [rsp + 0x110]
call fcn.180047cdc
mov rcx, rsp
lea rdx, [0x180204ac0]
call fcn.18019270c
add rsp, 0x100
pop rdi
ret