Function at 0x42e760
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fffb7
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5503c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x29]
call fcn.004050d0
mov ecx, dword [esi + 0x708]
test ecx, ecx
je 0x42e7a8
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x70c]
test ecx, ecx
je 0x42e7bc
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x710]
test ecx, ecx
je 0x42e7d0
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x714]
test ecx, ecx
je 0x42e7e4
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x718]
test ecx, ecx
je 0x42e7f8
mov eax, dword [ecx]
push 1
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x790]
mov dword [esi + 0x7bc], 2
test ecx, ecx
je 0x42e816
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [esi + 0x794]
test ecx, ecx
je 0x42e82a
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [esi + 0x798]
test ecx, ecx
je 0x42e83e
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x79c]
test ecx, ecx
je 0x42e852
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov ecx, dword [esi + 0x7a0]
test ecx, ecx
je 0x42e866
mov eax, dword [ecx]
push 0
call dword [eax + 0xe0]
mov eax, dword [0x5522f0]
test eax, eax
jne 0x42e8b3
push 0x1b4
call fcn.004cf87e
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x42e8a5
push 0x1b4
push 0
push edi
call fcn.004d1960
add esp, 0xc
mov ecx, edi
call fcn.0041af80
jmp 0x42e8a7
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5522f0], eax
mov ecx, eax
call fcn.0041bbc0
mov edi, eax
cmp edi, 0xffffffff
jne 0x42e911
call fcn.00405f10
mov ecx, eax
call fcn.0041bbd0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42e911
call fcn.00405f10
mov ecx, eax
call fcn.0041bbd0
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42eb99
mov edi, dword [edi]
cmp dword [esi + 0x788], 0
je 0x42e9bd
call fcn.00405f10
mov ecx, eax
call fcn.0041bbd0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, eax
je 0x42e9bd
cmp edi, dword [ecx]
je 0x42e947
add ecx, 0xa0
cmp ecx, eax
jne 0x42e937
jmp 0x42e9bd
add ecx, 0x10
cmp dword [ecx + 0x14], 0x10
jb 0x42e952
mov ecx, dword [ecx]
push ecx
lea eax, [ebp - 0x60]
push eax
call fcn.00401a70
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x42e970
mov edx, dword [edx]
mov ecx, dword [esi + 0x788]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x42e9bd
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42e9b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eb9e
push ecx
push edx
call fcn.004cf8ae
add esp, 8
mov ecx, dword [esi + 0x78c]
test ecx, ecx
je 0x42eb7e
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
push 0x503ef8
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42ea0d
mov ecx, 0x503efc
jmp 0x42ea27
push 0x503f04
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov ecx, 0x503f08
mov edx, 0x529254
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040ea20
cmp dword [ebp - 0x18], 0
je 0x42eb48
push 9
push 0x503f10
lea ecx, [ebp - 0x28]
call fcn.00414df0
push 1
push 0x503d58
lea ecx, [ebp - 0x28]
call fcn.00414df0
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.00401670
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x42ea71
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00401a70
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 4
jb 0x42ea8c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00414df0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 3
cmp ecx, 8
jb 0x42ead6
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42eacc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eba3
push ecx
push edx
call fcn.004cf8ae
add esp, 8
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x42eb22
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42eb18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eba3
push ecx
push edx
call fcn.004cf8ae
add esp, 8
push 1
push 0x503d58
lea ecx, [ebp - 0x28]
call fcn.00414df0
mov ecx, dword [esi + 0x78c]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x42eb7e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42eb74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eba8
push ecx
push edx
call fcn.004cf8ae
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cf8bc
mov esp, ebp
pop ebp
ret
call fcn.00421230
call fcn.004d54df
call fcn.004d54df
call fcn.004d54df
int3