Function at 0x47aff4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ebx, ecx
mov edi, str.countdownlist
push ecx
mov ecx, esp
push edi
lea esi, [ebx + 0x2c0]
call fcn.004177e7
push ecx
mov eax, esp
push str.countdown.xml
push 0x735a84
push eax
call fcn.004227e4
add esp, 0xc
mov ecx, esi
call fcn.004a6e35
lea ecx, [ebx + 0x2c4]
push edi
call fcn.004195af
mov ecx, esi
call fcn.004ea664
mov ecx, dword [ebx + 0x2cc]
test ecx, ecx
je 0x47b2f8
lea eax, [ebp - 0x1c]
push eax
call fcn.0049de55
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x47b2f8
mov ecx, edi
call fcn.0049dec0
xor esi, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], esi
test eax, eax
jle 0x47b26f
call fcn.00418f81
push eax
lea ecx, [ebp - 0x18]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 0x14]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 0x10]
call fcn.0041775d
push esi
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.0049de89
push ecx
mov ecx, esp
push 0x68b570
call fcn.004177e7
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004355b4
lea eax, [ebp - 0x20]
lea esi, [ebx + 0x2c0]
push eax
mov ecx, esi
call fcn.0048af36
push eax
lea ecx, [ebp - 0x18]
call fcn.00418bac
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00419521
push ecx
mov ecx, esp
push str.countdowntext
call fcn.004177e7
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004355b4
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0048af36
push eax
lea ecx, [ebp - 0x14]
call fcn.00418bac
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00419521
push ecx
mov ecx, esp
push str.countdowntime
call fcn.004177e7
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004355b4
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0048af36
push eax
lea ecx, [ebp - 0x10]
call fcn.00418bac
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00419521
push ecx
mov ecx, esp
push str.countdowntype
call fcn.004177e7
push ecx
mov ecx, esp
lea eax, [ebp - 8]
push eax
call fcn.004355b4
mov ecx, esi
call fcn.0047fab3
push ecx
mov ecx, esp
mov esi, eax
push str.haveremind
call fcn.004177e7
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004355b4
lea ecx, [ebx + 0x2c0]
call fcn.0047fab3
push ecx
test eax, eax
mov ecx, esp
push str.allday
setne byte [ebp - 0x30]
call fcn.004177e7
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004355b4
lea ecx, [ebx + 0x2c0]
call fcn.0047fab3
test eax, eax
mov eax, dword [ebp - 0xc]
setne byte [ebp - 0x2c]
and eax, 0x80000001
jns 0x47b1e5
dec eax
or eax, 0xfffffffe
inc eax
push eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x30]
add eax, 0xfffffff0
push esi
push ecx
mov esi, esp
mov dword [ebp - 0x34], eax
push eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x38], eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x3c], eax
call fcn.00418dea
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0044f8f6
mov eax, dword [ebp - 8]
test eax, eax
je 0x47b245
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x34]
call fcn.00419521
mov ecx, dword [ebp - 0x38]
call fcn.00419521
mov ecx, dword [ebp - 0x3c]
call fcn.00419521
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, eax
jl 0x47b07c
and dword [ebp - 0x40], 0
inc eax
mov byte [ebp - 1], 0
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x47b2d6
mov edi, dword [ebp - 0x40]
call fcn.00418f81
push eax
lea ecx, [ebp - 0x18]
call fcn.0041775d
xor byte [ebp - 1], 1
push 0
pop eax
sete al
push eax
lea eax, [ebp - 0x18]
push str.IDB_countdown_bg_d
push eax
call fcn.0041a1e9
mov ecx, dword [ebx + 0x338]
add esp, 0xc
mov eax, dword [ecx]
push edi
call dword [eax]
mov esi, dword [ebp - 0x18]
mov ecx, eax
push esi
mov edx, dword [eax]
call dword [edx + 0x84]
lea ecx, [esi - 0x10]
call fcn.00419521
inc edi
cmp edi, dword [ebp - 0x3c]
jl 0x47b282
mov edi, dword [ebp - 0x1c]
push 0
push 0x3e8
push 0x1fd
push dword [ebx + 4]
call dword [0x73541c]
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004003
call fcn.006080a0
int3