Function at 0x405600
Capabilities:
Check if file exists
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x67432c]
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.004029a0
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x405675
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x405675
push 0xffffffffffffffff
push 0
push eax
call fcn.004029a0
call fcn.00452551
test al, al
je 0x40569a
enter 0xa03, 0x64
pop esi
pop edx
enter 0x57a5, 0x4e
imul esi, dword [esi], 0x2a
xor ebp, 0x1d10935c
test esi, ebx
cmp ch, byte [ecx - 0x314476ba]
loope 0x40561e
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
jge 0x4056ed
or byte [ebp + 0x430f3c45], cl
inc ebp
cmp al, 0x50
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405877
lea eax, [ebp + 0xc]
push eax
call fcn.0045b93c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004568a1
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 ebp
fmul dword [ebp + 0x7d83c045]
cmp byte [eax], cl
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.00452077
test al, al
je 0x405756
jecxz 0x4056df
mov eax, 0xc2463f28
sub bx, word [ecx - 0x6e]
mov dword [0x7cab31c7], eax
das
jl 0x405776
push 0x6c466913
xor al, 0xbd
pop edi
sub edi, esp
jle 0x405745
add cl, byte [ebx - 0x324e172f]
add cl, byte [ebx - 0x324e172f]
call fcn.0045250c
add al, 0
test al, al
je 0x405781
lahf
push 0xdd63
pop ebp
xor dword [eax - 0xa278a60], edx
and al, 0xdf
mov esi, 0x5d215883
push esi
sbb byte [0x5e2cdfef], bl
fild qword [esi + ebx*2]
jns 0x405752
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00404060
lea eax, [ebp - 0x58]
push eax
call fcn.0045413c
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.00483f7c
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00405e40
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 0x4057fb
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 0x405825
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402c10
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x40583a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402c10
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 0x405863
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402c10
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 0x40588c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402c10
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 0x4058b1
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00402c10
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 0x4058da
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.00402c10
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 0x405903
inc eax
lea ecx, [ebp + 0x3c]
push eax
push dword [ebp + 0x3c]
call fcn.00402c10
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.0046d802
mov esp, ebp
pop ebp
ret 0x4c