Function at 0x416d80
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 0x4fba44
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
mov dword [ebp - 0x90], esp
push 4
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push str.Path
mov word [ecx], ax
call fcn.0041a5b0
mov byte [ebp - 4], 1
mov edx, 0x53c6e4
cmp dword [0x53c6f8], 8
cmovae edx, dword [0x53c6e4]
sub esp, 0x18
mov esi, esp
mov ecx, edx
xor eax, eax
mov dword [esi + 0x10], 0
lea edi, [ecx + 2]
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416e30
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0041a5b0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0
push eax
push 0x80000001
call fcn.00415f10
test al, al
je 0x416fe6
push 0x53c714
lea eax, [ebp - 0xa8]
push 0x51c798
push eax
call fcn.0041a9b0
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x416e89
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041a710
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x416ed9
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416ecf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41703c
push edx
push ecx
call fcn.0048e9ad
add esp, 8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416fe6
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
cmp dword [0x53c710], 8
mov eax, 0x53c6fc
push dword [0x53c70c]
cmovae eax, dword [0x53c6fc]
push eax
call fcn.0041a5b0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], 0xb
call fcn.0041a5b0
push 0
push 0x53c744
push 0x53c72c
call fcn.004176e0
mov esi, dword [0x53cd90]
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x88]
push eax
cmp dword [0x53cd94], esi
je 0x416fd0
mov ecx, esi
mov dword [ebp - 0x8c], esi
call fcn.0041a300
mov byte [ebp - 4], 4
lea ecx, [esi + 0x1c]
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0041a300
movups xmm0, xmmword [ebp - 0x50]
mov al, byte [ebp - 0x54]
mov byte [esi + 0x34], al
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [esi + 0x48], xmm0
add dword [0x53cd90], 0x58
jmp 0x416fdb
push esi
mov ecx, 0x53cd8c
call fcn.0041ae90
lea ecx, [ebp - 0x88]
call fcn.004136b0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41701c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417012
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417041
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004c5929
call fcn.004c5929
int3