Function at 0x420250
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5c0b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x94
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov byte [0x4ecaa4], 1
xor eax, eax
mov dword [ebp - 0x94], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0046a9d0
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0046bbb0
push 0
lea eax, [ebp - 0x44]
mov byte [0x4ecaa4], 0
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0046a9d0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0046bbb0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x28
cmp dword [ebp - 0x90], 7
jbe 0x420384
cmp dword [ebp - 0xa4], 0
je 0x42040f
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0xa4]
cmp ecx, 7
cmova eax, edx
cmp word [eax], 0
je 0x42040f
cmp ecx, 7
lea eax, [ebp - 0xa4]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x42040f
cmp dword [ebp - 0x48], 7
jbe 0x4203c1
cmp dword [ebp - 0x5c], 0
je 0x42040f
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x5c]
cmp ecx, 7
cmova eax, edx
cmp word [eax], 0
je 0x42040f
cmp ecx, 7
lea eax, [ebp - 0x5c]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x42040f
cmp dword [ebp - 0x48], 7
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0xa4]
cmova ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x90], 7
push ecx
cmova eax, dword [ebp - 0xa4]
push eax
call fcn.00461110
add esp, 8
cmp dword [ebp - 0x78], 7
jbe 0x420422
cmp dword [ebp - 0x8c], 0
je 0x4204a7
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x8c]
cmp ecx, 7
cmova eax, edx
cmp word [eax], 0
je 0x4204a7
cmp ecx, 7
lea eax, [ebp - 0x8c]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x4204a7
cmp dword [ebp - 0x30], 7
jbe 0x42045c
cmp dword [ebp - 0x44], 0
je 0x4204a7
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp ecx, 7
cmova eax, edx
cmp word [eax], 0
je 0x4204a7
cmp ecx, 7
lea eax, [ebp - 0x44]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x4204a7
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x8c]
cmova ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x78], 7
push ecx
cmova eax, dword [ebp - 0x8c]
push eax
call fcn.00461110
add esp, 8
cmp dword [ebp - 0x60], 7
jbe 0x4204b3
cmp dword [ebp - 0x74], 0
je 0x420528
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x74]
cmp ecx, 7
cmova eax, edx
cmp word [eax], 0
je 0x420528
cmp ecx, 7
lea eax, [ebp - 0x74]
cmova eax, edx
push eax
call esi
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x42052b
cmp ecx, 7
jbe 0x4204e6
cmp dword [ebp - 0x2c], 0
je 0x42052b
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmp ecx, 7
cmova eax, edx
cmp word [eax], 0
je 0x42052b
cmp ecx, 7
lea eax, [ebp - 0x2c]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x420528
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x74]
cmova ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x60], 7
push ecx
cmova eax, dword [ebp - 0x74]
push eax
call fcn.00461110
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x420562
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420558
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420709
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x4205b0
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4205a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420709
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 7
jbe 0x4205fe
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4205f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420709
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 7
jbe 0x42064c
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420642
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420709
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp ecx, 7
jbe 0x420699
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42068f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420709
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 7
jbe 0x4206ec
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4206e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420709
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c4df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00483c3a
int3