Function at 0x45da10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4f0d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x541770]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
xor edi, edi
lea esi, [esp + 0x24]
mov ecx, ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call fcn.0045ddf0
mov esi, 1
mov dword [esp + 0xa4], esi
cmp dword [eax + 0x18], 8
mov dword [esp + 0x1c], esi
jb 0x45da94
mov eax, dword [eax + 4]
jmp 0x45da97
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45daab
mov byte [esp + 0x1b], al
cmp dword [ebx + 0x14], edi
jne 0x45dab0
mov byte [esp + 0x1b], 1
mov dword [esp + 0xa4], edi
mov eax, esi
mov dword [esp + 0x1c], eax
and eax, 0xfffffffe
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x3c], 8
jb 0x45dad8
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov word [esp + 0x28], dx
cmp byte [esp + 0x1b], dl
je 0x45db1a
push 0xffffffffffffffff
push edi
xor eax, eax
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], edi
push ebx
mov ecx, ebp
mov word [ebp + 4], ax
call fcn.00401665
mov dword [esp + 0xa4], edi
or dword [esp + 0x1c], 2
jmp 0x45dc73
lea edx, [esp + 0x60]
mov ecx, ebx
call fcn.0045dd80
mov dword [esp + 0xa4], 4
lea ecx, [esp + 0x44]
push ecx
call fcn.0045c980
mov byte [esp + 0xa4], 5
lea edi, [esp + 0x24]
mov ecx, ebx
call fcn.0045e100
mov byte [esp + 0xa4], 6
lea edx, [esp + 0x44]
push edx
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0045da10
add esp, 0xc
mov byte [esp + 0xa4], 8
cmp dword [esp + 0x3c], 8
jb 0x45db87
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
lea ecx, [esp + 0x60]
lea ebx, [esp + 0x44]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
call fcn.0042045e
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
xor edi, edi
push edi
mov eax, ebx
push eax
call fcn.00401665
push 0xffffffffffffffff
xor ecx, ecx
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], edi
push edi
lea edx, [esp + 0x84]
mov word [ebp + 4], cx
push edx
mov ecx, ebp
call fcn.00401665
mov ebx, 8
mov byte [esp + 0xa4], bl
or dword [esp + 0x1c], 2
mov byte [esp + 0xa4], 5
cmp dword [esp + 0x94], ebx
jb 0x45dc08
mov eax, dword [esp + 0x80]
push eax
call fcn.004c6252
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edi
mov word [esp + 0x80], cx
mov byte [esp + 0xa4], 4
cmp dword [esp + 0x5c], ebx
jb 0x45dc3b
mov edx, dword [esp + 0x48]
push edx
call fcn.004c6252
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov word [esp + 0x48], ax
mov byte [esp + 0xa4], al
cmp dword [esp + 0x78], ebx
jb 0x45dc64
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], edi
mov word [esp + 0x64], dx
mov eax, ebp
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004c625d
add esp, 0x94
ret