Function at 0x404ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3a60
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x630198]
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 esi, ecx
xor ecx, ecx
mov dword [ebp - 4], 2
push 0xffffffffffffffff
push ecx
lea eax, [esi + 4]
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00401ff0
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x404d15
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x404d15
push 0xffffffffffffffff
push 0
push eax
call fcn.00401ff0
call fcn.00426614
test al, al
je 0x404d3a
mov byte [0xc2171994], al
scasd eax, dword es:[edi]
jo 0x404d4a
int1
invalid
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404f17
pop edx
add byte [ebp - 0x3c7bf040], al
add dword [eax], eax
add byte [ebp - 0x17aff3bb], cl
mov bh, 0x5b
add al, byte [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.0042a914
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00429f00
add esp, 0xc
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp + 0x24]
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp + 0x38], 8
push edx
cmovae ecx, dword [ebp + 0x24]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push str.LastUpdTimeStamp
push eax
mov byte [ebp - 4], 4
call edi
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp + 0x3c]
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp + 0x50], 8
push edx
cmovae ecx, dword [ebp + 0x3c]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push str.File
push eax
call edi
call fcn.0042613a
test al, al
je 0x404df6
cmp dword [esi], edx
into
pop edi
push 0xffffffffffffff93
mov ebp, 0xb15c38ec
xor al, 0xa
imul esp, dword [edi - 0x5b55ca8f], 0xffffff89
mov edx, 0xaadcf72
test al, 0xb0
xchg ebp, eax
mov dword [0xe89479cb], eax
aam 0x17
add al, byte [eax]
call fcn.004265cf
test al, al
je 0x404e21
push esi
mov gs, word [ebx - 0xba243ee]
cmpsb byte [esi], byte es:[edi]
cwde
inc byte [eax - 0x67]
bound ebx, qword [esi + 0x6e4c1b12]
mov cl, 0xfb
les eax, [esp + ebx + 0x73]
insd dword es:[edi], dx
retf 0x8b03
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403700
lea eax, [ebp - 0x58]
push eax
call fcn.00427d68
add esp, 0x1c
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
cmovae edx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push edx
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push str.LastMD5
push eax
call edi
push 0
call fcn.0044b407
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004054e0
add esp, 0xc
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, eax
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x404e9b
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
push ecx
push str.CacheTime
push eax
call edi
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x404ec5
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402260
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x404eda
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402260
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x404f03
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402260
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404f2c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402260
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x404f51
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00402260
xor eax, eax
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
cmp eax, 8
jb 0x404f7a
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.00402260
xor eax, eax
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x34], 0
cmp eax, 8
jb 0x404fa3
inc eax
lea ecx, [ebp + 0x3c]
push eax
push dword [ebp + 0x3c]
call fcn.00402260
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.0043c551
mov esp, ebp
pop ebp
ret 0x4c