Function at 0x4c071f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
inc eax
push eax
push ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push 0x6bfc20
call fcn.004177e7
mov ecx, 0x736918
call fcn.004ef41e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], 0
mov dword [ebp - 0xc], esi
je 0x4c09bf
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.004b57d7
pop ecx
push eax
mov ecx, ebx
call fcn.0047a3ff
test eax, eax
je 0x4c09bf
lea ebx, [eax + 8]
push str.card_worldclock_set
mov ecx, ebx
mov dword [ebp - 0x10], ebx
call fcn.005d83b1
test eax, eax
je 0x4c07c3
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x180]
push str.card_worldclock_add_ok
mov ecx, ebx
call fcn.005d83b1
xor edi, edi
inc edi
test eax, eax
je 0x4c07e1
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 0x180]
push str.card_worldclock_add_cancle
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c07fd
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x180]
push str.card_worldclock_type_number
mov ecx, ebx
mov byte [ebp + 8], 0
call fcn.005d83b1
test eax, eax
je 0x4c0829
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x3b0]
mov ecx, dword [ebp + 8]
test al, al
movzx ecx, cl
cmovne ecx, edi
mov dword [ebp + 8], ecx
push str.card_worldclock_typever
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c0844
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 0x180]
push str.card_worldclock_list
mov ecx, ebx
call fcn.005d83b1
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4c0920
lea ecx, [eax - 8]
mov eax, dword [ecx]
mov dword [ebp - 8], ecx
call dword [eax + 0xc]
xor edi, edi
mov dword [ebp - 4], eax
test eax, eax
je 0x4c08b1
mov esi, dword [ebp - 8]
mov ebx, eax
mov edx, dword [esi]
mov ecx, esi
push edi
call dword [edx]
test eax, eax
je 0x4c0884
lea ecx, [eax - 8]
jmp 0x4c0886
xor ecx, ecx
push str.card_worldclock_item_del
add ecx, 8
call fcn.005d83b1
test eax, eax
je 0x4c08a3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
inc edi
cmp edi, ebx
jb 0x4c0874
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
push ecx
push ecx
divsd xmm0, qword [0x6c26c0]
movsd qword [esp], xmm0
call fcn.00641eb0
cmp byte [ebp + 8], 0
mov eax, 0x91
pop ecx
pop ecx
push 0x5f
pop ecx
cmovne eax, ecx
mov ecx, dword [ebp - 0x18]
movd xmm0, eax
mov eax, dword [ecx]
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fmul qword [ebp - 0x14]
fstp qword [ebp - 0x14]
cvttsd2si edi, qword [ebp - 0x14]
push edi
call dword [eax + 0xf8]
push str.card_worldclock
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c0920
mov edx, dword [eax]
lea ecx, [edi + 0x48]
push ecx
mov ecx, eax
call dword [edx + 0xf8]
push str.card_worldclock_add_ver
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c093c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x16c]
push ecx
mov edi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.004b57d7
mov edi, eax
mov eax, dword [0x736808]
sub eax, dword [0x736804]
pop ecx
push 0x60
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x4c0988
push edi
push eax
push 0x478541
call fcn.006423a8
add esp, 0xc
jmp 0x4c09bf
push 0x6bfaa0
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c099d
lea ecx, [eax - 8]
jmp 0x4c099f
xor ecx, ecx
test ecx, ecx
je 0x4c09bf
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x4c09bf
push edi
push eax
push 0x57a
push dword [0x735624]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esi - 0x10]
call fcn.00419521
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc