Function at 0x4d60d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d68bd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
sub esp, 0x18
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp + 8]
mov edx, SysReAllocString
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov ecx, dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp ecx, 8
jae 0x4d6148
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x4d61c7
mov edi, ecx
or edi, 7
cmp edi, edx
cmova edi, edx
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4d6557
add eax, eax
cmp eax, 0x1000
jb 0x4d6190
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4d6557
push ecx
call fcn.005a1c68
add esp, 4
test eax, eax
je 0x4d64fe
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4d61ab
test eax, eax
je 0x4d61a9
push eax
call fcn.005a1c68
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4d650c
jmp 0x4d61ab
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.00570780
mov ecx, dword [ebp - 0x30]
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [esi + 0x10], ecx
push eax
mov dword [esi + 0x14], edi
call fcn.004d7210
mov esi, eax
add esp, 0x1c
lea eax, [ebp + 8]
cmp eax, esi
je 0x4d624e
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4d621c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d6212
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d651a
push edx
push ecx
call fcn.0056d0c8
add esp, 8
mov dword [ebp + 0x18], 0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp + 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4d6288
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d627e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d651a
push edx
push ecx
call fcn.0056d0c8
add esp, 8
cmp dword [ebp + 0x18], 0
je 0x4d64a3
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d64a3
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
je 0x4d63c7
mov esi, dword [eax + 0x30]
lea edi, [eax + 0x2c]
cmp esi, dword [edi + 8]
je 0x4d63b1
mov dword [esi], 0
lea ecx, [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, 8
jae 0x4d6314
movups xmm0, xmmword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, 7
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea esi, [eax - 6]
add dword [edi + 4], 0x18
jmp 0x4d64a5
or eax, 7
mov ecx, SysReAllocString
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x38], eax
inc eax
cmp eax, 0x7fffffff
ja 0x4d6557
add eax, eax
cmp eax, 0x1000
jb 0x4d6363
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4d6557
push ecx
call fcn.005a1c68
add esp, 4
test eax, eax
je 0x4d651f
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4d637e
test eax, eax
je 0x4d637c
push eax
call fcn.005a1c68
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4d652d
jmp 0x4d637e
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.00570780
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov esi, 1
add dword [edi + 4], 0x18
jmp 0x4d64a5
lea eax, [ebp + 8]
mov ecx, edi
push eax
push esi
call fcn.0044c8ea
mov esi, 1
jmp 0x4d64a5
sub esp, 0x18
lea eax, [ebp + 8]
mov esi, esp
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov ecx, dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp ecx, 8
jae 0x4d6409
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x4d6491
mov edi, ecx
mov ecx, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, ecx
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4d6557
add eax, eax
cmp eax, 0x1000
jb 0x4d645a
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4d6557
push ecx
call fcn.005a1c68
add esp, 4
test eax, eax
je 0x4d653b
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4d6475
test eax, eax
je 0x4d6473
push eax
call fcn.005a1c68
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4d6549
jmp 0x4d6475
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x34]
push ecx
call fcn.00570780
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x14], edi
call fcn.004d4140
mov esi, eax
jmp 0x4d64a5
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4d64df
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d64d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d655c
push edx
push ecx
call fcn.0056d0c8
add esp, 8
mov eax, esi
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.0056d855
mov esp, ebp
pop ebp
ret 0x18
push 0x630328
lea eax, [ebp - 0x29]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x2a]
push eax
call fcn.0057134b
call fcn.0057b201
push 0x630328
lea eax, [ebp - 0x2a]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x29]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x2a]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x29]
push eax
call fcn.0057134b
call fcn.00407541
call fcn.0057b201
int3