Function at 0x4264f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c691
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x426566
mov eax, dword [ecx]
jmp 0x426568
mov eax, ecx
push 7
push str.0.0.0.0
mov byte [eax], 0
call fcn.0042c1b0
lea ecx, [ebp - 0x20]
call fcn.00427af0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 0x18
sub ecx, esi
xor edi, edi
imul ecx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x42662c
mov edx, dword fs:[0x2c]
mov edx, dword [edx]
mov dword [ebp - 0x70], edx
nop
cmp dword [esi + 0x14], 0x10
jb 0x4265bd
mov ecx, dword [esi]
mov dword [ebp - 0x6c], ecx
jmp 0x4265c0
mov dword [ebp - 0x6c], esi
mov eax, dword [0x5c9840]
cmp eax, dword [edx + 4]
jle 0x426602
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x426602
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push dword [ebp - 0x6c]
push 0x5b0c40
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
mov edx, dword [ebp - 0x70]
inc edi
add esp, 0x14
add esi, 0x30
cmp edi, ebx
jb 0x4265b0
mov esi, dword [ebp - 0x20]
cmp ebx, 2
jae 0x426638
xor bl, bl
jmp 0x4269b6
lea ecx, [ebp - 0x38]
call fcn.00430270
sub esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x5c
lea ecx, [ebp - 0x38]
push eax
call fcn.0042bb00
inc eax
lea ecx, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.0042a2b0
mov edi, eax
lea eax, [ebp - 0x38]
cmp eax, edi
je 0x4266a3
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x426688
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0042ce80
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.0042c6c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x4266c2
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.0042ce80
push str.userData
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x68]
call fcn.0042dbd0
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmovae eax, dword [ebp - 0x68]
push eax
call edi
test eax, eax
je 0x42675b
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x42673b
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x42673b
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push str.noneed
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x10
mov bl, 1
jmp 0x426968
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42677b
mov eax, dword [ecx]
jmp 0x42677d
mov eax, ecx
push 8
push str.dm1.dat
mov byte [eax], 0
call fcn.0042c1b0
lea eax, [ebx + ebx*2]
mov byte [ebp - 4], 4
shl eax, 4
lea edx, [ebp - 0x38]
sub esp, 0x18
add eax, 0xffffffd0
add eax, esi
mov dword [ebp - 0x6c], esp
mov ecx, esp
push eax
call fcn.0042dd10
lea eax, [ebx - 2]
mov byte [ebp - 4], 5
lea eax, [eax + eax*2]
sub esp, 0x14
shl eax, 4
lea edx, [ebp - 0x38]
add eax, esi
mov ecx, esp
push eax
call fcn.0042dd10
add esp, 4
mov byte [ebp - 4], 3
call fcn.00425d30
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x14], al
call fcn.00430270
push str.dm2.dat
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.0042db80
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x426818
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.0042ce80
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
cmp ebx, 3
jb 0x42693e
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
call edi
test eax, eax
je 0x42693e
lea eax, [ebx - 2]
mov dword [ebp - 0x94], 0xf
lea eax, [eax + eax*2]
mov dword [ebp - 0x98], 0
push 0xffffffffffffffff
shl eax, 4
lea ecx, [ebp - 0xa8]
add eax, esi
mov byte [ebp - 0xa8], 0
push 0
push eax
call fcn.0042c2b0
mov esi, dword [ebp - 0x94]
lea ecx, [ebp - 0xa8]
mov edi, dword [ebp - 0xa8]
cmp esi, 0x10
mov edx, dword [ebp - 0x98]
push 7
cmovae ecx, edi
push str.1.0.7.0
call fcn.0042b980
add esp, 8
test eax, eax
jne 0x426929
cmp esi, 0x10
jb 0x4268c8
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0xa8]
call fcn.0042ce80
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.dm2.dat
call fcn.0042a4c0
lea eax, [ebx + ebx*2]
mov byte [ebp - 4], 9
shl eax, 4
lea edx, [ebp - 0x38]
sub esp, 0x18
add eax, 0xffffffd0
add eax, dword [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.0042dd10
lea eax, [ebx - 3]
mov byte [ebp - 4], 0xa
lea eax, [eax + eax*2]
sub esp, 0x14
shl eax, 4
lea edx, [ebp - 0x38]
add eax, dword [ebp - 0x20]
mov ecx, esp
push eax
call fcn.0042dd10
add esp, 4
mov byte [ebp - 4], 8
call fcn.00425d30
mov bl, al
jmp 0x426941
cmp esi, 0x10
jb 0x42693e
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0xa8]
call fcn.0042ce80
mov bl, byte [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x426956
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0042ce80
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x42697d
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.0042ce80
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x4269a4
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0042ce80
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x20]
call fcn.0042b5a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret