Function at 0x445330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a018b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
lea eax, [ebp - 0xac]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.0042bff0
lea ecx, [ebp - 0xac]
call fcn.004311a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xac]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00445080
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
jne 0x44539d
mov dword [ebp - 0x20], 1
jmp 0x4453a4
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4453d3
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00431070
mov eax, dword [ebp - 0x44]
jmp 0x445626
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.0042bff0
lea ecx, [ebp - 0x94]
call fcn.004311a0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x10], 0
je 0x44543f
lea edx, [ebp - 0x94]
push edx
call fcn.00436070
add esp, 4
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.0042d3d0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00404a80
lea ecx, [ebp - 0xc4]
call fcn.00431070
cmp dword [ebp + 0x14], 0
je 0x44548b
lea ecx, [ebp - 0x94]
push ecx
call fcn.004362f0
add esp, 4
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.0042d3d0
add esp, 0xc
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00404a80
lea ecx, [ebp - 0xdc]
call fcn.00431070
cmp dword [ebp + 0x18], 0
je 0x4455fb
lea eax, [ebp - 0x94]
push eax
call fcn.00435930
add esp, 4
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xf4]
push eax
call fcn.0042d3d0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00404a80
lea ecx, [ebp - 0xf4]
call fcn.00431070
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x4454f9
mov dword [ebp - 0x24], 1
jmp 0x445500
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x44551c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
je 0x4455e4
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x445550
mov dword [ebp - 0x2c], 1
jmp 0x445557
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x445573
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
test edx, edx
je 0x4455e4
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x4455a7
mov dword [ebp - 0x34], 1
jmp 0x4455ae
mov dword [ebp - 0x34], 0
mov al, byte [ebp - 0x34]
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4455ca
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4455fb
cmp dword [ebp + 0x1c], 0
je 0x4455fb
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00446810
mov dword [ebp - 0x7c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00431070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00431070
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18