Function at 0x435a50
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 0x4b713d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
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
mov esi, ecx
lea ecx, [ebp - 0x5c]
call fcn.0042e1e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x5c]
cmp edx, 7
jbe 0x435ab1
test ecx, ecx
je 0x435c58
cmp edx, 7
lea eax, [ebp - 0x5c]
cmova eax, ecx
cmp word [eax], 0
je 0x435c58
cmp edx, 7
lea eax, [ebp - 0x5c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435c52
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00472070
add esp, 0xc
lea ecx, [ebp - 0x2c]
xor edx, edx
call fcn.00435490
test al, al
je 0x435bdc
test esi, esi
je 0x435b53
lea eax, [ebp - 0x44]
cmp esi, eax
je 0x435b53
cmp dword [ebp - 0x30], 0xf
mov ecx, esi
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.0040f7d0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x435b87
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435b7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435cac
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x435bcd
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435bc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435cac
push ecx
push edx
call fcn.0045c945
add esp, 8
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 0x5d], 1
jmp 0x435c5c
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x435c10
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435c06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435cac
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x435c52
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435c48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435cac
push ecx
push edx
call fcn.0045c945
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x48]
mov byte [ebp - 0x5d], 0
cmp edx, 7
jbe 0x435c8c
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435c82
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435cb1
push edx
push ecx
call fcn.0045c945
add esp, 8
mov al, byte [ebp - 0x5d]
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
call fcn.00483c3a
int3