Function at 0x424090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8d98
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x30], 0
xor eax, eax
mov word [ebp - 0x2c], ax
xor ecx, ecx
mov dword [ebp - 0x2a], ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov word [ebp - 0x1e], cx
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x1c]
call fcn.00412940
mov dword [ebp - 4], 0
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x14]
call fcn.00412940
mov byte [ebp - 4], 1
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x18]
call fcn.00412940
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x10], 2
jb 0x4241f4
push str..log
movzx ecx, word [ebp - 0x26]
push ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x40]
push edx
push str._s_s__d_01_s
lea eax, [ebp - 0x18]
push eax
call fcn.00413630
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.0040f490
push eax
call fcn.00496e66
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], 1
jmp 0x424181
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 2
jge 0x4241eb
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
push str..log
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
movzx ecx, word [ebp - 0x26]
push ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x40]
push edx
push str._s_s__d__02d_s
lea eax, [ebp - 0x14]
push eax
call fcn.00413630
add esp, 0x1c
lea ecx, [ebp - 0x18]
call fcn.0040f490
push eax
lea ecx, [ebp - 0x14]
call fcn.0040f490
push eax
call fcn.00496e33
add esp, 8
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00412a10
jmp 0x424178
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x10], edx
push str..log
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x10]
push edx
movzx eax, word [ebp - 0x26]
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x40]
push ecx
push str._s_s__d__02d_s
lea edx, [ebp - 0x14]
push edx
call fcn.00413630
add esp, 0x1c
mov ecx, dword [ebp - 0x80]
call fcn.00424020
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424263
lea ecx, [ebp - 0x14]
call fcn.0040f490
push eax
call fcn.00496e66
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x80]
add edx, 0x44
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
xor eax, eax
cmp dword [edx + 0xc], 1
setg al
movzx ecx, al
test ecx, ecx
je 0x424299
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00412fc0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov dword [ebp - 0x60], edx
lea ecx, [ebp - 0x14]
call fcn.0040f490
push eax
mov eax, dword [ebp - 0x60]
push eax
call fcn.00496e33
add esp, 8
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x80]
add ecx, 0x44
call fcn.00425740
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00425740
cmp dword [ebp - 0x38], 0
je 0x4242eb
push 0
mov ecx, dword [ebp - 0x80]
call fcn.00423f00
jmp 0x4242f5
push 1
mov ecx, dword [ebp - 0x80]
call fcn.00423f00
xor ecx, ecx
cmp dword [ebp - 0x38], 0
sete cl
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004129d0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret