Function at 0x414290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432e09
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x442310]
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
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [esi + 0x14], 0x10
jb 0x4142f0
mov esi, dword [esi]
movzx eax, word [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x46]
push eax
movzx eax, word [ebp - 0x48]
push eax
movzx eax, word [ebp - 0x4a]
push eax
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x50]
push eax
push esi
lea eax, [ebp - 0x40]
push str._s__04lu__02lu__02lu__02lu__02lu__02lu
push eax
call fcn.0040d280
add esp, 0x24
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 1
mov byte [edi], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], 1
cmp dword [eax + 0x14], 0x10
jb 0x41434c
mov ecx, dword [eax]
jmp 0x41434e
mov ecx, eax
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebx + 0x14], 0x10
jb 0x414363
mov edx, dword [ebx]
jmp 0x414365
mov edx, ebx
push ecx
push eax
push edx
lea eax, [ebp - 0x74]
push str._s_s._s
push eax
call fcn.0040d280
mov esi, eax
add esp, 0x14
cmp edi, esi
je 0x4143a8
cmp dword [edi + 0x14], 0x10
jb 0x41438f
push dword [edi]
call fcn.0040f3b0
add esp, 4
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push esi
mov byte [edi], 0
call fcn.00407c30
cmp dword [ebp - 0x60], 0x10
jb 0x4143b9
push dword [ebp - 0x74]
call fcn.0040f3b0
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], bl
call fcn.00401f00
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00401dd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41454e
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x74]
push str._s__lu_
push eax
call fcn.0040d280
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x41447f
cmp dword [ebp - 0x14], 0x10
jb 0x414429
push dword [ebp - 0x28]
call fcn.0040f3b0
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [esi + 0x14], 0x10
jae 0x414457
mov eax, dword [esi + 0x10]
inc eax
je 0x414462
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0041c810
add esp, 0xc
jmp 0x414462
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x60], 0x10
jb 0x414490
push dword [ebp - 0x74]
call fcn.0040f3b0
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ecx, dword [ebp - 0x54]
cmovae esi, dword [ebp - 0x28]
call fcn.00401dd0
mov ecx, dword [ebp - 0x58]
push eax
push esi
call fcn.00401dd0
push eax
lea eax, [ebp - 0x74]
push str._s_s._s
push eax
call fcn.0040d280
mov esi, eax
add esp, 0x14
cmp edi, esi
je 0x414526
cmp dword [edi + 0x14], 0x10
jb 0x4144d5
push dword [edi]
call fcn.0040f3b0
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x4144ff
mov eax, dword [esi + 0x10]
inc eax
je 0x414509
push eax
push esi
push edi
call fcn.0041c810
add esp, 0xc
jmp 0x414509
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x60], 0x10
jb 0x414537
push dword [ebp - 0x74]
call fcn.0040f3b0
add esp, 4
mov ecx, edi
inc ebx
call fcn.00401dd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4143f1
cmp dword [ebp - 0x14], 0x10
jb 0x41455f
push dword [ebp - 0x28]
call fcn.0040f3b0
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x414582
push dword [ebp - 0x40]
call fcn.0040f3b0
add esp, 4
mov eax, edi
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.0041d103
mov esp, ebp
pop ebp
ret