Function at 0x4d3880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push ecx
mov esi, ecx
mov ecx, esp
push 0x6809b0
mov dword [ebp - 0x28], esi
call fcn.004177e7
push ecx
mov ecx, esp
push 0x6b7c20
call fcn.004177e7
mov ecx, 0x736918
call fcn.004ef41e
mov byte [ebp - 0x21], 0
call fcn.00418f81
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 0x40]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 0x50]
call fcn.0041775d
lea ebx, [esi + 0x20]
push str.time_countdown_allday
mov ecx, ebx
mov dword [ebp - 0x54], ebx
call fcn.005cfc5e
push str.time_countdown_date_year
mov ecx, ebx
mov dword [ebp - 0x34], eax
call fcn.005cfc5e
test eax, eax
je 0x4d391c
lea edi, [eax - 8]
mov dword [ebp - 0x18], edi
jmp 0x4d3920
and dword [ebp - 0x18], 0
push str.time_countdown_date_month
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d3938
lea edi, [eax - 8]
mov dword [ebp - 0x38], edi
jmp 0x4d393c
and dword [ebp - 0x38], 0
push str.time_countdown_date_day
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d3954
lea edi, [eax - 8]
mov dword [ebp - 0x3c], edi
jmp 0x4d3958
and dword [ebp - 0x3c], 0
push str.time_countdown_date_hour
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d396d
lea edi, [eax - 8]
jmp 0x4d396f
xor edi, edi
push str.time_countdown_date_minute
mov ecx, ebx
mov dword [ebp - 0x44], edi
call fcn.005cfc5e
test eax, eax
je 0x4d398a
add eax, 0xfffffff8
mov dword [ebp - 0x2c], eax
jmp 0x4d398e
and dword [ebp - 0x2c], 0
push str.time_countdown_date_second
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d39a6
add eax, 0xfffffff8
mov dword [ebp - 0x30], eax
jmp 0x4d39aa
and dword [ebp - 0x30], 0
push str.time_countdown_date_text
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d39bf
lea ecx, [eax - 8]
jmp 0x4d39c1
xor ecx, ecx
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [esi + 0x338], 0
mov dword [ebp - 0x1c], ecx
je 0x4d39f6
push str.time_countdown_list
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d39eb
add eax, 0xfffffff8
jmp 0x4d39ed
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x338], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4d3fd3
cmp dword [ebp - 0x38], 0
je 0x4d3fd3
cmp dword [ebp - 0x3c], 0
je 0x4d3fd3
test edi, edi
je 0x4d3fd3
cmp dword [ebp - 0x2c], 0
je 0x4d3fd3
cmp dword [ebp - 0x30], 0
je 0x4d3fd3
test ecx, ecx
je 0x4d3fd3
cmp dword [esi + 0x338], 0
je 0x4d3fd3
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4d3a5b
mov eax, dword [ecx]
call dword [eax + 0x3b0]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x368]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x38]
add ecx, 0x368
lea esi, [eax + 0x7de]
mov dword [ebp - 0x34], esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x368
lea edi, [eax + 1]
mov dword [ebp - 0x38], edi
mov edx, dword [ecx]
call dword [edx + 4]
inc eax
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0x21]
test al, al
je 0x4d3aa2
and dword [ebp - 0x3c], 0
jmp 0x4d3ab6
mov ecx, dword [ebp - 0x44]
add ecx, 0x368
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov al, byte [ebp - 0x21]
test al, al
je 0x4d3ac0
and dword [ebp - 0x2c], 0
jmp 0x4d3ad4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x368
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 0x21]
test al, al
je 0x4d3ade
and dword [ebp - 0x30], 0
jmp 0x4d3aef
mov ecx, dword [ebp - 0x30]
add ecx, 0x368
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x8c]
call fcn.00440206
lea ecx, [ebp - 0xb8]
call fcn.00440206
cmp byte [ebp - 0x21], 0
je 0x4d3b3c
push 3
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00503372
push 0xb
pop ecx
mov esi, eax
lea edi, [ebp - 0x8c]
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
jmp 0x4d3b4a
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
push edi
push esi
lea ecx, [ebp - 0xe4]
call fcn.0043fad4
push 0xb
pop ecx
push 6
sub esp, 0x2c
lea edi, [ebp - 0xb8]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
push 0xb
pop ecx
mov edi, esp
lea esi, [ebp - 0x8c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xb8]
call fcn.00461ecb
fstp qword [ebp - 0x48]
xorps xmm0, xmm0
comisd xmm0, xmmword [ebp - 0x48]
jae 0x4d3fd3
lea eax, [ebp - 0x14]
push eax
call dword [0x6801e4]
cmp byte [ebp - 0x21], 0
lea eax, [ebp - 0x40]
mov esi, str._d__02d__02d__02d:_02d:_02d
je 0x4d3bc1
push dword [ebp - 0x18]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push str._d__02d__02d
push eax
call fcn.0041a1e9
add esp, 0x14
jmp 0x4d3bdd
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push esi
push eax
call fcn.0041a1e9
add esp, 0x20
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.004195af
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.0041a1e9
mov esi, dword [ebp - 0x28]
add esp, 0x20
mov ecx, dword [esi + 0x338]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [esi + 0x33c], 0
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
jl 0x4d3e52
push str.time_countdown_list
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d3c4f
lea ecx, [eax - 8]
jmp 0x4d3c51
xor ecx, ecx
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4d3ef1
mov eax, dword [ecx]
push dword [esi + 0x33c]
call dword [eax]
mov ecx, dword [esi + 0x33c]
mov dword [ebp - 0x1c], eax
inc ecx
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], eax
je 0x4d3ef1
test eax, eax
je 0x4d3ef1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
mov ebx, eax
mov ecx, esp
push 0x68c4fc
mov dword [ebp - 0x2c], ebx
call fcn.004177e7
push ecx
mov esi, esp
push ebx
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x60]
pop ecx
push eax
call fcn.0051413f
add esp, 0xc
lea ecx, [ebp - 0x60]
push 0
call fcn.0044c702
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
mov ebx, dword [ebp - 0x18]
pop ecx
push dword [ebp - 0x44]
mov ecx, ebx
mov dword [ebp - 0x30], eax
mov edx, dword [ebx]
call dword [edx + 0x18]
mov edx, dword [ebx]
mov ecx, ebx
push 0
call dword [edx + 0xb4]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [ebp - 0x1c]
push esi
call dword [edx + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0xb4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x33c]
inc eax
mov dword [ebp - 0x34], eax
and eax, 0x80000001
jns 0x4d3d3a
dec eax
or eax, 0xfffffffe
inc eax
push eax
push dword [ebp - 0x21]
mov eax, dword [ebp - 0x40]
push 0
push 1
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x1c], eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x44], eax
call fcn.00418dea
add eax, 0x10
lea ebx, [edi - 0x10]
mov dword [esi], eax
mov esi, esp
push ebx
call fcn.00418dea
pop ecx
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [esi], eax
call fcn.0044f8f6
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
sub eax, 2
push eax
call dword [esi]
mov esi, eax
mov eax, dword [ebp - 0x18]
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xb4]
mov eax, dword [ebp - 0x18]
mov ecx, eax
push esi
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov eax, dword [ebp - 0x28]
push dword [eax + 0x33c]
push esi
mov esi, dword [ebp - 0x18]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0xb4]
push dword [ebp - 0x21]
mov eax, dword [ebp - 0x28]
push 0
push 1
push ecx
or dword [eax + 0x33c], 0xffffffff
mov esi, esp
push dword [ebp - 0x1c]
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
push dword [ebp - 0x44]
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
push ebx
call fcn.00418dea
add eax, 0x10
mov ebx, dword [ebp - 0x30]
mov dword [esi], eax
mov esi, esp
push ebx
call fcn.00418dea
pop ecx
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx + 0x2c0]
call fcn.004b3487
mov ecx, ebx
call fcn.00419521
lea ecx, [ebp - 0x60]
call fcn.004e8a9c
mov ecx, dword [ebp - 0x2c]
call fcn.00419521
jmp 0x4d3eee
and eax, 0x80000001
jns 0x4d3e5e
dec eax
or eax, 0xfffffffe
inc eax
push eax
push dword [ebp - 0x21]
mov eax, dword [ebp - 0x40]
push 0
push 1
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x1c], eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x44], eax
call fcn.00418dea
add eax, 0x10
lea ebx, [edi - 0x10]
mov dword [esi], eax
mov esi, esp
push ebx
call fcn.00418dea
pop ecx
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [esi], eax
call fcn.0044f8f6
push dword [ebp - 0x21]
push 0
push 1
push ecx
mov esi, esp
push dword [ebp - 0x1c]
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
push dword [ebp - 0x44]
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
push ebx
call fcn.00418dea
pop ecx
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx + 0x2c0]
call fcn.0045f7e3
mov ebx, dword [ebp - 0x54]
push str.time_countdown_date_text
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d3f0d
mov edx, dword [eax]
mov ecx, eax
push 0x6b7ba4
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x34]
and dword [ebp - 0x1c], 0
inc eax
mov byte [ebp - 0x1d], 0
test eax, eax
jle 0x4d3f7d
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x1c]
call fcn.00418f81
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041775d
xor byte [ebp - 0x1d], 1
push 0
pop eax
sete al
push eax
lea eax, [ebp - 0x1c]
push str.IDB_countdown_bg_d
push eax
call fcn.0041a1e9
mov ecx, dword [edi + 0x338]
add esp, 0xc
mov eax, dword [ecx]
push ebx
call dword [eax]
mov esi, dword [ebp - 0x1c]
mov ecx, eax
push esi
mov edx, dword [eax]
call dword [edx + 0x84]
lea ecx, [esi - 0x10]
call fcn.00419521
mov eax, dword [ebp - 0x34]
inc ebx
inc eax
cmp ebx, eax
jl 0x4d3f23
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
push str.time_countdown_add
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d3f99
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
push str.addlist_time
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d3fb5
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x180]
push str.addlist_date
mov ecx, ebx
call fcn.005cfc5e
test eax, eax
je 0x4d3fd6
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x180]
jmp 0x4d3fd6
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 0xc