Function at 0x420710
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.0046aa80
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0046bbd0
push 0
lea eax, [ebp - 0x44]
mov byte [0x4ecaa4], 0
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0046aa80
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0046bbd0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x28
cmp dword [ebp - 0x90], 7
jbe 0x420844
cmp dword [ebp - 0xa4], 0
je 0x4208cf
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 0x4208cf
cmp ecx, 7
lea eax, [ebp - 0xa4]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x4208cf
cmp dword [ebp - 0x48], 7
jbe 0x420881
cmp dword [ebp - 0x5c], 0
je 0x4208cf
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 0x4208cf
cmp ecx, 7
lea eax, [ebp - 0x5c]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x4208cf
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 0x4208e2
cmp dword [ebp - 0x8c], 0
je 0x420967
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 0x420967
cmp ecx, 7
lea eax, [ebp - 0x8c]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x420967
cmp dword [ebp - 0x30], 7
jbe 0x42091c
cmp dword [ebp - 0x44], 0
je 0x420967
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 0x420967
cmp ecx, 7
lea eax, [ebp - 0x44]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x420967
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 0x420973
cmp dword [ebp - 0x74], 0
je 0x4209e8
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 0x4209e8
cmp ecx, 7
lea eax, [ebp - 0x74]
cmova eax, edx
push eax
call esi
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x4209eb
cmp ecx, 7
jbe 0x4209a6
cmp dword [ebp - 0x2c], 0
je 0x4209eb
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmp ecx, 7
cmova eax, edx
cmp word [eax], 0
je 0x4209eb
cmp ecx, 7
lea eax, [ebp - 0x2c]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x4209e8
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 0x420a22
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420a18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420bc9
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 0x420a70
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420a66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420bc9
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 0x420abe
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420ab4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420bc9
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 0x420b0c
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420b02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420bc9
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 0x420b59
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420b4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420bc9
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 0x420bac
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420ba2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420bc9
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